Jump to content

Uncaught exception! - When running scripts with a pop up menu


Recommended Posts

Posted

Here's the error that I've been getting progressively over the past month. 

Sometimes it happens, sometimes it doesn't I've had to delete my OSBot folder so many times to try to get this to work again, sometimes it works, sometimes it doesn't. 

Any help would be appreciated!

java.lang.NoClassDefFoundError: Could not initialize class org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopup
	at org.pushingpixels.substance.internal.contrib.jgoodies.looks.Options.isPopupDropShadowActive(Options.java:94)
	at org.pushingpixels.substance.internal.contrib.jgoodies.looks.common.ShadowPopupFactory.getPopup(ShadowPopupFactory.java:174)
	at javax.swing.plaf.PopupMenuUI.getPopup(Unknown Source)
	at javax.swing.JPopupMenu.showPopup(Unknown Source)
	at javax.swing.JPopupMenu.setVisible(Unknown Source)
	at javax.swing.JPopupMenu.show(Unknown Source)
	at javax.swing.JMenu.setPopupMenuVisible(Unknown Source)
	at javax.swing.JPopupMenu.menuSelectionChanged(Unknown Source)
	at javax.swing.MenuSelectionManager.setSelectedPath(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuUI.appendPath(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuUI.access$200(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(Unknown Source)
	at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
Posted

This used to happen to me but it got fixed lately, I'll try and find some temporary solutions in the meantime.

Back then I had to do a custom class like this:

public class ModalDialog extends JDialog {

}

and implement a custom JDialog but I understand it's too much effort and probably not worth it. Just worth mentioning!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...