NullPointerException For "ActiveDataCache: CalculatedFieldExpressionMethod.evaluate" In Load Scenario (Doc ID 1681852.1)

Last updated on JUNE 13, 2014

Applies to:

Oracle BAM (Business Activity Monitoring) - Version 11.1.1.6.0 and later
Information in this document applies to any platform.

Symptoms

A data object has a calculated field. A composite is using BAM Sensors to send the data to the BAM Data object.

In a load scenario the following exception is generated:

<Dec 19, 2013 1:06:14 AM PST> <Error> <oracle.bam.adc> <BEA-000000> <ActiveDataCache: Exception occurred in method CalculatedFieldExpressionMethod.evaluate(2013-11-19 02:13:52.000)
Exception: java.lang.reflect.InvocationTargetException

If the calculated field is removed the issue does not occur.


STACK TRACE OBTAINED:

[2013-10-29T00:11:59.544-07:00] [wls_bam1] [ERROR] [] [oracle.bam.adc.kernel.datasets.ActiveDataQueue] [tid: bam-pool-ActiveDataQueueThread-thread-5] [userId: OracleSystemUser] [ecid:0000K82rkey2fLK5qVCCyY1IRotx00010q,1:28084] [APP: oracle-bam#11.1.1] [161]
Exception occurred in method ActiveDataQueue.ViewChangedHandler()[[
Exception: java.lang.RuntimeException: Invocation target exception.
  at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:196)
  at oracle.bam.adc.kernel.datasets.ActiveDataEventHandler.invoke(ActiveDataEventHandler.java:40)
  at oracle.bam.adc.kernel.datasets.ActiveDataQueue.onActiveData(ActiveDataQueue.java:338)
  at oracle.bam.adc.kernel.datasets.ActiveDataQueue.viewChangedHandler(ActiveDataQueue.java:163)
  at sun.reflect.GeneratedMethodAccessor687.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  ...
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedMethodAccessor688.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at oracle.bam.system.Delegate$Sink.invoke(Delegate.java:80)
  at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:186)
  at oracle.bam.adc.kernel.datasets.ActiveDataEventHandler.invoke(ActiveDataEventHandler.java:40)
  at oracle.bam.adc.kernel.datasets.ActiveDataQueue.onActiveData(ActiveDataQueue.java:338)
  at oracle.bam.adc.kernel.datasets.ActiveDataQueue.viewChangedHandler(ActiveDataQueue.java:163)
  ...
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at oracle.bam.adc.kernel.expressions.Evaluator.evaluate(Evaluator.java:701)
  at oracle.bam.adc.kernel.datasets.Dataset.addCalculatedFields(Dataset.java:3231)
  at sun.reflect.GeneratedMethodAccessor688.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  ...
Caused by: java.lang.NullPointerException
  at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  at java.lang.reflect.Method.invoke(Method.java:597)
  at oracle.bam.adc.kernel.expressions.Evaluator.evaluate(Evaluator.java:701)
  at oracle.bam.adc.kernel.expressions.CalculatedFieldExpressionMethod.evaluate(Cal
culatedFieldExpressionMethod.java:180)
  at oracle.bam.adc.kernel.datasets.Dataset.addCalculatedFields(Dataset.java:3231)
  at oracle.bam.adc.kernel.datasets.Dataset.processChangeEvent(Dataset.java:4031)
  ...
]]

 

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