cancel
Showing results for 
Search instead for 
Did you mean: 

IncompatibleClassChangeError

Former Member
0 Kudos

Hi!

I' m trying to implement a Module (stateless session bean) for XIs Module Processor. When I call a method on the ModuleContext, the following Exception is thrown:

[code]com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.

at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0.process(ModuleLocalLocalObjectImpl0.java:118)

at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:252)

at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)

at com.sap.aii.adapter.file.File2XI.send(File2XI.java:3125)

at com.sap.aii.adapter.file.File2XI.processFileListFile2XI.java:1299)

at com.sap.aii.adapter.file.File2XI.invokeFile2XI.java:650)

at com.sap.aii.af.service.scheduler.JobBroker$Worker.runJobBroker.java:450)

at com.sap.engine.core.thread.impl3.ActionObject.runActionObject.java:37)

at java.security.AccessController.doPrivileged(NativeMethod)

at com.sap.engine.core.thread.impl3.SingleThread.executeSingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.runSingleThread.java:170)

Caused by: java.lang.IncompatibleClassChangeError

at at.snapconsult.test.AdapterModuleTest.processAdapterModuleTest.java:68)

at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0.process(ModuleLocalLocalObjectImpl0.java:103)

... 10 more[/code]

Has anybody got ideas about the cause?

Regards,

Thomas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thomas,

I guess this issue is due to java serialization.

Most probably, serialVersionUID static field is missing in java.io.Serializable interface implementation.

VS

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Thomas,

Check your module jars version are compatible with XI's current SP level you are working on ! If they are not compatible, download the correct verion and try.

If this doesnt help, please post the complete exception stack.

Regards,

Uma