[jedit:plugin-bugs] #1938 Exception in ProjectViewer
Ronald via jEdit-devel <[email protected]> Thu, 02 Apr 2026 13:14:48 -0000
| Newsgroups | gmane.editors.jedit.devel |
|---|---|
| Message-ID | </p/jedit/plugin-bugs/1938/46adff68cf9bac57b2d6134dbfe210e09368783f.plugin-bugs@jedit.p.sourceforge.net> |
This is a multi-part message in MIME format. --===============7203798611436115808== Content-Type: multipart/related; boundary="===============6103233064476052516==" This is a multi-part message in MIME format. --===============6103233064476052516== Content-Type: multipart/alternative; boundary="===============5462841161382864961==" MIME-Version: 1.0 --===============5462841161382864961== MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Jedit window with the project open. We can see on the left that the root directory is shown. Attachments: - [Screenshot 2026-04-02 at 15.11.50.png](https://sourceforge.net/p/jedit/plugin-bugs/_discuss/thread/1cbbea6adc/465b/attachment/Screenshot%202026-04-02%20at%2015.11.50.png) (515.5 kB; image/png) --- **[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:13 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. --===============5462841161382864961== MIME-Version: 1.0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit <div class="markdown_content"><p>Jedit window with the project open. We can see on the left that the root directory is shown.</p> <p>Attachments:</p> <ul> <li><a href="https://sourceforge.net/p/jedit/plugin-bugs/_discuss/thread/1cbbea6adc/465b/attachment/Screenshot%202026-04-02%20at%2015.11.50.png">Screenshot 2026-04-02 at 15.11.50.png</a> (sourceforge.net) (515.5 kB; image/png)</li> </ul> <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:13 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> --===============5462841161382864961==-- --===============6103233064476052516==-- --===============7203798611436115808== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7203798611436115808== 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 --===============7203798611436115808==--