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 237223

Summary: NullPointerException at com.sun.tools.javac.comp.MemberEnter$Synthesizer.visit
Product: java Reporter: _ tboudreau <tboudreau>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED DUPLICATE    
Severity: normal CC: asmotrich, bolsover, javydreamercsw, pramoth, tboudreau
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204647
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description _ tboudreau 2013-10-16 23:49:38 UTC
Build: NetBeans IDE Dev (Build NetBeans-239-on-20131010)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Linux

User Comments:
tboudreau: Opened a file




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.comp.MemberEnter$Synthesizer.visit(MemberEnter.java:1583)
   at com.sun.tools.javac.comp.MemberEnter$7.getModelType(MemberEnter.java:1565)
   at com.sun.tools.javac.code.Symbol$ClassSymbol.getSuperclass(Symbol.java:1054)
   at com.sun.tools.javac.code.Types$20.visitClassType(Types.java:2297)
   at com.sun.tools.javac.code.Types$20.visitClassType(Types.java:2286)
   at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:752)
Comment 1 _ tboudreau 2013-10-16 23:49:40 UTC
Created attachment 141181 [details]
stacktrace
Comment 2 _ tboudreau 2013-10-17 00:41:53 UTC
Was opening a file in a Maven project which had not been opened in 6-8 months (probably killed my userdir since it was created).  The project was configured to use a JDK Platform that does not exist.
Comment 3 bolsover 2014-01-08 10:27:41 UTC
Created attachment 143700 [details]
stacktrace

Opening existing project.
Project had 3 library reference issues:
JIDE
junit_4
JDK_1.8
Comment 4 javydreamercsw 2014-01-31 16:25:15 UTC
Created attachment 144647 [details]
stacktrace

Unexpected error badges everywhere.
Comment 5 Exceptions Reporter 2014-01-31 16:25:23 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204647
Comment 6 Exceptions Reporter 2014-02-01 13:40:15 UTC
Created attachment 144668 [details]
stacktrace

Removed a Java platform in use in an existing Project.
Comment 7 Exceptions Reporter 2014-02-18 16:22:30 UTC
Created attachment 145370 [details]
stacktrace

I oppened my project from netbeans 7.4 and null pointer exception occured.
Comment 8 _ tboudreau 2014-08-23 19:31:53 UTC
Created attachment 148861 [details]
stacktrace

Browsing apache wicket 6.16.0 sources and opening org.apache.wicket.Application
Comment 9 Exceptions Reporter 2014-08-23 19:31:57 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=204647
Comment 10 Dusan Balek 2014-11-28 09:18:32 UTC

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