Null Pointer Exception on Activity_CHandler.setILMDefaults and Javax.ejb.EJBException when bringing in IMDs from SGG (Doc ID 2079382.1)

Last updated on NOVEMBER 23, 2015

Applies to:

Oracle Utilities Meter Data Management - Version 2.1.0.3 and later
Information in this document applies to any platform.

Symptoms

On : 2.1.0.3 version,

Upon trying to import Meter Read from SGG into MDM system. The SOA queue is showing that the file has been consumed by the EJB but there are no IMDs in MDM and the following error is logged in the weblogic_current.log


ERROR
-----------------------
BEA-010216


ERROR (api.service.ServiceExecutionPolicy) Encountered exception, session marked for rollback
java.lang.NullPointerException
at com.splwg.d1.domain.communications.activity.entities.Activity_CHandler.setILMDefaults(Activity_CHandler.java:80)
at com.splwg.d1.domain.communications.activity.entities.Activity_CHandler.prepareToAdd(Activity_CHandler.java:67)

etc..

 

and

 javax.ejb.EJBException: nested exception is: com.splwg.ejb.mdb.MessageProcessingException: com.splwg.shared.common.LoggedException:
The following stacked messages were reported as the LoggedException was rethrown:
com.splwg.ejb.mdb.ServiceExecutor$3.execute(ServiceExecutor.java:214): Caught exception from SessionExecutable.execute()

The root LoggedException was: Encountered exception, session marked for rollback.
javax.ejb.EJBException: nested exception is: com.splwg.ejb.mdb.MessageProcessingException: com.splwg.shared.common.LoggedException:
The following stacked messages were reported as the LoggedException was rethrown:
com.splwg.ejb.mdb.ServiceExecutor$3.execute(ServiceExecutor.java:214): Caught exception from SessionExecutable.execute()

The root LoggedException was: Encountered exception, session marked for rollback
  at com.splwg.ejb.mdb.MessageProcessor.onMessage(MessageProcessor.java:79)
  at sun.reflect.GeneratedMethodAccessor559.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
  Truncated. see log file for complete stacktrace


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Set up to import files to MDM via SGG
2. Check SOA queue and notice the file has been consumed by the EJB
3. Errors occur in weblogic_current.log
4. There is no data saved to MDM.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms