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.
I upgraded from JDK 1.4.0 to 1.4.1. Now I get this msg when starting NetBeans. I have already set the new JDK_HOME in /opt/NetBeans\ IDE\ 3.4/bin/ide.cfg. How can I get rid of this message? Annotation: Cannot read class: org.openide.filesystems.JarFileSystem Annotation: Source: Mount/src#002Ezip.settings Annotation: Content: <?xml version="1.0"?> <!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd"> <settings version="1.0"> <instanceof class="org.openide.filesystems.AbstractFileSystem"/> <instanceof class="org.openide.filesystems.AbstractFileSystem$Info"/> <instanceof class="java.lang.Object"/> <instanceof class="org.openide.filesystems.AbstractFileSystem$Change"/> <instanceof class="org.openide.filesystems.JarFileSystem"/> <instanceof class="org.openide.filesystems.AbstractFileSystem$Attr"/> <instanceof class="org.openide.filesystems.FileSystem"/> <instanceof class="java.io.Serializable"/> <instanceof class="org.openide.filesystems.AbstractFileSystem$List"/> <serialdata class="org.openide.filesystems.JarFileSystem"> ACED0005737200256F72672E6F70656E6964652E66696C6573797374656D732E4A617246696C6553797374656DFEA3640EA5 93F8870200014C0004726F6F7474000E4C6A6176612F696F2F46696C653B7872002A6F72672E6F70656E6964652E66696C65 73797374656D732E416273747261637446696C6553797374656DD193D2E5ABFD8BFA0300054C0004617474727400314C6F72 672F6F70656E6964652F66696C6573797374656D732F416273747261637446696C6553797374656D24417474723B4C000663 68616E67657400334C6F72672F6F70656E6964652F66696C6573797374656D732F416273747261637446696C655379737465 6D244368616E67653B4C0004696E666F7400314C6F72672F6F70656E6964652F66696C6573797374656D732F416273747261 637446696C6553797374656D24496E666F3B4C00046C6973747400314C6F72672F6F70656E6964652F66696C657379737465 6D732F416273747261637446696C6553797374656D244C6973743B4C00087472616E736665727400354C6F72672F6F70656E 6964652F66696C6573797374656D732F416273747261637446696C6553797374656D245472616E736665723B787200226F72 672E6F70656E6964652E66696C6573797374656D732E46696C6553797374656D840CFB0DCFF8F9040200035A000668696464 656E4C000A6361706162696C69747974002E4C6F72672F6F70656E6964652F66696C6573797374656D732F46696C65537973 74656D4361706162696C6974793B4C000A73797374656D4E616D657400124C6A6176612F6C616E672F537472696E673B7870 01737200316F72672E6F70656E6964652E66696C6573797374656D732E46696C6553797374656D4361706162696C69747924 4265616E08B6C4E26B7961400200045A000B636F6D70696C6174696F6E5A000564656275675A0003646F635A000965786563 7574696F6E78700000000074001C2F7573722F6A6176612F6A3273646B312E342E302F7372632E7A69707372002A6F72672E 6F70656E6964652E66696C6573797374656D732E4A617246696C6553797374656D24496D706CFF1123A997AF17400200014C 000266737400274C6F72672F6F70656E6964652F66696C6573797374656D732F4A617246696C6553797374656D3B78707100 7E000B71007E001171007E001171007E001170770400000000787372000C6A6176612E696F2E46696C65042DA4450E0DE4FF 0300014C00047061746871007E000A787071007E000E7702002F78 </serialdata> </settings> Annotation: File /usr/java/j2sdk1.4.0/src.zip does not exist. org.openide.filesystems.FSException: File /usr/java/j2sdk1.4.0/src.zip does not exist. at org.openide.filesystems.FSException.io(FSException.java:73) at org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:161) at org.openide.filesystems.JarFileSystem.readObject(JarFileSystem.java:660) at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:824) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1746) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1646) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324) at org.netbeans.core.projects.XMLSettingsSupport$SettingsRecognizer.readSerial(XMLSettingsSupport.java:420) at org.netbeans.core.projects.XMLSettingsSupport$SettingsRecognizer.instanceCreate(XMLSettingsSupport.java:448) at org.netbeans.core.projects.SerialDataConvertor$SettingsInstance.instanceCreate(SerialDataConvertor.java:315) at org.netbeans.core.ui.MountNode.createChild(MountNode.java:103) at org.netbeans.core.ui.LookupNode$Ch.createNodes(LookupNode.java:358) at org.openide.nodes.Children$Keys$KE.nodes(Children.java:1855) at org.openide.nodes.ChildrenArray.nodesFor(ChildrenArray.java:125) at org.openide.nodes.Children$Info.nodes(Children.java:951) at org.openide.nodes.Children.updateAdd(Children.java:759) at org.openide.nodes.Children.setEntries(Children.java:546) at org.openide.nodes.Children$3.run(Children.java:1746) at org.openide.util.Mutex.postRequest(Mutex.java:870) at org.openide.util.Mutex.postWriteRequest(Mutex.java:366) at org.openide.nodes.Children$Keys.applyKeys(Children.java:1754) at org.openide.nodes.Children$Keys.setKeys(Children.java:1736) at org.openide.nodes.FilterNode$ChildrenAdapter.run(FilterNode.java:1056) at org.openide.nodes.FilterNode$Children.updateKeys(FilterNode.java:1026) at org.openide.nodes.FilterNode$Children.filterChildrenAdded(FilterNode.java:998) at org.openide.nodes.FilterNode$ChildrenAdapter.childrenAdded(FilterNode.java:1073) at org.openide.nodes.Node.fireSubNodesChange(Node.java:628) at org.openide.nodes.Children.notifyAdd(Children.java:794) at org.openide.nodes.Children.updateAdd(Children.java:771) at org.openide.nodes.Children.setEntries(Children.java:546) at org.openide.nodes.Children$3.run(Children.java:1746) at org.openide.util.Mutex.postRequest(Mutex.java:860) at org.openide.util.Mutex.postWriteRequest(Mutex.java:366) at org.openide.nodes.Children$Keys.applyKeys(Children.java:1754) at org.openide.nodes.Children$Keys.setKeys(Children.java:1713) at org.openide.loaders.FolderChildren.access$501(FolderChildren.java:35) at org.openide.loaders.FolderChildren$Addition.run(FolderChildren.java:394) at org.openide.util.Task.run(Task.java:136) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
It seems like you have had mounted sources of jdk1.4.0 [src.zip] and it is now deleted. So Exception arise because IDE cannot find previously mounted zip file . Another bug is that these types of "internal exceptions" shouldn't be fired for user but only as log in log file (for example for better problem trackeing after another problem arise it will be visible in log file for investigation) in my opinion. So reassigne to filesytems owner.
Problem is in MountNode.createChild. After creation of FileSystem instance fails, then USER or WARNIG severity should be used and setting should be deleted from disk. Please fix also #26072, which is almost the same case in AutomountSupport.
Marian, you're right. To fix it I had to remove the old reference to src.zip using Tools/Options. (The new one was already there, that's good.) Using Explorer/Filesystem this was not possible, because I kept getting exceptions. Please fix also this problem. If a reference in Ex./Filesystem points to a non-existent file, IMHO it should be somehow disabled or removed. I assume one gets the same problems with mounted JavaDocs of the JDK.
OS/Platform independent issue.
*** Issue 27029 has been marked as a duplicate of this issue. ***
duplicate of 26072. (Resolved in maintrunk) *** This issue has been marked as a duplicate of 26072 ***
verified, closed - it's duplicate.