[ https://issues.apache.org/jira/browse/TAP5-2772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17830336#comment-17830336 ]
Hudson commented on TAP5-2772: ------------------------------ SUCCESS: Integrated in Jenkins build Tapestry ยป tapestry-javax-java-9-freestyle #4 (See [https://ci-builds.apache.org/job/Tapestry/job/tapestry-javax-java-9-freestyle/4/]) TAP5-2772: ClassCastException sometimes when in production mode (thiago: rev 2081603eb695b35eec1a55fffa48d3ae9a881657) * (edit) tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentDependencyRegistryImpl.java * (edit) tapestry-core/src/main/java/org/apache/tapestry5/internal/services/ComponentInstantiatorSourceImpl.java * (edit) tapestry-core/src/main/java/org/apache/tapestry5/services/pageload/PageClassLoaderContextManagerImpl.java * (edit) tapestry-core/src/main/java/org/apache/tapestry5/modules/PageLoadModule.java > ClassCastException happening in some cases in production mode > ------------------------------------------------------------- > > Key: TAP5-2772 > URL: https://issues.apache.org/jira/browse/TAP5-2772 > Project: Tapestry 5 > Issue Type: Bug > Components: tapestry-core > Affects Versions: 5.8.3, 5.8.4 > Reporter: Thiago Henrique De Paula Figueiredo > Assignee: Thiago Henrique De Paula Figueiredo > Priority: Major > Fix For: 5.8.5 > > > In some cases, which we didn't discover which ones yet, you can have a > ClassCastException like this: > java.lang.ClassCastException: class ccom.example.pages.SomePage cannot be > cast to class com.example.pages.SomePage (com.example.pages.SomePage is in > unnamed module of loader com.example.pages.SomePage @35a6e774; > com.example.pages.SomePage is in unnamed module of loader > org.apache.tapestry5.internal.plastic.PlasticClassLoader @2743de59) at > $InternalPropertyConduit_abf7e72af968f.getRoot(Unknown Source) at > $InternalPropertyConduit_abf7e72af968f.get(Unknown Source) at > org.apache.tapestry5.internal.bindings.PropBinding.get(PropBinding.java:63) -- This message was sent by Atlassian Jira (v8.20.10#820010)