This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build 200406271800 1) Open an existing Web ant project (created and closed) 2) Open (double click) a JSP 3) NPE -- see attachment
Created attachment 16045 [details] NullPointerException
In fact you have to restart the IDE to get this exception. The problem was not in JSP but in reading project.xml (reading is done lazilly and was triggered by JSP editor trying to access informaiotn about web module). Empty context-path tag was causing the NPE.
Verified.
*** Issue 45391 has been marked as a duplicate of this issue. ***