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 267893

Summary: NullPointerException at com.sun.tools.javac.code.Type.equalsIgnoreMetadata
Product: java Reporter: jockel <jockel>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: NEW ---    
Severity: normal CC: alied, dathyrius, guiledazimba, stefan79, theshadow27
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226086
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description jockel 2016-09-06 08:31:02 UTC
Build: NetBeans IDE Dev (Build 201609010002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Linux

User Comments:
jockel: Jumped into a method via CTRL+Click




Stacktrace: 
java.lang.NullPointerException
   at com.sun.tools.javac.code.Type.equalsIgnoreMetadata(Type.java:506)
   at com.sun.tools.javac.code.Types.isSubtype(Types.java:980)
   at com.sun.tools.javac.code.Types.isSubtypeNoCapture(Types.java:977)
   at com.sun.tools.javac.code.Types$4.visitClassType(Types.java:1094)
   at com.sun.tools.javac.code.Types$4.visitClassType(Types.java:1007)
   at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:999)
Comment 1 jockel 2016-09-06 08:31:04 UTC
Created attachment 161918 [details]
stacktrace
Comment 2 stefan79 2016-10-17 18:01:37 UTC
Created attachment 162532 [details]
stacktrace

Opened a Java-Source-File.
Comment 3 stefan79 2017-01-18 06:38:40 UTC
Created attachment 163420 [details]
stacktrace

???
Comment 4 Exceptions Reporter 2017-01-18 06:38:44 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=226086
Comment 5 stefan79 2017-03-29 15:10:09 UTC
Created attachment 163973 [details]
stacktrace

Opened a Java-File.
Comment 6 theshadow27 2017-04-20 20:10:12 UTC
Created attachment 164148 [details]
stacktrace

Removed brace from "if"statement
Comment 7 theshadow27 2017-04-24 17:19:13 UTC
Created attachment 164176 [details]
stacktrace

Not sure, noticed after
Comment 8 Exceptions Reporter 2017-07-10 08:10:39 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=226086
Comment 9 alied 2017-07-27 17:31:52 UTC
Created attachment 164845 [details]
stacktrace

opening a java source file with compilation errors
Comment 10 alied 2017-09-15 20:17:31 UTC
Created attachment 165136 [details]
stacktrace

just opened a source file with (supposedly) errors. Actually the projects built without errors.
Comment 11 alied 2017-12-06 14:48:26 UTC
Created attachment 165541 [details]
stacktrace

Jumping back and forth in the code with Ctrl+click and "Go back"