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.
Created attachment 132077 [details] messages.log containing the FileNotFoundExceptions When upgrading NB from 7.2 to 7.3 I received two errors on startup: * Cannot load window system persistent data, user directory content is broken. Resetting to default layout... * Cannot load even default layout, using internally predefined configuration I dug into the messages.log file and found several FileNotFoundExceptions, e.g.: java.io.FileNotFoundException: Cannot find 'jar:file:/Applications/NetBeans/NetBeans%207.3.app/Contents/Resources/NetBeans/ide/modules/org-netbeans-modules-defaults.jar!/org/netbeans/modules/defaults/CityLights-EL-fontsColors.xml' The simple reason is that I renamed the app! It's not in the "NetBeans/NetBeans 7.3.app" folder anymore. It appears the path to NB is hardcoded somewhere.
Beyond the initial error dialogs, the actual side-effects are that sidebars don't work (you can't collapse windows such as Files, Projects, etc), syntax hilighting doesn't work, you can't ctrl/cmd-click on members, text hilighting (e.g. selecting text) doesn't work, etc. Essentially all editor features are gone beyond displaying text. NetBeans is reduced to being Notepad.
I would like to help with issue, but I need more exact steps. I suppose that you mean by upgrade that you download new version 7.3 from website. Therefore your steps were 1, Install 7.3 to /Applications/NetBeans/NetBeans%207.3.app 2, Rename folder /Applications/NetBeans/NetBeans%207.3.app to something else for example /Applications/NetBeans/MyNetBeans%207.3.app 3, Run Netbeans 7.3 first time with empty userdir? Am I correct?
Ok, I reproduce this succesfully with previously described steps
Editor.Settings are working only with FileObjects, there is no sign with caching path. Sending to FileSystems.
I can reproduce the problem, too. The old paths are cached, so you need to clear the cachedir (and probably also userdir). In my case, I removed these directories (and it helped): /Users/jhavlin/Library/Caches/NetBeans/7.4rc1 /Users/jhavlin/Library/Application Support/NetBeans/7.4rc1 If you need to use several instances of the same version (with different names), each of them may need its own cachedir and userdir. See: http://wiki.netbeans.org/FaqAlternateUserdir http://wiki.netbeans.org/FaqNetbeansConf I think this case is quite rare, so handling this on NetBeans side is not needed. Closing the issue as WORKSFORME. If clearing of the cachedir doesn't help you, please reopen the issue. Thanks for reporting.
No you cannot move or rename the Netbeans 8 app in OSX. It has to stay in /Applications/netbeans/ . This was introduced with version 7.3. It would be helpful if we can move the application to any dir we like. E.g. I organize my apps with subdirs like "code", "graphics", "audio" etc. Thanks for fixing ...
(In reply to ffx from comment #6) > No you cannot move or rename the Netbeans 8 app in OSX. It has to stay in > /Applications/netbeans/ . This was introduced with version 7.3. It should be possible if you edit the configuration file (netbeans.conf) so that correct userdir and cachedir is used. Did you try it? (I'm sorry, I cannot check it right now.)