[RequestMessage-16-9] ERROR com.iohao.game.action.skeleton.core.flow.interal.DefaultActionMethodExceptionProcess - ClassCastException: FlowContext cannot be cast to Long
This error is caused by attempting to cast a 'com.iohao.game.action.skeleton.core.flow.FlowContext' object to a 'java.lang.Long' type. This occurs because 'FlowContext' is in an unnamed module of the application loader ('app'), while 'java.lang.Long' is in the 'java.base' module of the bootstrap loader. As a result, a 'ClassCastException' is thrown.
To resolve this issue, make sure you are handling 'FlowContext' objects correctly within your code and avoid incorrectly casting them to 'Long'. Review the sections of your code that involve 'FlowContext' to ensure proper type handling and usage.
If you are unable to determine the exact cause of the problem, please provide more context and relevant code snippets so that we can assist you better in resolving the issue.
原文地址: https://www.cveoy.top/t/topic/Hlp 著作权归作者所有。请勿转载和采集!