CA Gen java.lang.ClassCastException
search cancel

CA Gen java.lang.ClassCastException


Article ID: 204457


Updated On:


Gen Gen - Workstation Toolset Gen - Host Encyclopedia Gen - Run Time Distributed


The Gen Toolset was upgraded from 8.5 to 8.6.  After changing code in a module IXXX I get the following error message when I flow from IYYY to IXXX.  I am not sure if the settings are correct.  In the error message, the current statement that is given is the end of IYYY

java.lang.ClassCastException: class invwce.IXXXISS_IA cannot be cast to class inventry.IXXXISS_IA (invwce.IXXXISS_IA and inventry.IXXXISS_IA are in unnamed module of loader 'deployment.inventry.ear.inventry.war' @42abf3bd)



Release : 8.62

Component : CA Gen Enterprise Java Beans


There is a difference in java package names being used.  In the error message, one version of IXXXISS_IA has a package name of invwce and the other version of IXXXISS_IA has a package name of inventry.  The java package name needs to changed to be the same and regenerate all the necessary code.