Bug 235218 - NullPointerException at com.sun.tools.javac.comp.MemberEnter$Synthesizer.visit
NullPointerException at com.sun.tools.javac.comp.MemberEnter$Synthesizer.visit
Status: NEW
Product: java
Classification: Unclassified
Component: Compiler
7.4
All All
: P3 (vote)
: TBD
Assigned To: Dusan Balek
issues@java
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-29 08:52 UTC by muellermi
Modified: 2014-03-02 08:33 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (3.26 KB, text/plain)
2013-08-29 08:53 UTC, muellermi
Details
stacktrace (3.26 KB, text/plain)
2013-10-15 10:52 UTC, Jan Lahoda
Details
stacktrace (3.19 KB, text/plain)
2014-01-26 20:16 UTC, lopsided98
Details
stacktrace (3.19 KB, text/plain)
2014-03-02 08:33 UTC, themanwhosold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2013-08-29 08:52:57 UTC
Build: NetBeans IDE Dev (Build 201308290001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 8

User Comments:
GUEST: It was taking too long to scan in the background.  The project is the JDK, so is big.

muellermi: open file in editor by doble click in search results

muellermi: open file in editor (by double click on project tree)




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.Symbol$ClassSymbol.getSuperclass(Symbol.java:886)
   at org.netbeans.modules.java.hints.ExportNonAccessibleElement.visitType(ExportNonAccessibleElement.java:222)
   at org.netbeans.modules.java.hints.ExportNonAccessibleElement.visitType(ExportNonAccessibleElement.java:92)
Comment 1 muellermi 2013-08-29 08:53:49 UTC
Created attachment 139411 [details]
stacktrace
Comment 2 Jan Lahoda 2013-10-15 10:48:35 UTC
My comment at the following link may be useful:
http://statistics.netbeans.org/analytics/exception.do?id=696223
Comment 3 Jan Lahoda 2013-10-15 10:52:15 UTC
Created attachment 141091 [details]
stacktrace

My current source is as follows, but the key point probably is that the project's JDK currently does not have any rt.jar. I.e. no java.lang.

package test;

public enum Test {

    VALUE {
        @Override
        void doSomething() {
            method("VALUE", 42);
        }
    };

    abstract void doSomething();

    public static void method(String value) {
        method(value, 0);
    }

    private static void method(String value, int number) {
    }
}
Comment 4 Exceptions Reporter 2013-10-15 10:52:19 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=196774
Comment 5 lopsided98 2014-01-26 20:16:09 UTC
Created attachment 144383 [details]
stacktrace

Typing
Comment 6 themanwhosold 2014-03-02 08:33:35 UTC
Created attachment 145698 [details]
stacktrace

The problem occured right after Startup


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