My Oracle Support Banner

SubUnit Service SetPersonII Generate "java.lang.NullPointerException..." (Doc ID 2857590.1)

Last updated on MARCH 23, 2022

Applies to:

Oracle Healthcare Data Repository - Version 8.1 and later
Information in this document applies to any platform.

Symptoms

On Oracle Healthcare Data Repository, version 8.1

When using the SubmissionUnitService to manually persist an entry, if the personII field is populated IMP will validate the contents against OHF_HDR_PSN_ENTITY and OHF_HDR_PSN_ENTITY_ID the following error occurs.

 

ERROR
-----------------------

java.lang.NullPointerException
at java.math.BigInteger.<init>(BigInteger.java:415)
at java.math.BigInteger.<init>(BigInteger.java:606)
at oracle.hsgbu.hdr.hl7.message.submissionunit.server.SubmissionUnitServiceAMImpl.doPersonIdInsertUpdateDeprecation(SubmissionUnitServiceAMImpl.java:677)
at oracle.hsgbu.hdr.hl7.message.submissionunit.server.SubmissionUnitServiceAMImpl.doInsertUpdateDeprecation(SubmissionUnitServiceAMImpl.java:554)
at oracle.hsgbu.hdr.hl7.message.submissionunit.server.SubmissionUnitServiceAMImpl.createSubmissionUnit(SubmissionUnitServiceAMImpl.java:122)
at oracle.hsgbu.hdr.hl7.message.submissionunit.server.SubmissionUnitServiceStatelessCMTBean.createSubmissionUnit(SubmissionUnitServiceStatelessCMTBean.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 

STEPS

-----------------------
The issue can be reproduced at will with the following steps:

  1. Create a submission unit
  2. Populate the personII using setPersonII.
  3. Submit
  4. If that II doesn't exist in the person tables,  a null pointer exception occurs

 

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.