Error occurs when running java web start?

J

Jack zhao

the following is the error message copied from java web start console.
--------------------------------------------------------------------------
java.lang.NoSuchMethodError:
sun.awt.windows.WToolkit.getNativeWindowHandleFromComponent(Ljava/awt/Component;)I

at com.mercury.jadin.utils.WinsunUtils14.internalFindHwnd(WinsunUtils14.java:24)

at com.mercury.jadin.utils.PDUtils.findHwnd(PDUtils.java:44)

at com.mercury.jadin.utils.Utils.isMaximized(Utils.java:1455)

at abstr.Java2C.resetWindowState(Java2C.java:1378)

at abstr.Java2C.addWindow(Java2C.java:1330)

at abstr.Java2C.addWindow(Java2C.java:1301)

at mercury.awt.cs.WindowCS.windowActivated(WindowCS.java:177)

at java.awt.AWTEventMulticaster.windowActivated(AWTEventMulticaster.java:328)

at java.awt.Window.processWindowEvent(Window.java:1119)

at javax.swing.JFrame.processWindowEvent(JFrame.java:266)

at java.awt.Window.processEvent(Window.java:1066)

at java.awt.Component.dispatchEventImpl(Component.java:3639)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Window.dispatchEventImpl(Window.java:1590)

at java.awt.Component.dispatchEvent(Component.java:3480)

at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1708)

at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:734)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:340)

at java.awt.Component.dispatchEventImpl(Component.java:3509)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Window.dispatchEventImpl(Window.java:1590)

at java.awt.Component.dispatchEvent(Component.java:3480)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

at java.awt.SentEvent.dispatch(SentEvent.java:50)

at java.awt.DefaultKeyboardFocusManager$DefaultKeyboardFocusManagerSentEvent.dispatch(DefaultKeyboardFocusManager.java:143)

at java.awt.DefaultKeyboardFocusManager.sendMessage(DefaultKeyboardFocusManager.java:169)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:245)

at java.awt.Component.dispatchEventImpl(Component.java:3509)

at java.awt.Container.dispatchEventImpl(Container.java:1623)

at java.awt.Window.dispatchEventImpl(Window.java:1590)

at java.awt.Component.dispatchEvent(Component.java:3480)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)

at java.awt.SequencedEvent.dispatch(SequencedEvent.java:93)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
 
V

VisionSet

Jack zhao said:
the following is the error message copied from java web start console.
--------------------------------------------------------------------------
java.lang.NoSuchMethodError:
sun.awt.windows.WToolkit.getNativeWindowHandleFromComponent(Ljava/awt/Compon
ent;)I
com.mercury.jadin.utils.WinsunUtils14.internalFindHwnd(WinsunUtils14.java:24
)

Just a guess but check the SDK version you are running is at least that of
the mercury code you are trying to run.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top