My Oracle Support Banner

Extending Custom Entity - PaymentFavorite Is Failing with Errors -"NullPointerException' And "Exception encountered while invoking the core service create for FavoriteDTO". (Doc ID 2748912.1)

Last updated on FEBRUARY 04, 2021

Applies to:

Oracle Banking Digital Experience - Version 20.1.0.0.0 to 20.1.0.0.0 [Release 20]
Information in this document applies to any platform.

Symptoms

When attempting to extend a custom entity - PaymentFavorite by following extensibility guide,
the following errors occur in OBDX logs.

ERROR
-----------------------
java.lang.NullPointerException
at com.ofss.digx.app.payment.assembler.service.favorite.PaymentFavoriteAssembler.toDomainObject(PaymentFavoriteAssembler.java:100)
at com.ofss.digx.app.payment.service.favorite.PaymentFavorite.create(PaymentFavorite.java:255)
at com.ofss.digx.appx.payment.service.favorite.PaymentFavorite.create(PaymentFavorite.java:130)

Exception encountered while invoking the core service create for FavoriteDTO=com.ofss.digx.app.payment.dto.favorite.PaymentFavoriteDTO@11c48230
com.ofss.digx.infra.exceptions.Exception: Exception occured while creating object.
at com.ofss.digx.infra.exceptions.ExceptionTransformer.buildException(ExceptionTransformer.java:454)

STEPS
-----------------------
The issue can be reproduced by extending a custom entity - PaymentFavorite using below extensibility guide.

https://docs.oracle.com/cd/F30659_01/tech_docs/Oracle Banking Digital Experience Extensibility Guide.pdf

 

Changes

 

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
Changes
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.