Getting NPE when using UPDATEXPATHFUNCTION="XP20:CURRENT-DATE()" in Emulated MSG (Doc ID 1909252.1)

Last updated on JULY 17, 2015

Applies to:

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

Symptoms

  'java.lang.NullPointerException' is thrown when executing a test duite containing an emulated message using xp20:current-date within an updateXpathFunction.


 This is an extract:
 [snippet]
 <update updateLocation="/oc:processResponse/oc:runningDate"
 [/snippet]

 

 

The emulation cannot be performed after the NPE is seen in the diagnostic log:

 

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