[jedit:plugin-bugs] #1938 Exception in ProjectViewer
Ronald via jEdit-devel <[email protected]> Sat, 04 Apr 2026 09:22:54 -0000
| Newsgroups | gmane.editors.jedit.devel |
|---|---|
| Message-ID | </p/jedit/plugin-bugs/1938/0051cf177350f3cc25afbd692658eb8e6e8c2840.plugin-bugs@jedit.p.sourceforge.net> |
This is a multi-part message in MIME format. --===============0247343994523145008== Content-Type: multipart/related; boundary="===============1984718998607705618==" This is a multi-part message in MIME format. --===============1984718998607705618== Content-Type: multipart/alternative; boundary="===============4458270356425413462==" MIME-Version: 1.0 --===============4458270356425413462== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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? --- **[plugin-bugs:#1938] Exception in ProjectViewer** **Status:** open **Group:** **Created:** Thu Apr 02, 2026 01:13 PM UTC by Ronald **Last Updated:** Thu Apr 02, 2026 01:49 PM UTC **Owner:** nobody **Attachments:** - [Screenshot 2026-04-02 at 15.12.35.png](https://sourceforge.net/p/jedit/plugin-bugs/1938/attachment/Screenshot%202026-04-02%20at%2015.12.35.png) (154.7 kB; image/png) 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) --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/jedit/plugin-bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/plugin-bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. --===============4458270356425413462== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit <div class="markdown_content"><p>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?</p> <hr/> <p><strong><a class="alink" href="https://sourceforge.net/p/jedit/plugin-bugs/1938/">[plugin-bugs:#1938]</a> Exception in ProjectViewer</strong></p> <p><strong>Status:</strong> open<br/> <strong>Group:</strong> <br/> <strong>Created:</strong> Thu Apr 02, 2026 01:13 PM UTC by Ronald<br/> <strong>Last Updated:</strong> Thu Apr 02, 2026 01:49 PM UTC<br/> <strong>Owner:</strong> nobody<br/> <strong>Attachments:</strong></p> <ul> <li><a href="https://sourceforge.net/p/jedit/plugin-bugs/1938/attachment/Screenshot%202026-04-02%20at%2015.12.35.png">Screenshot 2026-04-02 at 15.12.35.png</a> (sourceforge.net) (154.7 kB; image/png)</li> </ul> <p>This is related to #1397 (same setup, but different error):</p> <p>I have manually entered the project root for my Project, and have clicked on "Open Project Viewer Dockable". </p> <p>The title bar of jedit tells me the name of my project.</p> <p>Clicking on "File Browser" shows me however the root directory of the file system, not my project directory.</p> <p>The status bar of jedit shows me the following error message</p> <p>java.lang.NullPointerException: Cannot invoke "projectviewer.ProjectViewer.getTreePanel()" because the return value of "projectviewer.ProjectViewer.getViewer(org.gjt.sp.jedit.View)" is null<br/> at projectviewer.ProjectManager$VCSStateLoader.<init>(ProjectManager.java:761)<br/> at projectviewer.ProjectManager.updateVCSStatus(ProjectManager.java:461)<br/> at projectviewer.importer.Importer._run(Importer.java:564)<br/> at org.gjt.sp.util.Task.run(Task.java:65)<br/> at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090)<br/> at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614)<br/> at java.base/java.lang.Thread.run(Thread.java:1474)</init></p> <hr/> <p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/jedit/plugin-bugs/">https://sourceforge.net/p/jedit/plugin-bugs/</a></p> <p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/jedit/admin/plugin-bugs/options.">https://sourceforge.net/p/jedit/admin/plugin-bugs/options.</a> Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div> --===============4458270356425413462==-- --===============1984718998607705618==-- --===============0247343994523145008== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============0247343994523145008== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ----------------------------------------------- jEdit Developers' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-devel --===============0247343994523145008==--