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.
Build: NetBeans IDE Dev (Build 201104110401) VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02-334, Java(TM) SE Runtime Environment, 1.6.0_24-b07-334-10M3326 OS: Mac OS X Stacktrace: java.lang.NullPointerException at org.netbeans.modules.javahints.UnusedAssignmentOrBranch.run(UnusedAssignmentOrBranch.java:94) at org.netbeans.modules.javahints.UnusedAssignmentOrBranch.run(UnusedAssignmentOrBranch.java:78) at org.netbeans.modules.java.source.JavaSourceAccessor$CancelableTaskWrapper.run(JavaSourceAccessor.java:322) at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:715) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
Created attachment 107647 [details] stacktrace
Happens during Java class editing and during other IDE operations, such as running a JUnit test class after editing. Makes IDE almost unusable since it happens almost every time something is happening with the source file.
This should fix that: http://hg.netbeans.org/main/contrib/rev/48f170b54744 (updates for both Experimental Java Hints and Java Hints should be available on the update center fixing several bugs)