cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.reflect.InvocationTargetException when launching ESB

RobEricsson
Participant
0 Kudos

Hello,

I'm getting a java.lang.reflect.InvocationTargetException when launching ESB. I've tried restoring the archives and generating new signatures, clearing my local java cache and restarting the server.

I'm running NW 711 SP06 and are using Java 1.6.0_14-b08 on the client (actually the same system). This used to work and the integration directory works fine.

The full exception is below.

Thanks (and points) for any ideas.

java.lang.reflect.InvocationTargetException

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.sun.javaws.Launcher.executeApplication(Unknown Source)

at com.sun.javaws.Launcher.executeMainClass(Unknown Source)

at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)

at com.sun.javaws.Launcher.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.NoClassDefFoundError: com/sap/exception/standard/SAPIllegalArgumentException

at com.sap.guid.GUIDGeneratorFactory.initClusterID(GUIDGeneratorFactory.java:69)

at com.sap.guid.GUIDGeneratorFactory.getInstance(GUIDGeneratorFactory.java:33)

at com.sap.aii.utilxi.misc.api.GUIDFactory.getGuidGenerator(GUIDFactory.java:74)

at com.sap.aii.utilxi.misc.api.GUIDFactory.<init>(GUIDFactory.java:50)

at com.sap.aii.utilxi.misc.api.GUIDFactory.<clinit>(GUIDFactory.java:27)

at com.sap.aii.utilxi.applcomp.ApplCompLevel.<init>(ApplCompLevel.java:103)

at com.sap.aii.utilxi.applcomp.ApplCompLevel$Constants.<clinit>(ApplCompLevel.java:59)

at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.<init>(ExplicitApplicationComponents.java:287)

at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.setInstance(ExplicitApplicationComponents.java:250)

at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.getInstance(ExplicitApplicationComponents.java:256)

at com.sap.aii.ib.core.applcomp.ApplicationComponent.setTypeId(ApplicationComponent.java:276)

at com.sap.aii.ib.gui.misc.ApplicationBase.prepareStartup(ApplicationBase.java:210)

at com.sap.aii.ibrep.gui.appl.ApplicationImpl.start(ApplicationImpl.java:137)

at com.sap.aii.ibrep.gui.appl.ApplicationImpl.main(ApplicationImpl.java:116)

... 9 more

Caused by: java.lang.ClassNotFoundException: com.sap.exception.standard.SAPIllegalArgumentException

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

... 23 more

Accepted Solutions (0)

Answers (1)

Answers (1)

RobEricsson
Participant
0 Kudos

A workaround: starting with the repository.jnlp file from a system where the ESB was working, I replaced all of the references to the server address, port and SID to point to the server that wasn't working and saved the resulting repository.jnlp. Clicking on that jnlp file launched the ESB without error.

I still don't know the root cause of the problem, but this seems to be an acceptable workaround for now.

Rob