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

Error when trying to get content view by id

    • 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

          [CMS-10189] Error when trying to get content view by id

          Laurence Aumeunier made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Raphaël Franchet made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Raphaël Franchet made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Raphaël Franchet made changes -
          Assignee New: Raphaël Franchet [ raphael ]
          Cédric Damioli made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Laurence Aumeunier made changes -
          Assignee Original: Laurence Aumeunier [ laurence ]
          Laurence Aumeunier made changes -
          Status Original: In Progress [ 3 ] New: Available for review [ 10005 ]
          Laurence Aumeunier made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Raphaël Franchet made changes -
          Assignee New: Laurence Aumeunier [ laurence ]
          Raphaël Franchet made changes -
          Sprint New: 4.3 M6 [ 38 ]

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

              Created:
              Updated:
              Resolved: