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: | java.util.MissingResourceException: No such bundle org.netbeans.modules.debugger.jpda.ui.Bundle | ||
---|---|---|---|
Product: | javafx | Reporter: | Jaroslav Pospisil <jpospisil> |
Component: | Debugger | Assignee: | Adam Sotona <asotona> |
Status: | VERIFIED WONTFIX | ||
Severity: | blocker | CC: | blaha, ca-nb, exceptions_reporter, fzamboj, issues, ivansidorkin, jglick, jtulach, matusdekanek, mmirilovic, pgebauer, pribyl, saubrecht, tpavek |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=153733 | ||
Issue Type: | DEFECT | Exception Reporter: | 153733 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
Jaroslav Pospisil
2009-07-15 14:07:38 UTC
Created attachment 84778 [details]
stacktrace
Build: NetBeans IDE 6.7.1 RC (Build 200907150227) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-13-generic, amd64 User Comments: run 671 with fresh userdir Stacktrace: java.util.MissingResourceException: No such bundle org.netbeans.modules.debugger.jpda.ui.Bundle<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:440)<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:373)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:201)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:228)<br/> at org.openide.loaders.DataNode.getDisplayName(DataNode.java:190)<br/> at org.openide.awt.MenuBar$LazyMenu.updateProps(MenuBar.java:514)<br/> Created attachment 84779 [details]
stacktrace
I guess this may be showstopper for 6.7.1, it's kinda unpleasant to see an exception right after start ... I can't reproduce it ... using All IDE from zip. I have full IDE from installer, JDK 1.6.0_14, Win Vista it's reproducible if you install from netbeans-6.7.1rc-linux.sh so it looks like installer problem after talk with jpospisil I increase to P1 as a showstopper for 6.7.1. Build: NetBeans IDE 6.7.1 RC (Build 200907150227) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.util.MissingResourceException: No such bundle org.netbeans.modules.debugger.jpda.ui.Bundle<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:440)<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:373)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:201)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:228)<br/> at org.openide.loaders.DataNode.getDisplayName(DataNode.java:190)<br/> at org.openide.awt.MenuBar$LazyMenu.updateProps(MenuBar.java:514)<br/> Created attachment 84785 [details]
stacktrace
Definitely stopper for NB 6.7.1 - please investigate and fix ASAP. Thanks in advance. Issue 166849 has been resolved, but only as worksforme, it does not seem that there were any related fixes committed. The stack trace is still the same, so I guess this is still the same issue. *** Issue 166849 has been marked as a duplicate of this issue. *** Build: NetBeans IDE 6.7.1 RC (Build 200907150227) VM: Java HotSpot(TM) Client VM, 1.5.0_19-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_19-b02 OS: SunOS, 5.11, x86 User Comments: started NB Stacktrace: java.util.MissingResourceException: No such bundle org.netbeans.modules.debugger.jpda.ui.Bundle<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:440)<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:373)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:201)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:228)<br/> at org.openide.loaders.DataNode.getDisplayName(DataNode.java:190)<br/> at org.openide.awt.MenuBar$LazyMenu.updateProps(MenuBar.java:514)<br/> Created attachment 84824 [details]
stacktrace
This issue already has 12 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153733 Actually caused by JavaFX debugger. org/netbeans/modules/debugger/javafx/resources/mf-layer.xml references "org.netbeans.modules.debugger.jpda.ui.Bundle" as localizing bundle for a menu. The bundle file is from JPDA debugger, but the JavaFX module does not depend on JPDA debugger module. So if JavaFX debugger is enabled but JPDA debugger is not, the bundle file is missing. Build: NetBeans IDE 6.7.1 RC (Build 200907162301) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux, 2.6.28-13-generic, i386 User Comments: started IDE Stacktrace: java.util.MissingResourceException: No such bundle org.netbeans.modules.debugger.jpda.ui.Bundle<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:440)<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:373)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:201)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:228)<br/> at org.openide.loaders.DataNode.getDisplayName(DataNode.java:190)<br/> at org.openide.awt.MenuBar$LazyMenu.updateProps(MenuBar.java:514)<br/> Created attachment 84877 [details]
stacktrace
This issue already has 14 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=153733 It will be fixed in NB 6.7.1 - but not as a part of Patch 1 Added dependence to kit CS cd01793818c3 Build: NetBeans IDE 6.7.1 RC (Build 200907162301) VM: Java HotSpot(TM) Client VM, 16.0-b03, Java(TM) SE Runtime Environment, 1.7.0-ea-b59 OS: Windows XP, 5.1, x86 User Comments: I just launched the IDE (with clean userdir) Stacktrace: java.util.MissingResourceException: No such bundle org.netbeans.modules.debugger.jpda.ui.Bundle<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:440)<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:373)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:201)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:228)<br/> at org.openide.loaders.DataNode.getDisplayName(DataNode.java:190)<br/> at org.openide.awt.MenuBar$LazyMenu.updateProps(MenuBar.java:514)<br/> Created attachment 84920 [details]
stacktrace
Build: NetBeans IDE 6.7.1 RC (Build 200907162301) VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Linux, 2.6.28-13-generic, amd64 User Comments: started netbeans wuth clean userdir Stacktrace: java.util.MissingResourceException: No such bundle org.netbeans.modules.debugger.jpda.ui.Bundle<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:440)<br/> at org.openide.util.NbBundle.getBundle(NbBundle.java:373)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:201)<br/> at org.netbeans.core.startup.layers.SystemFileSystem.annotateName(SystemFileSystem.java:228)<br/> at org.openide.loaders.DataNode.getDisplayName(DataNode.java:190)<br/> at org.openide.awt.MenuBar$LazyMenu.updateProps(MenuBar.java:514)<br/> Created attachment 84925 [details]
stacktrace
i didn't reproduce this issue in Product Version: NetBeans IDE 6.7.1 (Build 200907192301) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02 Checked javafx repository ... looks like it's fixed : http://hg.netbeans.org/javafx/rev/cd01793818c3 ... so do not forget to close an issue once you fix it, please. Just FYI: This fix looks very strange. Is not Java FX debugger a copy of JPDA debugger? Then does the copy have to depend on it's original? Doesn't it reference a wrong bundle? I managed to simulate the problem locally. Basically the exception is thrown due to following folder: <!-- Main menu --> <folder name="Menu"> <folder name="RunProject"> <folder name="Stack"> <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.debugger.jpda.ui.Bundle"/> <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/debugger/resources/actions/Folder.gif"/> This is a layer defined in org.netbeans.modules.debugger.jpda.ui, but this module is not in the list of enabled ones: org.netbeans.api.debugger/1 [1.17.1 200907162301] org.netbeans.api.debugger.jpda/2 [2.19.1 200907162301] org.netbeans.modules.debugger.jpda.ant [1.11.1 200907162301] org.netbeans.spi.debugger.ui/1 [2.16.2 200907162301] org.netbeans.modules.debugger.jpda.projects [1.5.2 200907162301] org.netbeans.modules.debugger.jpda/2 [1.23.2 200907162301] org.netbeans.modules.ant.debugger/1 [1.11.1.2 200907162301] org.netbeans.modules.web.client.javascript.debugger.ant [0.7.1 200907162301] All I had to do was to install /net/smetiste/space/builds/netbeans/6.7.1/rc/2009-07-16_23-01-10/bundles/netbeans-6.7.1rc-linux.sh and patch java.kit with following patch: --- a/java.kit/nbproject/project.xml Wed Jul 22 15:59:21 2009 +0200 +++ b/java.kit/nbproject/project.xml Wed Jul 22 17:31:33 2009 +0200 @@ -35,6 +35,19 @@ </run-dependency> </dependency> <dependency> + <code-name-base>org.netbeans.modules.debugger.jpda</code-name-base> + <run-dependency> + <release-version>2</release-version> + <specification-version>1.23.2</specification-version> + </run-dependency> + </dependency> + <dependency> + <code-name-base>org.netbeans.modules.debugger.jpda.projects</code-name-base> + <run-dependency> + <specification-version>1.5.2</specification-version> + </run-dependency> + </dependency> + <dependency> <code-name-base>org.netbeans.modules.i18n</code-name-base> <run-dependency> <release-version>1</release-version> IMHO: It's mad to add a module dependency just because of some resource bundle. Is the *reference* to the resource bundle correct? Should not it reference a resource bundle from JavaFX debugger??? So what actually is the issue, and why is this assigned to module system? If you want org.netbeans.modules.debugger.jpda.ui enabled, include it in the deps of java.kit. Opps, my mistake. I used "Open Layer(s)" and got two modules defining the file (cnd and jpda). However I have not realized that the javafx is in another repository and was not shown to me. The only thing that makes me believe this might be fixed in platform/module system is following hint: diff -r 9b11bbd93c65 core.startup/src/org/netbeans/core/startup/layers/SystemFileSystem.java --- a/core.startup/src/org/netbeans/core/startup/layers/SystemFileSystem.java Wed Jul 22 15:59:21 2009 +0200 +++ b/core.startup/src/org/netbeans/core/startup/layers/SystemFileSystem.java Wed Jul 22 18:22:42 2009 +0200 @@ -51,6 +51,7 @@ import java.io.ObjectStreamException; import java.io.Serializable; import java.net.URL; +import java.util.Arrays; import java.util.HashSet; import java.util.MissingResourceException; import java.util.ResourceBundle; @@ -204,9 +205,8 @@ // ignore--normal } } catch (MissingResourceException ex) { - ModuleLayeredFileSystem.err.log( - Level.WARNING, - "Computing display name for " + fo, ex); // NOI18N + Exceptions.attachMessage(ex, "Computing display name for " + fo + " defined by " + Arrays.toString((Object[])fo.getAttribute("layers"))); + ModuleLayeredFileSystem.err.log(Level.WARNING, null, ex); // ignore } } Definitely no this hint in platform is not candidate for 6.7.1. I am sorry if I messed up something with priorities. Definitely no hint in platform like this shall be candidate for 6.7.1. I am sorry if I messed up something. I can put in diagnostics of that kind (edited for style) in core-main #985418c112d9, but I guess the actual problem is unfixed and somehow in javafx. The changeset javafx #cd01793818c3 looks strange to me; seems like the fix should be to define the folder name in the same module, not to introduce an artificial module dependency. The fix is probably ok for 6.7.1. The problem does not appear anyway since JavaFX is properly included in ergonomics. Since this code is not supposed to be used with 6.8 dev, and for 6.8 the JavaFX debugger will be completely rewritten (declaring direct dependencies on java debugger modules), there's probably nothing to do with this in JavaFX (add another fix to release67_fixes does not make sense). I suggest wontfix. Integrated into 'main-golden', will be available in build *200907231401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/985418c112d9 User: Jesse Glick <jglick@netbeans.org> Log: Better diagnostics for #168614: missing bundle for SystemFileSystem.localizingBundle. I agree with WONTFIX as the added dependency workaround works for 6.7.1 and the debugger will be completelly new for 6.8 This issue was caused by copy/paste programing of the JavaFX debugger module long time ago and appears only with the new all-bundle and ergonomics. All previous releases did not created a situation when org.netbeans.modules.debugger.jpda.ui is not loaded and JavaFX debugger is. The JavaFX debugger is rewritten. *** Bug 184009 has been marked as a duplicate of this bug. *** |