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.
When I open any JSP page from Netbeans I get this error Annotation: Exception occurred in Request Processor java.lang.NullPointerException at org.netbeans.modules.web.jspparser.JspParserImpl.analyzePage(JspParserImpl.java:130) at org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run(TagLibParseSupport.java:275) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686) Please find the messages.log file attached. Also see issue 55194. They might be related.
Created attachment 20422 [details] message.log file to see the exceptions thrown
I installed Visual Paradigm plugin for netbeans a few days before. I dont remember if the problem existed before i installed the plugin though.
Was it random bug or is it reproducible? Does it happen sometimes or did it happen only once? Could you please try it with clean userdir? (just backup your userdir and delete it temporarily) Thanks!
It happens on these occassions everytime: 1. When I open a new JSP file. 2. When I open the IDE and the JSP file was in focus when I closed the IDE previously. I did delete the c:\document...\username\.netbeans directory and restarted Netbeans, but the problem seems to persist. I opened a JSP and the error popped up again.
Created attachment 20477 [details] Please find the new messages.log file attached
Petre, could you please take a look at line 275 in TagLibParseSupport.java ? After all this is NPE ... Would it help if setdosa would attach his/her JSP/TLD here ? It simply works fine for me too.
I committed small fix for this issue - it only checks, whether the proxy for web module was created and if wasn't, then the page is not parsed. The check solve the NPE, but doesn't solve the problem. The problem is not in the NPE exception. The primary reason is, that you have two common-logging.jar on classpath. One comes with the netbeans and one maybe with the new module which setdosa installed. The message from log: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. This doesn't allow to jsp parser be initialized. I think, that problem is in the Visual Paradigm plugin , which doesn't use the log from netbeans. Where can I download the plugin? I want to try it and be sure, that I'm right. So for now, I closed the issue as fixed, but if I'm right, then the Visual Paradimg plugin should be fixed as well. It can bring more problems with this.