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.
Build: NetBeans IDE Dev (Build 20130809-00cb032bfc0c) VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15 OS: Linux User Comments: mkozeny: Problem invoking MavenPlatformJarProvider.getPlatformJars() from event dispatch thread when changing locale in InternationalizationResourceBundleBrandingPanel. Control on invoking from EDT could be possibly removed... Stacktrace: java.lang.AssertionError: should not be called from EQ at org.netbeans.modules.maven.apisupport.MavenPlatformJarProvider.getPlatformJars(MavenPlatformJarProvider.java:87) at org.netbeans.modules.apisupport.project.ui.branding.InternationalizationResourceBundleBrandingPanel.prepareTree(InternationalizationResourceBundleBrandingPanel.java:263) at org.netbeans.modules.apisupport.project.ui.branding.InternationalizationResourceBundleBrandingPanel.access$200(InternationalizationResourceBundleBrandingPanel.java:108) at org.netbeans.modules.apisupport.project.ui.branding.InternationalizationResourceBundleBrandingPanel$7$1$1.run(InternationalizationResourceBundleBrandingPanel.java:851) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
Created attachment 138673 [details] stacktrace
the assert is there because the call can be fairly costly (slow) in some cases. org.netbeans.modules.apisupport.project.ui.branding.InternationalizationResourceBundleBrandingPanel should makes sure to call the method outside of AWT thread
https://hg.netbeans.org/core-main/rev/fa35770ac336
Integrated into 'main-silver', will be available in build *201308212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/fa35770ac336 User: Martin Kozeny <mkozeny@netbeans.org> Log: #234364: Loading of platform jars is invoked outside AWT thread.