My Oracle Support Banner

REST Adapter That Returns Empty Json String Throws Java.lang.NullPointerException (Doc ID 2980288.1)

Last updated on OCTOBER 18, 2023

Applies to:

Oracle SOA Suite - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.4.0 version, Deployment

Invoking REST service that returns empty json string throws java.lang.NullPointerException when the payload validation is enabled. If the payload validation is disabled, then the process is successful.

STACKTRACE
----------
[2023-09-14T15:40:43.521-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.ws] [tid: [ACTIVE].ExecuteThread: '72' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0061LUk_oL20fpMpqKd9iY000EwY0009Re,0:1:2] [APP: soa-infra] [partition-name: DOMAIN] [tenant-name: GLOBAL] [J2EE_APP.name: soa-infra] [J2EE_MODULE.name: fabric] [WEBSERVICE.name: bpelprocesscallcompositerestservice_client_ep] [WEBSERVICE_PORT.name: BPELProcessCallCompositeRestService_pt] [oracle.soa.tracking.FlowId: 1100003] [oracle.soa.tracking.InstanceId: 4750021] [oracle.soa.tracking.SCAEntityId: 170012] [composite_name: TestRestApiProject!1.0] [FlowId: 0000OeLRB9d0fpMpqKd9iY1_0qwd000003] got FabricInvocationException[[

** Free Heap size: 5511876224 oracle.fabric.common.FabricInvocationException: java.lang.NullPointerException
at oracle.integration.platform.blocks.mesh.MeshImpl.validateXML(MeshImpl.java:1415)
at oracle.integration.platform.blocks.mesh.MeshImpl.validate(MeshImpl.java:1325)
at oracle.integration.platform.blocks.mesh.MeshImpl.validate(MeshImpl.java:1339)
at oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:268)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

Caused by: java.lang.NullPointerException
at oracle.integration.platform.blocks.mesh.MeshImpl.validateXML(MeshImpl.java:1367)

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.