InvocationTargetException

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
james.peterson
Posts: 1
Joined: 16 May 2022, 22:40

InvocationTargetException

Post by james.peterson »

I am getting this error on OpenWebStart 1.5.2 on linux only. I have tried on Win and Mac and no error.
I am trying to run a java applet from UniversalDervices for its ISY platform. I have spoken with them and they point this way and I have seen posts on this forum pointing it at subsequent running applets and not the web start. I would appreciate this being dug into to resolve this issue. '

Linux 5.13.0-44-generic #49-Ubuntu SMP Wed May 18 13:28:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Code: Select all

[ITW-CORE][2022-06-07 08:26:31.317 MDT][INFO ][net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader] Application is trying to get permissions for http://10.7.1.66/web/insteon.jar, which was not added by standard way. Trying to download and verify!
[ITW-CORE][2022-06-07 08:26:31.322 MDT][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] isCached: CacheKey{location=http://10.7.1.66/web/insteon.jar, version=null} = true
[ITW-CORE][2022-06-07 08:26:32.375 MDT][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] isCached: CacheKey{location=http://10.7.1.66/web/insteon.jar, version=null} = true
[ITW-CORE][2022-06-07 08:26:32.376 MDT][INFO ][net.adoptopenjdk.icedteaweb.resources.cache.CacheImpl] isUpToDate: CacheKey{location=http://10.7.1.66/web/insteon.jar, version=null} = true
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at com.universaldevices.isyfinder.ISYUILoader.launch(Unknown Source)
	at com.universaldevices.isyfinder.ISYFinder.launch(Unknown Source)
	at com.universaldevices.isyfinder.ISYFinder.access$7(Unknown Source)
	at com.universaldevices.isyfinder.ISYFinder$8.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
	at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6400)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.IllegalAccessError: failed to access class com.universaldevices.ui.UPnPClientApplet$27 from class com.universaldevices.ui.UPnPClientApplet (com.universaldevices.ui.UPnPClientApplet$27 is in unnamed module of loader net.sourceforge.jnlp.runtime.classloader.JNLPClassLoader @7e6511dd; com.universaldevices.ui.UPnPClientApplet is in unnamed module of loader java.net.URLClassLoader @38e8fc6e)
	at com.universaldevices.ui.UPnPClientApplet.main(Unknown Source)
	at com.universaldevices.ui.UPnPClientApplet.main(Unknown Source)
	at com.universaldevices.client.ui.UDClientApplet.main(Unknown Source)
	... 45 more

Janak Mulani
Posts: 497
Joined: 24 Mar 2020, 13:37

Re: InvocationTargetException

Post by Janak Mulani »

Just to confirm that when you run the jnlp file with OWS on Win and Mac the app runs but the same jnlp file does not run on Linux?

Can you please send the logs from the time it runs on Win and from the time it fails on Linux?

Please see https://openwebstart.com/docs/OWSGuide.html#_logging

Post Reply