Exception In Thread "main" java.lang.ClassFormatError: Incompatible magic value 0 in class file com/agile/api/pc/Session
(Doc ID 2232364.1)
Last updated on APRIL 04, 2023
Applies to:
Oracle Agile Product Collaboration - Version 9.3.4.0 and laterInformation in this document applies to any platform.
Symptoms
On : 9.3.4.0 version, SDK (PC)
When attempting to run standalone java code which uses Agile SDK API,
the following error occurs.
ERROR
-----------------------
Exception in thread "main" java.lang.ClassFormatError: Incompatible magic value 0 in class file com/agile/api/pc/Session
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at com.agile.api.NetworkClassLoader.findClass(NetworkClassLoader.java:81)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at com.agile.api.AgileSessionFactory.createSession(AgileSessionFactory.java:1026)
at com.xxxxxxx.agile.sync.utility.SyncUtility.getAgileSession(SyncUtility.java:65)
at com.xxxxxxx.agile.sync.SyncAttributes.executeMainMethod(SyncAttributes.java:85)
at com.xxxxxxx.agile.sync.SyncAttributes.main(SyncAttributes.java:53)
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1.Configure the SDK standalone code in eclipse IDE
2. try to run it, error occurs
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |