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.
Build: NetBeans IDE Dev (Build 20131125-d473cd33358e) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b49, Java(TM) SE Runtime Environment, 1.8.0-ea-b107 OS: Windows 7 User Comments: jiriprox: NPE when editing following code: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package javaapplication224; import static javaapplication224.SubClass.test; import static javaapplication224.SuperClass.test; /** * * @author jprox */ public class Hello implements Comparable<Hello>{ int value; public static void main(String[] args) { test(); } public Hello() { } public Hello(int x) { this(); } public Hello(String xx) { this(1); Comparable<String> c = new Comparable<String>() { public int compareTo(String input) { if(input > this.) return 1; return -1; } }; } } } Stacktrace: java.lang.NullPointerException at com.sun.tools.javac.code.Types$DescriptorCache.findDescriptorInternal(Types.java:416) at com.sun.tools.javac.code.Types$DescriptorCache.get(Types.java:396) at com.sun.tools.javac.code.Types.findDescriptorSymbol(Types.java:564) at com.sun.tools.javac.comp.Check.checkFunctionalInterface(Check.java:3605) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4405) at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4333)
Created attachment 142576 [details] stacktrace
Created attachment 143843 [details] stacktrace during code completion
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=205575
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