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.

Bug 219206 - NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef
Summary: NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.vis...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
: 236054 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-28 23:26 UTC by sreimers
Modified: 2013-09-19 12:22 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192868


Attachments
stacktrace (6.21 KB, text/plain)
2012-09-28 23:26 UTC, sreimers
Details
stacktrace (5.35 KB, text/plain)
2012-11-01 20:38 UTC, rwilson352
Details
stacktrace (4.98 KB, text/plain)
2012-11-26 15:05 UTC, swpalmer
Details
A test case - open test/postattr/Other.java (15.78 KB, application/x-zip-compressed)
2012-12-12 15:11 UTC, Jan Lahoda
Details
stacktrace (4.85 KB, text/plain)
2012-12-12 15:11 UTC, Jan Lahoda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sreimers 2012-09-28 23:26:48 UTC
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)
Comment 1 sreimers 2012-09-28 23:26:53 UTC
Created attachment 125087 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-11-01 20:32:09 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=192868
Comment 3 rwilson352 2012-11-01 20:38:07 UTC
Created attachment 126952 [details]
stacktrace
Comment 4 swpalmer 2012-11-26 15:05:27 UTC
Created attachment 128403 [details]
stacktrace

editing java source - typed a '.'
Comment 5 Exceptions Reporter 2012-11-26 15:05:36 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=192868
Comment 6 Jan Lahoda 2012-12-12 15:11:02 UTC
Created attachment 129279 [details]
A test case - open  test/postattr/Other.java
Comment 7 Jan Lahoda 2012-12-12 15:11:08 UTC
Created attachment 129280 [details]
stacktrace

I will attach a test project - open test/postattr/Other.java
Comment 8 Dusan Balek 2012-12-14 15:25:11 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/587e70c3ea75
Comment 9 Quality Engineering 2012-12-17 12:36:54 UTC
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.
Comment 10 Marian Mirilovic 2013-09-19 12:22:49 UTC
*** Bug 236054 has been marked as a duplicate of this bug. ***