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.
Summary: | org.openide.filesystems.FileStateInvalidException: File Keymaps cannot be found in folder . | ||
---|---|---|---|
Product: | platform | Reporter: | kiaron |
Component: | Filesystems | Assignee: | Jaroslav Havlin <jhavlin> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3.1 | ||
Hardware: | PC | ||
OS: | Windows 7 x64 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
log file
JNLP file |
Created attachment 140731 [details]
JNLP file
JNLP config, maybe help
Seems JNLP related; please investigate and/or advise if something is to be fixed in keymap storage. Thanks. Regular IOException from filesystems. Sorry I don't understand; the error came from creating a 'Keymap' folder under FileUtil.getConfigRoot(). The MultiFO tried to create the folder on the underlying FS, then refreshed, then still did not find the supposedly just created folder. Is that an usual or expected behaviour ? The "Keymaps" folder is normally (in the IDE) available in the XML layer filesystem (it is defined in module "defaults"), but it wasn't found, so LayersBridge.getRootFolder tried to create it and failed (unexpectedly). Does your platform application contain module "defaults"? What is the userdir if the application is started via JNLP? Is it writeable? Can you please attach an IDE Log with FINE-FINEST messages disabled? This log includes a lot of details, but its beginning is missing (with info about enabled modules, userdir, JDK, etc.). Thank you for your help. I'm sorry, I need more info to understand the bug.
Closing for now. Please answer (some of) the questions and reopen this issue.
Thank you.
> Does your platform application contain module "defaults"?
> What is the userdir if the application is started via JNLP? Is it writeable?
> Can you please attach an IDE Log with FINE-FINEST messages disabled? This
> log includes a lot of details, but its beginning is missing (with info about
> enabled modules, userdir, JDK, etc.).
|
Created attachment 140730 [details] log file JDK: jdk1.6.0_25 Netbeans Platform: RELEASE731 When I start application based on Netbeans Platform from Webstart and try open Options panel, I catch next exception: SEVERE: File Keymaps cannot be found in folder . org.openide.filesystems.FileStateInvalidException: File Keymaps cannot be found in folder . at org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:1127) at org.openide.filesystems.FileUtil.createFolder(FileUtil.java:707) at org.openide.filesystems.MultiFileObject.createFolder(MultiFileObject.java:1114) [catch] at org.netbeans.modules.options.keymap.LayersBridge.getRootFolder(LayersBridge.java:679) at org.netbeans.modules.options.keymap.LayersBridge.refreshKeymapNames(LayersBridge.java:194) .... (All log attached in the file) If application started from Netbeans IDE or *.exe file - everything Ok.