Troubleshooting
Problem
When invoking an import from JDBC Adapter,it fails with the following messages: [4/20/10 9:09:01:761 CDT] 00000052 ExceptionUtil E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "transactionNotSupportedActivitySessionNotSupported" on bean "BeanId(TOBDAL_MediationModuleApp#TOBDAL_MediationModuleEJB.jar#Module, null)". Exception data: com.ibm.websphere.sca.ServiceRuntimeException: DataBinding Exception thrown in J2CMethodBindingImpl.invoke() commonj.connector.runtime.DataBindingException: Failed to initialize cursor at com.ibm.ws.sca.internal.j2c.J2CMethodBindingImpl.invoke(J2CMethodBinding Impl.java:513) at com.ibm.ws.sca.internal.j2c.J2CInterfaceBindingImpl.invoke(J2CInterfaceB indingImpl.java:118) at com.ibm.ws.sca.internal.j2c.handler.J2CImportHandler.invokeDynamicImport (J2CImportHandler.java:1301) and java.lang.NullPointerException at com.ibm.j2ca.base.TypeFactory.createBeanProvider(TypeFactory.java:213) at com.ibm.j2ca.base.TypeFactory.getType(TypeFactory.java:186) at com.ibm.j2ca.base.WBIStructuredRecord.getType(WBIStructuredRecord.java:366) at com.ibm.j2ca.base.WBIStructuredRecord.initializeMetadata(WBIStructuredRecord.java:357) at com.ibm.j2ca.base.WBIStructuredRecord.initializeInput(WBIStructuredRecord.java:330)
Cause
Because the business object data sent to the JDBC adapter is null , the JDBC adapter could not generate the corresponding business object instances according to the schema definition from business object data. This will cause the JDBC adapter not to initialize cursor.
Resolving The Problem
Ensure that the business object sent to the JDBC adapter is not null. There is some validation against business object data to ensure that non-null data is sent to JDBC adapter.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21433008