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 16448 - Unmounting sampledir filesystem throws FileStateInvalidException
Summary: Unmounting sampledir filesystem throws FileStateInvalidException
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
: 16451 16455 16462 16469 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-11 10:26 UTC by pfelenda
Modified: 2008-12-23 00:06 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 pfelenda 2001-10-11 10:26:45 UTC
[200110110100] jdk1.3.1

How to reproduce :
- unmount  sampledir
-> exception throws


                   Thu Oct 11 11:12:38 CEST 2001:
org.openide.filesystems.FileStateInvalidException: File
org-netbeans-modules-usersguide-sampledir.settings_hidden cannot be found in
folder Mount.
org.openide.filesystems.FileStateInvalidException: File
org-netbeans-modules-usersguide-sampledir.settings_hidden cannot be found in
folder Mount.
        at
org.openide.filesystems.MultiFileObject.createData(MultiFileObject.java:880)
        at org.openide.filesystems.FileUtil.createData(FileUtil.java:209)
        at
org.openide.filesystems.MultiFileSystem.maskFile(MultiFileSystem.java:486)
        at
org.openide.filesystems.MultiFileObject.delete(MultiFileObject.java:1046)
        at org.openide.loaders.FileEntry.delete(FileEntry.java:100)
        at
org.openide.loaders.MultiDataObject.handleDelete(MultiDataObject.java:405)
        at org.openide.loaders.DataObject$2.run(DataObject.java:542)
        at
org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:69)
        at
org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:380)
        at org.openide.loaders.DataObject.delete(DataObject.java:540)
        at org.netbeans.core.ui.MountNode.unmount(MountNode.java:177)
        at org.netbeans.core.RootFolderNode.unmount(RootFolderNode.java:263)
        at
org.netbeans.core.actions.UnmountFSAction.performAction(UnmountFSAction.java:74)
        at org.openide.util.actions.NodeAction.performAction(NodeAction.java:96)
        at
org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:87)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:85)
        at org.openide.util.Task.run(Task.java:152)
[catch] at
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:611)
Comment 1 Jaromir Uhrik 2001-10-11 10:33:04 UTC
The same exception I got after the import of NB3.2.1 project

Thu Oct 11 11:27:50 CEST 2001: 
org.openide.filesystems.FileStateInvalidException: File 
output.wsmode_hidden cannot be found in folder 
Windows/WindowManager/Editing.
Annotation: Type= 5, name = Error deserializing window system.
org.openide.filesystems.FileStateInvalidException: File 
output.wsmode_hidden cannot be found in folder 
Windows/WindowManager/Editing.
        at org.openide.filesystems.MultiFileObject.createData
(MultiFileObject.java:880)
        at org.openide.filesystems.FileUtil.createData
(FileUtil.java:209)
        at org.openide.filesystems.MultiFileSystem.maskFile
(MultiFileSystem.java:486)
        at org.openide.filesystems.MultiFileObject.delete
(MultiFileObject.java:1046)
        at org.netbeans.core.windows.PersistenceManager.cleanXML
(PersistenceManager.java:228)
        at 
org.netbeans.core.windows.WindowManagerImpl$SerializationReplacer.read
Object(WindowManagerImpl.java:931)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.io.ObjectInputStream.invokeObjectReader
(ObjectInputStream.java:2214)
        at java.io.ObjectInputStream.inputObject
(ObjectInputStream.java:1411)
        at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:386)
        at java.io.ObjectInputStream.readObject
(ObjectInputStream.java:236)
        at org.openide.util.io.NbMarshalledObject.get
(NbMarshalledObject.java:90)
        at org.netbeans.modules.projects.PSupport.updateWindowManager
(PSupport.java:603)
        at org.netbeans.modules.projects.PSupport.projectOpen
(PSupport.java:261)
        at org.netbeans.core.NbProjectOperation.setProject
(NbProjectOperation.java:115)
        at org.netbeans.core.NbProjectOperation.setOpeningProject
(NbProjectOperation.java:171)
        at org.netbeans.core.NbTopManager.openProject
(NbTopManager.java:409)
        at org.netbeans.modules.projects.ProjectManagerPanel$10.run
(ProjectManagerPanel.java:307)
        at org.openide.util.Task.run(Task.java:152)
[catch] at org.openide.util.RequestProcessor$ProcessorThread.run
(RequestProcessor.java:611)
Comment 2 Lukas Hasik 2001-10-11 10:39:45 UTC
assigning
Comment 3 Peter Zavadsky 2001-10-11 10:58:37 UTC
Reassigning to filesystems.

Please, why did you marked it to explorer, there is no explorer class
in either from the stack traces.
Comment 4 Jan Zajicek 2001-10-11 13:47:26 UTC
Nice history of this issue ;-) But Radek is ill today, so Vita will
fix this.
Comment 5 Jan Zajicek 2001-10-11 13:54:17 UTC
*** Issue 16455 has been marked as a duplicate of this issue. ***
Comment 6 Jan Zajicek 2001-10-11 13:55:33 UTC
*** Issue 16451 has been marked as a duplicate of this issue. ***
Comment 7 Vitezslav Stejskal 2001-10-11 14:04:46 UTC
The problem was caused by FilterFileSystem I have implemented yesterday, it didn't 
propagate correctly creation of _hidden files. It's already fixed in main trunk.
Comment 8 Jan Zajicek 2001-10-11 15:28:50 UTC
*** Issue 16462 has been marked as a duplicate of this issue. ***
Comment 9 Jan Zajicek 2001-10-11 16:13:02 UTC
*** Issue 16469 has been marked as a duplicate of this issue. ***
Comment 10 pfelenda 2001-10-25 11:50:04 UTC
Verified in [200110250100], Linux 6.2
Comment 11 Quality Engineering 2003-07-01 16:23:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.