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 236155 - NullPointerException at com.sun.tools.javac.comp.Resolve.checkMethod
Summary: NullPointerException at com.sun.tools.javac.comp.Resolve.checkMethod
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-19 15:06 UTC by theshadow27
Modified: 2016-07-07 07:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 204008


Attachments
stacktrace (3.69 KB, text/plain)
2013-09-19 15:06 UTC, theshadow27
Details
stacktrace (3.69 KB, text/plain)
2013-09-24 19:48 UTC, theshadow27
Details
stacktrace (3.69 KB, text/plain)
2013-09-26 13:09 UTC, theshadow27
Details
testcase: Issue236155.java (1.14 KB, text/plain)
2013-09-26 13:17 UTC, theshadow27
Details
stacktrace (3.53 KB, text/plain)
2014-12-19 08:26 UTC, Exceptions Reporter
Details
stacktrace (4.47 KB, text/plain)
2015-04-09 21:49 UTC, theshadow27
Details

Note You need to log in before you can comment on or make changes to this bug.
Description theshadow27 2013-09-19 15:06:33 UTC
Build: NetBeans IDE Dev (Build 201309180002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Mac OS X

User Comments:
theshadow27: Found this trying to duplicate bug 235620




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Resolve.checkMethod(Resolve.java:599)
   at com.sun.tools.javac.comp.Attr.checkMethod(Attr.java:3937)
   at com.sun.tools.javac.comp.Attr.checkIdInternal(Attr.java:3738)
   at com.sun.tools.javac.comp.Attr.checkId(Attr.java:3601)
   at com.sun.tools.javac.comp.Attr.visitIdent(Attr.java:3357)
   at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:1995)
Comment 1 theshadow27 2013-09-19 15:06:36 UTC
Created attachment 140260 [details]
stacktrace
Comment 2 theshadow27 2013-09-24 19:48:30 UTC
Created attachment 140427 [details]
stacktrace

Duplicated bug 235620 with consistent test case in dev130924
Comment 3 theshadow27 2013-09-26 13:09:44 UTC
Created attachment 140507 [details]
stacktrace

Still broken as of dev130926
Comment 4 theshadow27 2013-09-26 13:17:51 UTC
Created attachment 140508 [details]
testcase: Issue236155.java

Added testcase, similar to the testcase in bug 235620, except that testcase produces all three exceptions, while this one produces only one (the NPE).
Comment 5 Exceptions Reporter 2014-12-19 07:02:29 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204008
Comment 6 Exceptions Reporter 2014-12-19 08:26:28 UTC
Created attachment 151203 [details]
stacktrace

NullPointerException at com.sun.tools.javac.comp.Resolve.checkMethod
Comment 7 theshadow27 2015-04-09 21:49:27 UTC
Created attachment 153119 [details]
stacktrace

Note that the NPE still occurs in 8.0.2 (Build 201411181905), but the stack trace is different...
Comment 8 Martin Balin 2016-07-07 07:17:53 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss