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 46468

Summary: NPE from ASTProvider.<init>
Product: java Reporter: Jesse Glick <jglick>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P2    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Log excerpt

Description Jesse Glick 2004-07-22 22:24:59 UTC
Occurred several times in a row in 040722 (1.5.0
b58) trying to open Collections.java. Observed
also in previous builds, I think. Note: I have
several JDKs registered, incl. several active at
once in the merged classpath.
Comment 1 Jesse Glick 2004-07-22 22:25:56 UTC
Created attachment 16398 [details]
Log excerpt
Comment 2 Jesse Glick 2004-07-22 22:30:43 UTC
Hint: I am working on a freeform project w/ source level 1.3. I have a
1.3.1 JDK registered, and manually set the sources to be

<!-- ... -->
  <jdkhome>
    <resource>file:/space/jdk1.3/</resource>
  </jdkhome>
  <sources>
    <resource>jar:file:/space/jdk1.3/src.jar!/src/</resource>
  </sources>
<!-- ... -->

since in JDK 1.3.1 the sources were not at top level. Get an exception
when I try to open Collections from Fast Open, or also if I try to get
code completion on Collections in this class.
Comment 3 Jesse Glick 2004-07-22 23:02:53 UTC
Occurs very frequently and prevents code completion from working.
Comment 4 Tomas Hurka 2004-07-26 10:51:27 UTC

*** This issue has been marked as a duplicate of 43593 ***
Comment 5 Quality Engineering 2007-09-20 12:42:26 UTC
Reorganization of java component