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.
In attached test project, surround with try-catch invoked on "return a[i];" in Main.java produces following NPE: java.lang.NullPointerException at org.netbeans.modules.javacore.ExclusiveMutex.addBFeatureToInitQueue(ExclusiveMutex.java:469) at org.netbeans.modules.javacore.jmiimpl.javamodel.CallableFeatureImpl.initChildren(CallableFeatureImpl.java:164) at org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.initCheck(MetadataElement.java:139) at org.netbeans.modules.javacore.jmiimpl.javamodel.TransientElement.getASTree(TransientElement.java:65) ... [200508081800, JDK 1.5.0_05 fcs b03, solaris 10/sparc]
Created attachment 23591 [details] exception stack trace
Created attachment 23592 [details] test project
I cannot reproduce it after recent fixes.
Oops - wrong issue, sorry.
I was unable to reproduce it in dev build.
Reopen, if you are able to reproduce.
Verified WORKSFORME, in 200509221800, I wasn't able to reproduce (it was properly surrounded by try -- finally). The indentation could be better though.
Reorganization of java component