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 - Ide misbehaves after org.openide.filesystems.FileStateInvalidException
Summary: Ide misbehaves after org.openide.filesystems.FileStateInvalidException
Status: RESOLVED DUPLICATE of bug 126521
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-07 17:42 UTC by Winston Prakash
Modified: 2008-12-22 11:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Attaching screen shot (41.05 KB, image/jpeg)
2008-02-07 18:00 UTC, Winston Prakash
Details
BPEL Screenshot (59.03 KB, image/jpeg)
2008-02-08 02:40 UTC, gaikokujin
Details
BPEL Log file (20.64 KB, application/x-compressed)
2008-02-08 02:41 UTC, gaikokujin
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***