andrewpmast
14 years agoContributor
[Resolved] java.lang.reflect.InvocationTargetException?
What am I doing wrong?
I installed the latest LOADUI (snapshot too) on Ubuntu 11.04, but when I launch LOADUI, I get a java pop-up that looks like the attached image. I never have this type of problem running soapui, so I'm confused.
The Application Error details for Launch File text reads:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:." href="loadUI.jnlp">
<information>
<title>loadUI</title>
<vendor>eviware</vendor>
<homepage href="http://www.loadui.org/"/>
<description>loadUI</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+" java-vm-args="-Xms128m -Xmx768m -XX:MaxPermSize=128m -Dsun.java2d.noddraw=true"/>
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
<jar href="lib/loadui-launcher-1.0.2-SNAPSHOT.jar" main="true"/>
<jar href="lib/org.apache.felix.main-3.0.9-patched.jar"/>
<jar href="lib/commons-cli-1.2.jar"/>
<jar href="lib/jna-3.2.7.jar"/>
<jar href="lib/platform-3.2.7.jar"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.eviware.loadui.launcher.LoadUILauncher" />
<update check="timeout" policy="always" />
</jnlp>
The Application Error details for Exception reads:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1804)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1750)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1512)
at com.sun.javaws.Launcher.run(Launcher.java:130)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'X11': libX11.so: cannot open shared object file: No such file or directory
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
at com.sun.jna.Library$Handler.<init>(Library.java:140)
at com.sun.jna.Native.loadLibrary(Native.java:379)
at com.sun.jna.Native.loadLibrary(Native.java:364)
at com.sun.jna.platform.unix.X11.<clinit>(X11.java:347)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.getAlphaVisualIDs(WindowUtils.java:1221)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.isWindowAlphaSupported(WindowUtils.java:1171)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.setWindowTransparent(WindowUtils.java:1403)
at com.sun.jna.platform.WindowUtils.setWindowTransparent(WindowUtils.java:1549)
at com.eviware.loadui.launcher.api.SplashController.openSplash(SplashController.java:27)
at com.eviware.loadui.launcher.LoadUILauncher.processCommandLine(LoadUILauncher.java:222)
at com.eviware.loadui.launcher.LoadUILauncher.init(LoadUILauncher.java:151)
at com.eviware.loadui.launcher.LoadUILauncher.main(LoadUILauncher.java:62)
... 9 more
amast@VOX:~/eviware/loadUI-1.0.2-SNAPSHOT$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)
I installed the latest LOADUI (snapshot too) on Ubuntu 11.04, but when I launch LOADUI, I get a java pop-up that looks like the attached image. I never have this type of problem running soapui, so I'm confused.
The Application Error details for Launch File text reads:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="file:." href="loadUI.jnlp">
<information>
<title>loadUI</title>
<vendor>eviware</vendor>
<homepage href="http://www.loadui.org/"/>
<description>loadUI</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.6+" java-vm-args="-Xms128m -Xmx768m -XX:MaxPermSize=128m -Dsun.java2d.noddraw=true"/>
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
<jar href="lib/loadui-launcher-1.0.2-SNAPSHOT.jar" main="true"/>
<jar href="lib/org.apache.felix.main-3.0.9-patched.jar"/>
<jar href="lib/commons-cli-1.2.jar"/>
<jar href="lib/jna-3.2.7.jar"/>
<jar href="lib/platform-3.2.7.jar"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.eviware.loadui.launcher.LoadUILauncher" />
<update check="timeout" policy="always" />
</jnlp>
The Application Error details for Exception reads:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launcher.java:1804)
at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1750)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java:1512)
at com.sun.javaws.Launcher.run(Launcher.java:130)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'X11': libX11.so: cannot open shared object file: No such file or directory
at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:163)
at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:236)
at com.sun.jna.Library$Handler.<init>(Library.java:140)
at com.sun.jna.Native.loadLibrary(Native.java:379)
at com.sun.jna.Native.loadLibrary(Native.java:364)
at com.sun.jna.platform.unix.X11.<clinit>(X11.java:347)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.getAlphaVisualIDs(WindowUtils.java:1221)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.isWindowAlphaSupported(WindowUtils.java:1171)
at com.sun.jna.platform.WindowUtils$X11WindowUtils.setWindowTransparent(WindowUtils.java:1403)
at com.sun.jna.platform.WindowUtils.setWindowTransparent(WindowUtils.java:1549)
at com.eviware.loadui.launcher.api.SplashController.openSplash(SplashController.java:27)
at com.eviware.loadui.launcher.LoadUILauncher.processCommandLine(LoadUILauncher.java:222)
at com.eviware.loadui.launcher.LoadUILauncher.init(LoadUILauncher.java:151)
at com.eviware.loadui.launcher.LoadUILauncher.main(LoadUILauncher.java:62)
... 9 more
amast@VOX:~/eviware/loadUI-1.0.2-SNAPSHOT$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)