This is related to #1397 (same setup, but different error):
I have manually entered the project root for my Project, and have clicked on "Open Project Viewer Dockable".
The title bar of jedit tells me the name of my project.
Clicking on "File Browser" shows me however the root directory of the file system, not my project directory.
The status bar of jedit shows me the following error message
java.lang.NullPointerException: Cannot invoke "projectviewer.ProjectViewer.getTreePanel()" because the return value of "projectviewer.ProjectViewer.getViewer(org.gjt.sp.jedit.View)" is null
at projectviewer.ProjectManager$VCSStateLoader.<init>(ProjectManager.java:761)
at projectviewer.ProjectManager.updateVCSStatus(ProjectManager.java:461)
at projectviewer.importer.Importer._run(Importer.java:564)
at org.gjt.sp.util.Task.run(Task.java:65)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)
at java.base/java.lang.Thread.run(Thread.java:1474)</init>
Jedit window with the project open. We can see on the left that the root directory is shown.
Is the ProjectViewer docked or floating? Regardless,
I can't reproduce. How did you invoke the file browser? A menu action or a keyboard shortcut?
There is a context menu item called "Show in VFS Browser" when you right-click tree nodes in the ProjectViewer that brings me to the right place.
I think it is docked, because in the screenshot, you see that there is a tiny tab "Project Viewer" on the left of the edit area, and no other window is floating around. Also, as I wrote, I had clicked on "Open Project Viewer Dockable", so I guess it means that the viewer should be docked. How else can I check this?