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.
Summary: | NullPointerException at org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run | ||
---|---|---|---|
Product: | javaee | Reporter: | Vladimir Riha <vriha> |
Component: | JSP Parser | Assignee: | Marek Fukala <mfukala> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | mmirilovic |
Priority: | P1 | Keywords: | JDK_SPECIFIC |
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 203612 |
Attachments: |
stacktrace
file to reproduce the issue |
Description
Vladimir Riha
2013-09-05 15:17:00 UTC
Created attachment 139712 [details]
stacktrace
removing users from cc from the very old issue 129498 Created attachment 139714 [details]
file to reproduce the issue
Simple open Java Web project with this JSP and either open JSP in editor or modify it and save.
It seems to happen only with JDK7u40 and 7.3.1. The same JDK on 1 latest trunk build works fine. JDK7u25 and 7.3.1 also works fine.
Some observations:
- the error in JSP file is not red underlined
- if I try to compile this JSP file, I got another issue 235568. I've tried the same with differently corrupted JSP file, result is the same
A consequence of: SEVERE [global] java.lang.NullPointerException at org.openide.util.Exceptions$AnnException.getMessage(Exceptions.java:238) at org.openide.util.Exceptions$AnnException.toString(Exceptions.java:321) at java.util.Objects.toString(Objects.java:157) at java.lang.Throwable.initCause(Throwable.java:456) at org.openide.util.Exceptions$AnnException.findOrCreate0(Exceptions.java:279) at org.openide.util.Exceptions$AnnException.findOrCreate(Exceptions.java:256) at org.openide.util.Exceptions.attachLocalizedMessage(Exceptions.java:99) at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$1.setResult(WebAppParseSupport.java:542) [catch] at org.netbeans.modules.web.jspparser_ext.WebAppParseSupport$1.run(WebAppParseSupport.java:568) BTW, why is this P1? Moreover if you say it is not reproducible in >7.3.1, why not closed as fixed then? The source issue is duplicate of already fixed issue 233602 - NPE in Exceptions.printStackTrace, closing then. *** This bug has been marked as a duplicate of bug 233602 *** (In reply to Marek Fukala from comment #4) > BTW, why is this P1? Moreover if you say it is not reproducible in >7.3.1, > why not closed as fixed then? Because it will happen with upcoming NB 731 JDK 7u40 bundle and the issue 129498 was P2 so I thought P1 fits better. I don't know how it should be resolved with regard to 731 as it affects JSP editing. Also there is issue 235568 which happens when such JSP is compiled. It could be consequence of this. |