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 236994

Summary: NullPointerException at com.sun.tools.javac.comp.Check.checkMethod
Product: java Reporter: janario
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: normal CC: dao, dengr, gtzabari, janario, michbarsinai, sdlarsen, tboudreau
Priority: P2    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204493
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description janario 2013-10-10 16:25:27 UTC
Build: NetBeans IDE Dev (Build 20131010-a2f7a8432e82)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
janario: Ctrl + p to see methods parameters

janario: coding




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.Check.checkMethod(Check.java:898)
   at com.sun.tools.javac.comp.Attr.checkMethod(Attr.java:3999)
   at com.sun.tools.javac.comp.Attr.checkIdInternal(Attr.java:3771)
   at com.sun.tools.javac.comp.Attr.checkMethodIdInternal(Attr.java:3673)
   at com.sun.tools.javac.comp.Attr.checkMethodId(Attr.java:3646)
   at com.sun.tools.javac.comp.Attr.checkId(Attr.java:3634)
Comment 1 janario 2013-10-10 16:25:30 UTC
Created attachment 140983 [details]
stacktrace
Comment 2 janario 2013-10-18 00:43:28 UTC
Created attachment 141230 [details]
stacktrace

Ctrl +p to see methods parameters
Comment 3 _ gtzabari 2013-12-31 00:15:26 UTC
Created attachment 143529 [details]
stacktrace

Invoked code-complete.
Comment 4 Exceptions Reporter 2014-01-27 14:43:10 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204493
Comment 5 michbarsinai 2014-02-07 02:04:29 UTC
Created attachment 144889 [details]
stacktrace

Editing a java file.
Comment 6 _ tboudreau 2014-02-07 03:34:29 UTC
Created attachment 144891 [details]
stacktrace

Doing complicated things with generics and invoking parameter completion
Comment 7 _ tboudreau 2014-02-07 18:52:33 UTC
Created attachment 144919 [details]
stacktrace

Invoke parameter completion on some half-written code:

ServerControl control = new Signalizer<ServerControl>()

press ctrl-p inside the ()'s
Comment 8 Exceptions Reporter 2014-02-07 18:52:39 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204493
Comment 10 Quality Engineering 2014-02-19 02:47:23 UTC
Integrated into 'main-silver', will be available in build *201402190001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2e2ce9c3db99
User: Dusan Balek <dbalek@netbeans.org>
Log: Issue #236994: NullPointerException at com.sun.tools.javac.comp.Check.checkMethod - fixed.
Comment 11 Dusan Balek 2014-02-19 13:00:34 UTC
*** Bug 242030 has been marked as a duplicate of this bug. ***