PDA

View Full Version : run time error



Houwei
05-22-2003, 02:59 PM
When I run my installer built using ANT, I got following error message from InstallShield Wizard:
An unhandled error occured - specifiy system property "is.debug" from more information.

Then I run "java -cp setup.jar -Dis.debug=1 run" and got following exception :
java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at run.main(run.java:74)

More information, When I build from command line (Of course, the installer built from IDE works perfect) using
1. using "java -cp <long classpath> com.installshield.isje.ISJE
myproj.xml -build"
2. using ANT.

The installer built from 1. works just fine, but the one built from 2.
failed and returned above error message. I already compared all classpath settings between these two and didn't find any difference.
Also, the installer setup.jar from 1. has 133K more than the one from 2.

Any thought about this error ?

Thanks in advance.

Jeff Dillon
05-22-2003, 03:29 PM
Make sure that when compiling and building, you do *not* have conversion.jar anywhere in your classpath.

Houwei
05-22-2003, 03:48 PM
Thanks Jeff.

It works fine after removing conversion.jar.