Index: j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java =================================================================== RCS file: /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java,v retrieving revision 1.5 diff -u -r1.5 BootClassPathImplementation.java --- j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java 27 Nov 2004 16:46:57 -0000 1.5 +++ j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java 22 Aug 2005 16:48:31 -0000 @@ -68,6 +68,9 @@ } resourcesCache = Collections.unmodifiableList (result); } + else { + resourcesCache = Collections.EMPTY_LIST; + } } return this.resourcesCache; } @@ -100,7 +103,7 @@ //Platform not found, return the default platform and listen //on broken reference resolution this.isActivePlatformValid = false; - return this.platformManager.getDefaultPlatform (); + return null; //this.platformManager.getDefaultPlatform (); } else { //Platform not set => default platform return this.platformManager.getDefaultPlatform();