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 109254 - Scanning JDK source threw exception
Summary: Scanning JDK source threw exception
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 117757 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-10 15:26 UTC by tfrysinger
Modified: 2007-10-17 10:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace encountered (11.24 KB, text/plain)
2007-07-10 15:28 UTC, tfrysinger
Details
Exception scanning JDK 5.0 source (11.31 KB, text/plain)
2007-07-10 15:30 UTC, tfrysinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tfrysinger 2007-07-10 15:26:13 UTC
I have sources for both JDK 5.0 and 1.4.2 defined. Upon startup of M10 (July 10th daily), I received the error in the
attachment.
Comment 1 tfrysinger 2007-07-10 15:28:02 UTC
Created attachment 44885 [details]
Stack trace encountered
Comment 2 tfrysinger 2007-07-10 15:29:40 UTC
Also occurs when scanning 5.0 - attachment shows this exception.
Comment 3 tfrysinger 2007-07-10 15:30:17 UTC
Created attachment 44886 [details]
Exception scanning JDK 5.0 source
Comment 4 novakm 2007-07-16 09:52:02 UTC
Reassigning to Java for evaluation.
Comment 5 Tomas Zezula 2007-08-24 14:06:52 UTC
Fixed, but at least one of your JDK has wrongly attached sources, the source root should be:
Users/tfrysinger/Documents/java/jdk-1_4_2-src-scsl Folder/j2se/src/share/classes/
not:
Users/tfrysinger/Documents/java/jdk-1_4_2-src-scsl Folder/j2se/src/share/
The goto source will not work for you until you correct this, it will not be able to find the source file.

Checking in nbproject/project.xml;
/cvs/java/source/nbproject/project.xml,v  <--  project.xml
new revision: 1.25; previous revision: 1.24
done
Checking in src/org/netbeans/api/java/source/ClasspathInfo.java;
/cvs/java/source/src/org/netbeans/api/java/source/ClasspathInfo.java,v  <--  ClasspathInfo.java
new revision: 1.10; previous revision: 1.9
done
Checking in src/org/netbeans/modules/java/source/classpath/GlobalSourcePath.java;
/cvs/java/source/src/org/netbeans/modules/java/source/classpath/GlobalSourcePath.java,v  <--  GlobalSourcePath.java
new revision: 1.11; previous revision: 1.10
done
Comment 6 Jan Becicka 2007-10-17 10:56:59 UTC
*** Issue 117757 has been marked as a duplicate of this issue. ***