Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError

643 views
Skip to first unread message

wholder

unread,
Oct 1, 2018, 5:03:17 PM10/1/18
to OpenPnP
I'm trying to build OpenPnP using the latest version of IntelliJ IDEA.  I Imported the project using;

  File>New->Project From VersionControl->Git

and everything seemed to import and build properly.  However, when I try to run the code, I get this exception chain:

2018-10-01 13:56:13 SystemLogger ERROR: Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
2018-10-01 13:56:13 SystemLogger ERROR: at org.openpnp.gui.MainFrame.<init>(MainFrame.java:979)
2018-10-01 13:56:13 SystemLogger ERROR: at org.openpnp.Main$1.run(Main.java:152)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventQueue.access$500(EventQueue.java:97)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventQueue$3.run(EventQueue.java:709)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventQueue$3.run(EventQueue.java:703)
2018-10-01 13:56:13 SystemLogger ERROR: at java.security.AccessController.doPrivileged(Native Method)
2018-10-01 13:56:13 SystemLogger ERROR: at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
2018-10-01 13:56:13 SystemLogger ERROR: at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
2018-10-01 13:56:13 SystemLogger ERROR: Caused by: java.util.MissingResourceException: Can't find bundle for base name org.openpnp.translations, locale en_US
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1564)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1387)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.getBundle(ResourceBundle.java:773)
2018-10-01 13:56:13 SystemLogger ERROR: at org.openpnp.Translations.<clinit>(Translations.java:9)
2018-10-01 13:56:13 SystemLogger ERROR: ... 16 more
2018-10-01 13:56:13 SystemLogger ERROR: Caused by: java.lang.NoClassDefFoundError: org/openpnp/translations (wrong name: org/openpnp/Translations)
2018-10-01 13:56:13 SystemLogger ERROR: at java.lang.ClassLoader.defineClass1(Native Method)
2018-10-01 13:56:13 SystemLogger ERROR: at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
2018-10-01 13:56:13 SystemLogger ERROR: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
2018-10-01 13:56:13 SystemLogger ERROR: at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
2018-10-01 13:56:13 SystemLogger ERROR: at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
2018-10-01 13:56:13 SystemLogger ERROR: at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
2018-10-01 13:56:13 SystemLogger ERROR: at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
2018-10-01 13:56:13 SystemLogger ERROR: at java.security.AccessController.doPrivileged(Native Method)
2018-10-01 13:56:13 SystemLogger ERROR: at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
2018-10-01 13:56:13 SystemLogger ERROR: at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
2018-10-01 13:56:13 SystemLogger ERROR: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
2018-10-01 13:56:13 SystemLogger ERROR: at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2640)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1501)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.findBundle(ResourceBundle.java:1465)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)
2018-10-01 13:56:13 SystemLogger ERROR: at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361)
2018-10-01 13:56:13 SystemLogger ERROR: ... 18 more

So, what am I doing wrong?

Wayne

Jason von Nieda

unread,
Oct 1, 2018, 10:44:59 PM10/1/18
to ope...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "OpenPnP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpnp+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openpnp/d30bcce5-199b-4e7b-a400-b54879dfd5fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Edmunds Sprudzs

unread,
Jun 7, 2022, 7:40:23 AM6/7/22
to OpenPnP
I have the same error when I try to open ReferenceNozzleN1 on Win10 machine. I can create a new nozzle and then access the window, but otherwise clicking the ReferenceNozzleN1 does not open the settings screen, but produces the above reported rows of error in Log window.

What can I do to fix this?

Edmunds

Thuc

unread,
Jun 13, 2022, 10:41:07 AM6/13/22
to OpenPnP
Hi Edmunds,

I have same error on windows 7 32 bit. What I did is open the machine.xml, delete all nozzles, then re-add them in openpnp GUI.

Thuc

Reply all
Reply to author
Forward
0 new messages