NullPointerException Occurs While Invoking BAM Adapter From a Composite (Doc ID 1347520.1)

Last updated on JUNE 01, 2017

Applies to:

Oracle SOA Platform - BAM (Business Activity Monitoring) - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 18-Feb-2013***

Symptoms

In a BPEL composite, a BAM Adapter is trying to send data into a data object.
Every instance created with this composite fails with a "java.lang.NullPointerException" exception.

The following exception is generated in the soa_server1-diagnostic.log log file:

[soa_server1] [ERROR] [] [oracle.soa.bpel.engine.ws] [tid: [ACTIVE].ExecuteThread: '19' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004eVrhouW50fpT26BDSfU0000A80002Zp,0:1:2:1] [WEBSERVICE_PORT.name: BAMBPELProcess_pt] [APP: soa-infra] [composite_name: IntBAMService] [component_name: BAMBPELProcess] [component_instance_id: 110001] [J2EE_MODULE.name: fabric] [dcid: d04457ca75b29b6d:-1b8d730d:131a96fe6bb:-7ffd-0000000000001db2] [WEBSERVICE.name: bambpelprocess_client_ep] [J2EE_APP.name: soa-infra] [URI: /soa-infra/services/default/IntBAMService/BAM] <WSInvocationManager::invoke> got FabricInvocationException[[
oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'writetoBAM' failed due to: javax.resource.ResourceException: java.lang.NullPointerException".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteractionException.java:75)
at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:298)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:284)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:142)
...
Caused by: BINDING.JCA-12563
Exception occured when binding was invoked.
Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'writetoBAM' failed due to: javax.resource.ResourceException: java.lang.NullPointerException".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:433)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:542)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:502)
...
Caused by: javax.resource.ResourceException: javax.resource.ResourceException: java.lang.NullPointerException
at oracle.bam.adapter.adc.ADCInteraction.execute(ADCInteraction.java:265)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:303)
...
Caused by: javax.resource.ResourceException: java.lang.NullPointerException
at oracle.bam.adapter.adc.ADCInteraction.performInsert(ADCInteraction.java:376)

at oracle.bam.adapter.adc.ADCInteraction.executeRequest(ADCInteraction.java:284)
at oracle.bam.adapter.adc.ADCInteraction$1.run(ADCInteraction.java:243)
at oracle.bam.adapter.adc.ADCInteraction$1.run(ADCInteraction.java:240)
...
Caused by: java.lang.NullPointerException
at oracle.bam.adapter.adc.CachedConnection.getDatasetBean(CachedConnection.java:268)
at oracle.bam.adapter.adc.ADCInteraction.performInsert(ADCInteraction.java:352)

...
]]

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