Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-10189

Error when trying to get content view by id

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 4.3.0
    • None
    • None
    • None
    • 4.3 M6

      When using this method : ametys:getContentView(id), I have this error : 

      java.lang.ClassCastException: class org.ametys.core.cocoon.source.ResourceSource cannot be cast to class org.apache.excalibur.source.impl.FileSource (org.ametys.core.cocoon.source.ResourceSource and org.apache.excalibur.source.impl.FileSource are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @44c79f32)java.lang.ClassCastException: class org.ametys.core.cocoon.source.ResourceSource cannot be cast to class org.apache.excalibur.source.impl.FileSource (org.ametys.core.cocoon.source.ResourceSource and org.apache.excalibur.source.impl.FileSource are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @44c79f32) at org.ametys.cms.transformation.xslt.AmetysXSLTHelper._getXsltFile(AmetysXSLTHelper.java:778) at org.ametys.cms.transformation.xslt.AmetysXSLTHelper.getContentView(AmetysXSLTHelper.java:743)

       

      Full stack trace attached

        1. stack.txt
          12 kB
          Jonathan Wendlinger

            raphael Raphaël Franchet
            jonathan Jonathan Wendlinger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: