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 247362

Summary: NullPointerException at org.netbeans.modules.java.source.PostFlowAnalysis.visitMethodDef
Product: java Reporter: Alexander Simon <alexvsimon>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: aldobrucale, laubrino, michbarsinai, sdedic
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 212097
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
Dump file
stacktrace

Description Alexander Simon 2014-09-22 12:27:24 UTC
Build: NetBeans IDE 8.0.1 (Build 20140919-8819efffa95e)
VM: Java HotSpot(TM) Client VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: SunOS

User Comments:
alexvsimon: debug java module




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 Alexander Simon 2014-09-22 12:27:25 UTC
Created attachment 149415 [details]
stacktrace
Comment 2 aldobrucale 2014-10-09 14:36:23 UTC
Created attachment 149816 [details]
stacktrace

copying code
Comment 3 Exceptions Reporter 2014-10-09 14:36:29 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=212097
Comment 4 michbarsinai 2014-10-20 17:31:38 UTC
Created attachment 150006 [details]
stacktrace

Unclear...
I'm editing code of a Java EE, and have auto-deploy on, deplying to a local GlassFish.
The computer was asleep for a while too, wiht NetBeans running.
Comment 5 Exceptions Reporter 2014-10-21 07:58:40 UTC
Created attachment 150013 [details]
stacktrace

Suddenly occured in Notification Tab
Comment 6 markiewb 2014-11-23 22:17:45 UTC
Created attachment 150646 [details]
Dump file

Here the dump file as requested in the exception, when the issue appeared.
Comment 7 aldobrucale 2015-01-23 11:30:49 UTC
Created attachment 151639 [details]
stacktrace

I actually didn't notice the exeption when it was thrown
Comment 8 Svata Dedic 2015-02-09 13:21:43 UTC

*** This bug has been marked as a duplicate of bug 249472 ***