Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2772

ClassCastException happening in some cases in production mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.8.3, 5.8.4
    • 5.8.5
    • tapestry-core
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

              thiagohp Thiago Henrique De Paula Figueiredo
              thiagohp Thiago Henrique De Paula Figueiredo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: