Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

InvocationTargetException - how to resolve?

843802May 18 2010 — edited May 19 2010
Good day all. First post here.

I've never had a Java error before, at least never had one that I knew about. Today I cranked up my laptop and tried to open a jnlp file I'd never used before. The file links to an online database app.

The jnlp file opens up fine within my browser (Firefox 3.6), but the database app doesn't open.

Could someone please help me interpret all the problems, and how to fix them?

Here's the error I get:

Error: Unexpected Exception: java.lang.reflect.InvocationTargetException

followed by:

<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for EPC Application Prototype -->
<jnlp spec="1.0+" codebase="http://epc-prod.startekinfo.com/EPC-net/servlets">
<information>
<title>EPC net</title>
<vendor>Snap-on Business Solutions</vendor>
<homepage href="http://java.sun.com/products/javawebstart/needdownload.html"/>
<description>EPC net</description>
<description kind="short">EPC net Application</description>
<icon href="images/icon.gif"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="epc.jar" version="1.23.3.0"/>
<extension name="EWA net Client Tools Package" href="http://epc-prod.startekinfo.com/EWA-net/jnlp/client_res/client_tools_1.11.174.68.jnlp"/>
</resources>
<application-desc main-class="com.proquest.epc.view.impl.MBEPCApplication ">
<argument>http://epc-prod.startekinfo.com/EWA-net/ewa-net;jsessionid=0000H2TR4RjOUEaMJO0FMKNZ5TK:144tanp ro?appid=150&userid=epc08591&sessionid=efk4j59C6Yz vVRkVn8iF1Gz&license=start</argument>
<argument>userid=epc08591</argument>
<argument>LookAndFeel=Automatic</argument>
</application-desc>
</jnlp>

followed by:

java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.javaws.Launcher.executeApplication(Launche r.java:1749)
at com.sun.javaws.Launcher.executeMainClass(Launcher. java:1695)
at com.sun.javaws.Launcher.doLaunchApp(Launcher.java: 1477)
at com.sun.javaws.Launcher.run(Launcher.java:129)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.hp.tis.ewo.common.win32.TerminalServer
at com.hp.tis.ewo.common.communication.CommChannel.<i nit>(CommChannel.java:372)
at com.hp.tis.ewo.ewanapi.api.ExternalCallInterface.i sRunning(ExternalCallInterface.java:340)
at com.proquest.epc.view.impl.MBEPCApplication.wisNet Check(MBEPCApplication.java:76
at com.proquest.epc.view.impl.MBEPCApplication.main(M BEPCApplication.java:420)
... 9 more

Many thanks.
Tom
I'm a computer user, and not a Java expert.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2010
Added on May 18 2010
3 comments
3,240 views