[jedit:plugin-bugs] #1938 Exception in ProjectViewer

Alan Ezust via jEdit-devel <[email protected]> Thu, 02 Apr 2026 13:49:15 -0000
Newsgroups gmane.editors.jedit.devel
Message-ID </p/jedit/plugin-bugs/1938/a82f82ba775a8301d633a0695c5714f7fff0d88b.plugin-bugs@jedit.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============0662826789113137430==
Content-Type: multipart/related; boundary="===============1175291693324477569=="

This is a multi-part message in MIME format.
--===============1175291693324477569==
Content-Type: multipart/alternative; boundary="===============1030111196669976644=="
MIME-Version: 1.0

--===============1030111196669976644==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

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. 



---

**[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:14 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.
--===============1030111196669976644==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><p>Is the ProjectViewer docked or floating?  Regardless,<br/>
I can't reproduce. How did you invoke the file browser? A menu action or a keyboard shortcut?</p>
<p>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. </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:14 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.&lt;init&gt;(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)&lt;/init&gt;</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>
--===============1030111196669976644==--

--===============1175291693324477569==--


--===============0662826789113137430==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============0662826789113137430==
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

--===============0662826789113137430==--