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 44915

Summary: Stop calling ClassPath.getClassPath with a null FileObject parameter
Product: java Reporter: Jesse Glick <jglick>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Typical stack trace; reason why it got to this point (some other bug I am too tired to file) is unimportant here

Description Jesse Glick 2004-06-16 04:22:23 UTC
040615 but this has been broken for a while.
Sometimes javamodel code calls CP.gCP with a null
FileObject, contrary to the Javadoc, causing a
stack trace to be printed. Should never do this.
Comment 1 Jesse Glick 2004-06-16 04:23:03 UTC
Created attachment 15722 [details]
Typical stack trace; reason why it got to this point (some other bug I am too tired to file) is unimportant here
Comment 2 Martin Matula 2004-06-17 23:26:29 UTC
Fixed.

Checking in src/org/netbeans/modules/javacore/RepositoryUpdater.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/RepositoryUpdater.java,v
 <--  RepositoryUpdater.java
new revision: 1.6; previous revision: 1.5
done