My Oracle Support Banner

"Classcastexception" Observed When Attempting to Access Account Summary API Through UK Open Banking (Doc ID 2752445.1)

Last updated on FEBRUARY 15, 2021

Applies to:

Oracle Banking APIs - 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 access Account Summary API through UK Open Banking,
the following error occurs.

ERROR
-----------------------
Caused by: java.lang.ClassCastException: com.ofss.digx.app.dto.openbanking.consent.ConsentDTO cannot be cast to com.ofss.digx.app.openbanking.dto.consent.uk.AccountConsentDTO
at com.ofss.digx.app.account.service.openbanking.uk.Account.list(Account.java:133).

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Access the Account Summary API through UK Open banking

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.