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 126935

Summary: Ide misbehaves after org.openide.filesystems.FileStateInvalidException
Product: platform Reporter: Winston Prakash <wjprakash>
Component: Data SystemsAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: slunegov
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Attaching screen shot
BPEL Screenshot
BPEL Log file

Description Winston Prakash 2008-02-07 17:42:31 UTC
I constantly seeing this exception. After the exception, IDE is hosed.
No menu bar, no palette etc

org.openide.filesystems.FileStateInvalidException: MultiFileObject@5730f8[Shortcuts]
	at org.openide.loaders.DataObject.find(DataObject.java:478)
Caused: org.openide.loaders.DataObjectNotFoundException: MultiFileObject@5730f8[Shortcuts]
	at org.openide.loaders.DataObject.find(DataObject.java:498)
	at org.openide.loaders.DataFolder.findFolder(DataFolder.java:515)
Caused: java.lang.IllegalArgumentException
	at org.openide.loaders.DataFolder.findFolder(DataFolder.java:517)
	at org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:151)
	at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:123)
	at org.netbeans.core.ShortcutsFolder.access$200(ShortcutsFolder.java:72)
	at org.netbeans.core.ShortcutsFolder$Listener.run(ShortcutsFolder.java:206)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Comment 1 Winston Prakash 2008-02-07 18:00:59 UTC
Created attachment 56272 [details]
Attaching screen shot
Comment 2 Winston Prakash 2008-02-07 18:18:43 UTC
Some more notes. When this happens, information in the userdir are messed up.
For ex. I've set up Server for my web applications. After I restarted the IDE
all these informations are gone.
Comment 3 gaikokujin 2008-02-08 02:40:53 UTC
Created attachment 56301 [details]
BPEL Screenshot
Comment 4 gaikokujin 2008-02-08 02:41:33 UTC
Created attachment 56302 [details]
BPEL Log file
Comment 5 gaikokujin 2008-02-08 02:43:42 UTC
Kiran Bhumana of the Open ESB Community (http://open-esb.org), sent to entpack alias:

I am not sure where to file this bug and hence sending it to NBentpack alias. Please get this resolved.

I am using the NB enterprise pack from http://deadlock.netbeans.org/hudson/job/sierra/760/ (build 760). After opening
few projects (I have BPEL project, EJB project and CompApp project) and after a while I get the following exception in a
pop-up. The following is pasted from the log file. Log file is attached as well. After this exception, I loose all my
menu actions and NB toolbars. Look at the screen shot below. This is a P1 bug. After this I can't work with the IDE.

SEVERE [org.openide.util.RequestProcessor]
org.openide.filesystems.FileStateInvalidException: MultiFileObject@1b6ef20[Shortcuts]
    at org.openide.loaders.DataObject.find(DataObject.java:478)
Caused: org.openide.loaders.DataObjectNotFoundException: MultiFileObject@1b6ef20[Shortcuts]
    at org.openide.loaders.DataObject.find(DataObject.java:498)
    at org.openide.loaders.DataFolder.findFolder(DataFolder.java:515)
Caused: java.lang.IllegalArgumentException
    at org.openide.loaders.DataFolder.findFolder(DataFolder.java:517)
    at org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:151)
    at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:123)
    at org.netbeans.core.ShortcutsFolder.access$200(ShortcutsFolder.java:72)
    at org.netbeans.core.ShortcutsFolder$Listener.run(ShortcutsFolder.java:206)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
SEVERE [org.openide.util.RequestProcessor]
org.openide.filesystems.FileStateInvalidException: MultiFileObject@1b6ef20[Shortcuts]
    at org.openide.loaders.DataObject.find(DataObject.java:478)
Caused: org.openide.loaders.DataObjectNotFoundException: MultiFileObject@1b6ef20[Shortcuts]
    at org.openide.loaders.DataObject.find(DataObject.java:498)
    at org.openide.loaders.DataFolder.findFolder(DataFolder.java:515)
Caused: java.lang.IllegalArgumentException
    at org.openide.loaders.DataFolder.findFolder(DataFolder.java:517)
    at org.netbeans.core.ShortcutsFolder.readShortcuts(ShortcutsFolder.java:151)
    at org.netbeans.core.ShortcutsFolder.refresh(ShortcutsFolder.java:123)
    at org.netbeans.core.ShortcutsFolder.access$200(ShortcutsFolder.java:72)
    at org.netbeans.core.ShortcutsFolder$Listener.run(ShortcutsFolder.java:206)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)

I came to know on a different thread that the underlying File system API was changed recently. Maybe this is because of
that.
Comment 6 Winston Prakash 2008-02-08 06:25:48 UTC
I wasn't even doing anything in the IDE. I was writing an e-mail. Suddenly the error manager popup occurred and the menu
was gone!
Comment 7 Lukas Hasik 2008-02-08 07:39:20 UTC

*** This issue has been marked as a duplicate of 126521 ***