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 27029 - Missing jar file exception
Summary: Missing jar file exception
Status: CLOSED DUPLICATE of bug 27464
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-04 17:04 UTC by Tim Lebedkov
Modified: 2008-12-22 18:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Lebedkov 2002-09-04 17:04:52 UTC
Hi,

I have mounted a jar file, closed the IDE and deleted the 
file. Now I get an exception every time I open the IDE:

Annotation: Cannot read class: 
org.netbeans.core.ExJarFileSystem
Annotation: Source: Mount/awttree#002Ejar.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$Attr"/>
    <instanceof class="java.lang.Object"/>
    <instanceof 
class="org.openide.filesystems.AbstractFileSystem$Info"/>
    <instanceof class="org.netbeans.core.ExJarFileSystem"/>
    <instanceof 
class="org.openide.filesystems.FileSystem"/>
    <instanceof 
class="org.openide.filesystems.AbstractFileSystem$Change"/>
    <instanceof class="java.io.Serializable"/>
    <instanceof 
class="org.openide.filesystems.JarFileSystem"/>
    <instanceof 
class="org.openide.filesystems.AbstractFileSystem"/>
    <instanceof 
class="org.openide.filesystems.AbstractFileSystem$List"/>
    <serialdata class="org.netbeans.core.ExJarFileSystem">
        
ACED0005737200216F72672E6E65746265616E732E636F72652E45784A6
17246696C6553797374656D787D75463D5A539602
        
0000787200256F72672E6F70656E6964652E66696C6573797374656D732
E4A617246696C6553797374656DFEA3640EA593F8
        
870200014C0004726F6F7474000E4C6A6176612F696F2F46696C653B787
2002A6F72672E6F70656E6964652E66696C657379
        
7374656D732E416273747261637446696C6553797374656DD193D2E5ABF
D8BFA0300054C0004617474727400314C6F72672F
        
6F70656E6964652F66696C6573797374656D732F4162737472616374466
96C6553797374656D24417474723B4C0006636861
        
6E67657400334C6F72672F6F70656E6964652F66696C6573797374656D7
32F416273747261637446696C6553797374656D24
        
4368616E67653B4C0004696E666F7400314C6F72672F6F70656E6964652
F66696C6573797374656D732F4162737472616374
        
46696C6553797374656D24496E666F3B4C00046C6973747400314C6F726
72F6F70656E6964652F66696C6573797374656D73
        
2F416273747261637446696C6553797374656D244C6973743B4C0008747
2616E736665727400354C6F72672F6F70656E6964
        
652F66696C6573797374656D732F416273747261637446696C655379737
4656D245472616E736665723B787200226F72672E
        
6F70656E6964652E66696C6573797374656D732E46696C6553797374656
D840CFB0DCFF8F9040200035A000668696464656E
        
4C000A6361706162696C69747974002E4C6F72672F6F70656E6964652F6
6696C6573797374656D732F46696C655379737465
        
6D4361706162696C6974793B4C000A73797374656D4E616D657400124C6
A6176612F6C616E672F537472696E673B78700073
        
7200316F72672E6F70656E6964652E66696C6573797374656D732E46696
C6553797374656D4361706162696C697479244265
        
616E08B6C4E26B7961400200045A000B636F6D70696C6174696F6E5A000
564656275675A0003646F635A0009657865637574
        
696F6E787001010001740052433A5C446F6B756D656E746520756E64204
5696E7374656C6C756E67656E5C74696D5C456967
        
656E65204461746569656E5C7372635C4A6176615C617774747265655C6
C69625C617774747265652E6A61727372002C6F72
        
672E6E65746265616E732E636F72652E45784A617246696C65537973746
56D24496E6E657241747472731173026898CCEECA
        
0200014C0004696D706C74002C4C6F72672F6E65746265616E732F636F7
2652F45784A617246696C6553797374656D244174
        
7472496D706C3B787200296F72672E6F70656E6964652E66696C6573797
374656D732E44656661756C744174747269627574
        
6573AF7DAC3F065BC3E20200034C00066368616E676571007E00054C000
4696E666F71007E00064C00046C69737471007E00
        
0778707372002A6F72672E6E65746265616E732E636F72652E45784A617
246696C6553797374656D2441747472496D706CFF
        
1123A997AF17AD0200014C00036A66737400274C6F72672F6F70656E696
4652F66696C6573797374656D732F4A617246696C
        
6553797374656D3B7872002A6F72672E6F70656E6964652E66696C65737
97374656D732E4A617246696C6553797374656D24
        
496D706CFF1123A997AF17400200014C0002667371007E0015787071007
E000C71007E000C71007E001771007E001771007E
        
00177371007E001671007E000C71007E001871007E00137077040000000
0787372000C6A6176612E696F2E46696C65042DA4
        
450E0DE4FF0300014C00047061746871007E000B787071007E000F77020
05C78
    </serialdata>
</settings>
Annotation: File C:\Dokumente und Einstellungen\tim\Eigene 
Dateien\src\Java\awttree\lib\awttree.jar does not exist.
org.openide.filesystems.FSException: File C:\Dokumente und 
Einstellungen\tim\Eigene 
Dateien\src\Java\awttree\lib\awttree.jar 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.NativeMethodAccessorImpl.invoke0
(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        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$SettingsRecog
nizer.readSerial(XMLSettingsSupport.java:420)
        at 
org.netbeans.core.projects.XMLSettingsSupport$SettingsRecog
nizer.instanceCreate(XMLSettingsSupport.java:448)
        at 
org.netbeans.core.projects.SerialDataConvertor$SettingsInst
ance.instanceCreate(SerialDataConvertor.java:315)
        at 
org.openide.loaders.FolderInstance.instanceForCookie
(FolderInstance.java:365)
        at 
org.openide.loaders.FolderInstance$HoldInstance.instanceCre
ate(FolderInstance.java:783)
        at 
org.netbeans.core.AutomountSupport.createInstance
(AutomountSupport.java:83)
        at 
org.openide.loaders.FolderInstance.defaultProcessObjects
(FolderInstance.java:571)
        at org.openide.loaders.FolderInstance.access$100
(FolderInstance.java:45)
        at org.openide.loaders.FolderInstance$2.run
(FolderInstance.java:456)
        at org.openide.util.Task.run(Task.java:136)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:599)

thank you
Comment 1 Milan Kubec 2002-10-15 10:31:28 UTC
Reassigning to core, but I think it's already fixed in trunk and the
exception is handled silently.
Comment 2 Marian Mirilovic 2002-10-15 11:38:45 UTC

*** This issue has been marked as a duplicate of 27464 ***
Comment 3 pzajac 2002-10-23 10:32:05 UTC
verified
Comment 4 Marian Mirilovic 2003-07-22 10:47:49 UTC
closed - it's duplicate.