Error java.lang.ClassCastException when starting the cardemo application in the AWS mainframe modernization environment - Workshop L3 Blu Age

0

Executing the steps from the workshop's "go-live" session, when trying the "start application", I am getting the exception below:

java.lang.ClassCastException: class java.io.ObjectStreamClass$Caches$1 cannot be cast to class java.util.Map (java.io.ObjectStreamClass$Caches$1 and java.util.Map are in module java.base of loader 'bootstrap')

  • We cannot provide any answer/guidance without more information. Please share the complete log file.

  • The Workshop is only functional (for now) with the 3.2.0 version of the runtime, and a wrong version could trigger the error described in the post. Please check your M2 environment configuration to confirm you are running the application with the 3.2.0 runtime.

asked 6 months ago452 views
1 Answer
2

To answer your question, we require details that are non-public information. Please open a support case with AWS using the following link: https://console.aws.amazon.com/support/home#/case/create

Sunil
answered 6 months ago
profile picture
EXPERT
reviewed 6 months ago
  • A case was opened, the professional received the log but was unable to assess the cause, as he had no experience with BluAge or Java, so it had no effect. But I managed to resolve it with the help of friends who already have experience on the platform. There is a spelling error in the BLUESAM connection parameter in the "carddemo-application.json" file, the parameter instructed in the workshop material places the parameter without the letter "e" blusam instead of bluesam.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions