java.lang.ClassCastException: com.fatwire.gst.foundation.facade.assetapi.AssetAccessTemplate cannot be cast to com.fatwire.gst.foundation.facade.assetapi.asset.TemplateAssetAccess

GitHub | niravvarma | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    <gst:navigation> gives ClassCastException in GSF 11.6.0

    GitHub | 4 years ago | niravvarma
    java.lang.ClassCastException: com.fatwire.gst.foundation.facade.assetapi.AssetAccessTemplate cannot be cast to com.fatwire.gst.foundation.facade.assetapi.asset.TemplateAssetAccess

    Root Cause Analysis

    1. java.lang.ClassCastException

      com.fatwire.gst.foundation.facade.assetapi.AssetAccessTemplate cannot be cast to com.fatwire.gst.foundation.facade.assetapi.asset.TemplateAssetAccess

      at com.fatwire.gst.foundation.controller.action.support.IcsBackedObjectFactoryTemplate.createNavigationService()
    2. com.fatwire.gst
      IcsBackedObjectFactoryTemplate.createNavigationService
      1. com.fatwire.gst.foundation.controller.action.support.IcsBackedObjectFactoryTemplate.createNavigationService(IcsBackedObjectFactoryTemplate.java:161)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. com.fatwire.gst
      PluggableNavigationTag.doTag
      1. com.fatwire.gst.foundation.controller.action.support.BaseFactory.invokeCreateMethod(BaseFactory.java:310)
      2. com.fatwire.gst.foundation.controller.action.support.BaseFactory.createFromMethod(BaseFactory.java:288)
      3. com.fatwire.gst.foundation.controller.action.support.BaseFactory.unnamedAnnotationStrategy(BaseFactory.java:188)
      4. com.fatwire.gst.foundation.controller.action.support.BaseFactory.locate(BaseFactory.java:122)
      5. com.fatwire.gst.foundation.controller.action.support.BaseFactory.getObject(BaseFactory.java:72)
      6. com.fatwire.gst.foundation.taglib.GsfSimpleTag.getService(GsfSimpleTag.java:47)
      7. com.fatwire.gst.foundation.taglib.navigation.PluggableNavigationTag.doTag(PluggableNavigationTag.java:77)
      7 frames
    5. org.apache.jsp
      Microsite_jsp._jspService
      1. org.apache.jsp.jsp.cs_005fdeployed.GSFTestSiteContent.Microsite_jsp._jspx_meth_gsf_005fnavigation_005f0(Microsite_jsp.java:221)
      2. org.apache.jsp.jsp.cs_005fdeployed.GSFTestSiteContent.Microsite_jsp._jspService(Microsite_jsp.java:131)
      2 frames
    6. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    8. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
      3 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    10. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
      5 frames
    11. COM.FutureTense.Servlet
      JSPServices.runJSP
      1. COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1411)
      2. COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1428)
      3. COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
      3 frames
    12. COM.FutureTense.Platform
      FILESYSTEMJSPManager.runJSP
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
      1 frame
    13. COM.FutureTense.Servlet
      JSPServices.runJSPObject
      1. COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
      1 frame