NullPointerException Occurs when Calling GetStateId from Person Entity Without a State (Doc ID 2107186.1)

Last updated on FEBRUARY 22, 2016

Applies to:

Oracle Financial Services Revenue Management and Billing - Version 2.4.0.0.0 and later
Information in this document applies to any platform.

Symptoms

A NullPointerException occurs when calling 'getStateId' from Person Entity with no State.

The error received is:

"java.lang.NullPointerException
at com.splwg.ccb.domain.customerinfo.person.Person_Impl.getStateId(Person_Impl.java:135)"

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

1. Configure a person with no state.
2. From any CM code, instantiate a person entity object for the person above. Try to call the 'getStateId()' method from that person.


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