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 214686

Summary: NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef
Product: java Reporter: akobberup
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: jag
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 190016
Attachments: stacktrace

Description akobberup 2012-06-25 07:26:38 UTC
Build: NetBeans IDE Dev (Build 201206220002)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.1-b02, Java(TM) SE Runtime Environment, 1.7.0_01-b08
OS: Windows 7

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:674)
   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 akobberup 2012-06-25 07:26:43 UTC
Created attachment 121275 [details]
stacktrace
Comment 2 Dusan Balek 2012-07-31 09:57:25 UTC
Fixed in jet-main.

http://hg.netbeans.org/jet-main/rev/d8550fe8509e
Comment 3 Quality Engineering 2012-08-01 02:34:48 UTC
Integrated into 'main-golden', will be available in build *201208010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d8550fe8509e
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #214686: NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef - fixed.