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 252203

Summary: NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: arren, hanspeterhauser
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217073
Attachments: stacktrace

Description Exceptions Reporter 2015-05-02 12:42:11 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 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.79-b02, Java(TM) SE Runtime Environment, 1.7.0_79-b15
OS: Windows 7

User Comments:
GUEST: Opened a project




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef(PostFlowAnalysis.java:171)
   at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:784)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
   at org.netbeans.modules.java.source.PostFlowAnalysis.scan(PostFlowAnalysis.java:132)
   at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
   at com.sun.tools.javac.tree.TreeScanner.visitClassDef(TreeScanner.java:80)
Comment 1 Exceptions Reporter 2015-05-02 12:42:13 UTC
Created attachment 153494 [details]
stacktrace
Comment 2 Exceptions Reporter 2015-11-12 16:55:26 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=217073