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.
This bug was originally marked as duplicate of bug 129498, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3.1 (Build 201306052037) VM: Java HotSpot(TM) Client VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43 OS: Linux User Comments: facilityderek: Reopening a Web App project alexlamsl: opening a JSP file vriha: saving invalid JSP file, contains: <%@apage instead of <%@page alexlamsl: opening JSP file in editor with tablib tags adam_myatt: in projects window, right-clicked a project, selected CVS > revert modifications. modifications were reverted in several files. after end of operation got error alexlamsl: opening a JSP file GUEST: opening a JSP alexlamsl: opening a JSP file alexlamsl: opening a JSP file with taglib definitions (struts-bean.tld, struts-html.tld, struts-logic.tld) jimyjoshi: changed the default filter in task list to show only todos spaquet: Just modifying a JPS page in JSF with Icefaces 1.6.2 support. IceFaces jar are provided by Maven (compiled scope) and have been locally uploaded. alexlamsl: not sure what happened here - there has been a chain of Exceptions before this so... spaquet: Relaunching Netbeans with a single Web Maven Project. Using JSF + icefaces + hibernate 3 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run(TagLibParseSupport.java:371) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2044)
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.