java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.tiles.Attribute

Coderanch | Buddhi Vikasitha | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.tiles.Attribute

    Coderanch | 3 years ago | Buddhi Vikasitha
    java.lang.ClassCastException: java.lang.String cannot be cast to org.apache.tiles.Attribute

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to org.apache.tiles.Attribute

      at org.apache.tiles.jsp.taglib.InsertAttributeTag.computeAttribute()
    2. Tiles - JSP support
      InsertAttributeTag.doStartTag
      1. org.apache.tiles.jsp.taglib.InsertAttributeTag.computeAttribute(InsertAttributeTag.java:244)
      2. org.apache.tiles.jsp.taglib.InsertAttributeTag.startContext(InsertAttributeTag.java:221)
      3. org.apache.tiles.jsp.taglib.RenderTag.doStartTag(RenderTag.java:210)
      4. org.apache.tiles.jsp.taglib.InsertAttributeTag.doStartTag(InsertAttributeTag.java:199)
      4 frames
    3. org.apache.jsp
      baseLayout_jsp._jspService
      1. org.apache.jsp.baseLayout_jsp._jspx_meth_tiles_insertAttribute_0(baseLayout_jsp.java:116)
      2. org.apache.jsp.baseLayout_jsp._jspService(baseLayout_jsp.java:67)
      2 frames
    4. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
      1 frame
    5. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    6. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      1 frame
    8. Glassfish Core
      ApplicationDispatcher.doInvoke
      1. org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682)
      2. org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:875)
      2 frames