Notice: Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #1811 (closed Bug: fixed)

Opened 4 months ago

Last modified 3 months ago

"AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/openide/util/NbBundle

Reported by: chne@… Owned by: bflorat
Priority: 5, normal Milestone: 1.9.6
Component: Packaging Version: 1.9.4
Keywords: Cc: drazzib,

Description

It is not possible to me to add a new folder as music source. While trying to add a new source the following exception occurred. My System: Kubuntu 11.10 64bit Java JDK 1.6 in /opt JAVA_HOME=/opt/jdk16 Jajuk 1.9.4 from Ubuntu Multiverse

Stacktrace while clicking the new source button:

Exception in thread "AWT-EventQueue?-0" java.lang.NoClassDefFoundError?: org/openide/util/NbBundle

at org.netbeans.validation.api.builtin.IsANumberValidator.validate(IsANumberValidator.java:71) at org.netbeans.validation.api.builtin.IsANumberValidator.validate(IsANumberValidator.java:54) at org.netbeans.validation.api.builtin.Validators.validate(Validators.java:485) at org.netbeans.validation.api.builtin.Validators.validate(Validators.java:63) at org.netbeans.validation.api.builtin.OrValidator?.validate(OrValidator?.java:61) at org.netbeans.validation.api.conversion.StringToDocumentConverter?$DocValidator?.validate(StringToDocumentConverter?.java:69) at org.netbeans.validation.api.conversion.StringToDocumentConverter?$DocValidator?.validate(StringToDocumentConverter?.java:59) at org.netbeans.validation.api.ui.ValidationGroupImpl?$3V.validate(ValidationGroupImpl?.java:480) at org.netbeans.validation.api.ui.ValidationGroupImpl?.validateAll(ValidationGroupImpl?.java:533) at org.netbeans.validation.api.ui.ValidationGroup?.validateAll(ValidationGroup?.java:161) at org.netbeans.validation.api.ui.ValidationPanel?.addNotify(ValidationPanel?.java:220) at java.awt.Container.addNotify(Container.java:2576) at javax.swing.JComponent.addNotify(JComponent.java:4685) at java.awt.Container.addNotify(Container.java:2576) at javax.swing.JComponent.addNotify(JComponent.java:4685) at java.awt.Container.addNotify(Container.java:2576) at javax.swing.JComponent.addNotify(JComponent.java:4685) at javax.swing.JRootPane.addNotify(JRootPane.java:738) at java.awt.Container.addNotify(Container.java:2576) at java.awt.Window.addNotify(Window.java:662) at java.awt.Dialog.addNotify(Dialog.java:741) at java.awt.Window.pack(Window.java:703) at org.jajuk.ui.wizard.DeviceWizard?.<init>(DeviceWizard?.java:252) at org.jajuk.ui.views.DeviceView?$2.mouseClicked(DeviceView?.java:241) at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253) at java.awt.Component.processMouseEvent(Component.java:6293) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6055) at java.awt.Container.processEvent(Container.java:2039) at java.awt.Component.dispatchEventImpl(Component.java:4653) at java.awt.Container.dispatchEventImpl(Container.java:2097) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher?.retargetMouseEvent(Container.java:4575) at java.awt.LightweightDispatcher?.processMouseEvent(Container.java:4245) at java.awt.LightweightDispatcher?.dispatchEvent(Container.java:4166) at java.awt.Container.dispatchEventImpl(Container.java:2083) at java.awt.Window.dispatchEventImpl(Window.java:2482) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue?.dispatchEventImpl(EventQueue?.java:648) at java.awt.EventQueue?.access$000(EventQueue?.java:84) at java.awt.EventQueue?$1.run(EventQueue?.java:607) at java.awt.EventQueue?$1.run(EventQueue?.java:605) at java.security.AccessController?.doPrivileged(Native Method) at java.security.AccessControlContext?$1.doIntersectionPrivilege(AccessControlContext?.java:87) at java.security.AccessControlContext?$1.doIntersectionPrivilege(AccessControlContext?.java:98) at java.awt.EventQueue?$2.run(EventQueue?.java:621) at java.awt.EventQueue?$2.run(EventQueue?.java:619) at java.security.AccessController?.doPrivileged(Native Method) at java.security.AccessControlContext?$1.doIntersectionPrivilege(AccessControlContext?.java:87) at java.awt.EventQueue?.dispatchEvent(EventQueue?.java:618) at java.awt.EventDispatchThread?.pumpOneEventForFilters(EventDispatchThread?.java:269) at java.awt.EventDispatchThread?.pumpEventsForFilter(EventDispatchThread?.java:184) at java.awt.EventDispatchThread?.pumpEventsForHierarchy(EventDispatchThread?.java:174) at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:169) at java.awt.EventDispatchThread?.pumpEvents(EventDispatchThread?.java:161) at java.awt.EventDispatchThread?.run(EventDispatchThread?.java:122)

Attachments

Change History

Changed 4 months ago by bflorat

  • priority changed from 5, normal to 8, high
  • milestone changed from To Be Qualified by Jajuk Team to 1.9.6

Thanks for reporting

Would you also please provide the full path and device name ?

Note also that Jajuk 1.9.5 is available (but I don't think it may fix your specific issue)

Changed 3 months ago by bflorat

  • cc drazzib, added
  • priority changed from 8, high to 5, normal
  • status changed from new to closed
  • component changed from Functional to Packaging
  • resolution set to fixed

The simple-validation-0.4.jar we provide contains the required org.openide.util.NbBundle? class.

After further investigations, I figured out the jar contains a error in its MANIFEST than may confuse some JVM (through I cannot reproduce the problem) :

Manifest-Version: 1.0 Ant-Version: Apache Ant 1.7.1 Created-By: 16.0-b02 (Sun Microsystems Inc.) Class-Path: lib/nbstubs.jar

I dropped the Class-Path entry, should fix the issue.

Changed 3 months ago by bflorat

Pushed into develop and 1.9.6 branch.

Changed 3 months ago by drazzib

Hi Bertrand,

FTR, I've also fixed this bug in libsimple-validation-java 0.4-3 [1] upload in Debian unstable.

[1] http://packages.qa.debian.org/libs/libsimple-validation-java/news/20120219T120344Z.html

Cheers,

Changed 3 months ago by bflorat

Fine, thanks a lot !

Add/Change #1811 ("AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/openide/util/NbBundle)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.