Bug 238802 - NullPointerException at com.sun.tools.javac.code.Types$DescriptorCache.findDescriptorInternal
NullPointerException at com.sun.tools.javac.code.Types$DescriptorCache.findDe...
Status: RESOLVED WONTFIX
Product: java
Classification: Unclassified
Component: Compiler
8.0
All All
: P3 (vote)
: TBD
Assigned To: Dusan Balek
issues@java
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-26 08:31 UTC by Jiri Prox
Modified: 2016-07-07 07:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (3.50 KB, text/plain)
2013-11-26 08:31 UTC, Jiri Prox
Details
stacktrace (8.08 KB, text/plain)
2014-01-11 21:42 UTC, adithyank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Prox 2013-11-26 08:31:18 UTC
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)
Comment 1 Jiri Prox 2013-11-26 08:31:20 UTC
Created attachment 142576 [details]
stacktrace
Comment 2 adithyank 2014-01-11 21:42:45 UTC
Created attachment 143843 [details]
stacktrace

during code completion
Comment 3 Exceptions Reporter 2014-04-01 23:25:11 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=205575
Comment 4 Martin Balin 2016-07-07 07:16:17 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


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo