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 214686, 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 Beta (Build 201209232010) VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b03, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b09 OS: Mac OS X User Comments: sreimers: Typing in Java Editor Stacktrace: java.lang.NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef(PostFlowAnalysis.java:167) at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:672) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49) at org.netbeans.modules.java.source.PostFlowAnalysis.scan(PostFlowAnalysis.java:128) at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57) at com.sun.tools.javac.tree.TreeScanner.visitClassDef(TreeScanner.java:80)
Created attachment 125087 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=192868
Created attachment 126952 [details] stacktrace
Created attachment 128403 [details] stacktrace editing java source - typed a '.'
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=192868
Created attachment 129279 [details] A test case - open test/postattr/Other.java
Created attachment 129280 [details] stacktrace I will attach a test project - open test/postattr/Other.java
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/587e70c3ea75
Integrated into 'main-golden', will be available in build *201212170919* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/587e70c3ea75 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #219206: NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef - fixed.
*** Bug 236054 has been marked as a duplicate of this bug. ***