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 162245, 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.0.1 (Build 201107282000) VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Windows 7 User Comments: rwilson352: Ok I'm confused. I clicked the "unreported exception" button in the bottom right (red circle with minus sign) and it told me there was an error parsing a file. Then when it opened, it said there was a NullPointerException. It is unclear to me whether the parsing error and the null pointer exception are the same thing, or if it threw the NPE when I clicked the "link" to send the report. So, you guys can sort it out. :) Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.comp.Flow.visitTry(Flow.java:1146) at com.sun.tools.javac.tree.JCTree$JCTry.accept(JCTree.java:1049) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at com.sun.tools.javac.comp.Flow.scanStat(Flow.java:539) at com.sun.tools.javac.comp.Flow.scanStats(Flow.java:547) at com.sun.tools.javac.comp.Flow.visitBlock(Flow.java:843)
Created attachment 114706 [details] stacktrace
Created attachment 115347 [details] Requested dump file
Increasing the priority of this bug because it prevents users from stepping into a method in a debug session.
Hard to fix without a reproducible test case. Are you able to reproduce the issue? If so, could you please create a simple test case and attach it to the issue? Thanks.
Created attachment 119770 [details] stacktrace
Fixed in jet-main. http://hg.netbeans.org/main/nb-javac/rev/2b41d5176c9e http://hg.netbeans.org/jet-main/rev/1f73b5c2a68c
verified in trunk
Seems acceptable to me.
Merged to release72: http://hg.netbeans.org/releases/rev/fe85e2a03678
verified in 7.2