on 12-18-2013 1:19 PM
Hi ,
I'm getting below exception in sender file communication channel for custom module deployed in my PI 7.1 server .I'm not getting where did i went wrong .Could you please help me in finding the bug.
Exception:
Error: javax.ejb.TransactionRolledbackLocalException: (Failed in component: sap.com/String_Replacement_EAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.pi.HPMIS.String_ReplacementBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.pi.HPMIS.String_ReplacementBean@1ca30d66 for bean sap.com/String_Replacement_EAR*xml|String_Replacement_EJB.jar*xml|String_Replacement in application sap.com/String_Replacement_EAR.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.auditlog.AuditAccess.addAuditLogEntry(com.sap.engine.interfaces.messaging.api.MessageKey, com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus, java.lang.String) of an object loaded from local variable 'audit'; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/String_Replacement_EAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.pi.HPMIS.String_ReplacementBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.pi.HPMIS.String_ReplacementBean@1ca30d66 for bean sap.com/String_Replacement_EAR*xml|String_Replacement_EJB.jar*xml|String_Replacement in application sap.com/String_Replacement_EAR.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.auditlog.AuditAccess.addAuditLogEntry(com.sap.engine.interfaces.messaging.api.MessageKey, com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus, java.lang.String) of an object loaded from local variable 'audit'; nested exception is: javax.ejb.EJBTransactionRolledbackException: (Failed in component: sap.com/String_Replacement_EAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.pi.HPMIS.String_ReplacementBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.pi.HPMIS.String_ReplacementBean@1ca30d66 for bean sap.com/String_Replacement_EAR*xml|String_Replacement_EJB.jar*xml|String_Replacement in application sap.com/String_Replacement_EAR.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.auditlog.AuditAccess.addAuditLogEntry(com.sap.engine.interfaces.messaging.api.MessageKey, com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus, java.lang.String) of an object loaded from local variable 'audit'; nested exception is: javax.ejb.EJBException: (Failed in component: sap.com/String_Replacement_EAR) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.pi.HPMIS.String_ReplacementBean.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.pi.HPMIS.String_ReplacementBean@1ca30d66 for bean sap.com/String_Replacement_EAR*xml|String_Replacement_EJB.jar*xml|String_Replacement in application sap.com/String_Replacement_EAR.; nested exception is: java.lang.NullPointerException: while trying to invoke the method com.sap.engine.interfaces.messaging.api.auditlog.AuditAccess.addAuditLogEntry(com.sap.engine.interfaces.messaging.api.MessageKey, com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus, java.lang.String) of an object loaded from local variable 'audit'
Attached the module code for your reference .
Hi ,
I made a silly mistake which was resulted to above exception.
Reason:In Communication channel/Module Tab/I forgot to keep custom adapter module name on top.
Thanks
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.