myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Myfaces 1.1.2 ClassCastException
Date Wed, 26 Apr 2006 12:27:40 GMT
can you check against nightly build?

HtmlTableRenderer has been modified.

-Matthias


On 4/26/06, mindu <jmindu@gmail.com> wrote:
> stack trace:
>
> java.lang.ClassCastException:
> javax.faces.component.html.HtmlDataTable
>     at
> org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.renderRowStart(HtmlTableRenderer.java:148)
>     at
> org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeInnerHtml
> (HtmlTableRendererBase.java:159)
>     at
> org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase.encodeChildren(HtmlTableRendererBase.java:100)
>     at
> org.apache.myfaces.renderkit.html.ext.HtmlTableRenderer.encodeChildren
> (HtmlTableRenderer.java:118)
>     at
> javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:524)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:436)
>      at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren
> (RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java
> :419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild
> (RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java
> :440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.html.HtmlGroupRendererBase.encodeEnd(HtmlGroupRendererBase.java
> :75)
>     at
> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
>     at
> org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
>     at
> org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.writeTabsContents
> (HtmlTabbedPaneRenderer.java:530)
>     at
> org.apache.myfaces.custom.tabbedpane.HtmlTabbedPaneRenderer.encodeEnd(HtmlTabbedPaneRenderer.java:222)
>     at
> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java
> :536)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:442)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild
> (RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java
> :440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren(RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChildren
> (RendererUtils.java:419)
>     at
> org.apache.myfaces.shared_impl.renderkit.RendererUtils.renderChild(RendererUtils.java:440)
>     at
> org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.renderChildren(HtmlGridRendererBase.java
> :216)
>     at
> org.apache.myfaces.shared_impl.renderkit.html.HtmlGridRendererBase.encodeEnd(HtmlGridRendererBase.java:98)
>     at
> javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:536)
>     at javax.faces.webapp.UIComponentTag.encodeEnd
> (UIComponentTag.java:495)
>     at
> javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:363)
>     at
> org.apache.myfaces.shared_impl.taglib.UIComponentBodyTagBase.doEndTag(UIComponentBodyTagBase.java:54)
>     at
> org.apache.jsp.M4os00_jsp._jspx_meth_h_panelGrid_0(org.apache.jsp.M4os00_jsp:487)
>     at
> org.apache.jsp.M4os00_jsp._jspx_meth_h_form_0(org.apache.jsp.M4os00_jsp:369)
>     at org.apache.jsp.M4os00_jsp._jspx_meth_f_view_0
> (org.apache.jsp.M4os00_jsp:337)
>     at
> org.apache.jsp.M4os00_jsp._jspService(org.apache.jsp.M4os00_jsp:251)
>     at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>     at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:802)
>     at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
>     at org.apache.jasper.servlet.JspServlet.service
> (JspServlet.java:241)
>     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java
> :574)
>     at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
>     at
> org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
>     at org.apache.jasper.runtime.PageContextImpl.include
> (PageContextImpl.java:604)
>     at
> org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
>     at
> org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
>     at org.apache.struts.taglib.tiles.InsertTag.doInclude
> (InsertTag.java:756)
>     at
> org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:881)
>     at
> org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
>     at
> org.apache.jsp.padrao.padrao1_jsp._jspx_meth_tiles_insert_2
> (org.apache.jsp.padrao.padrao1_jsp:201)
>     at
> org.apache.jsp.padrao.padrao1_jsp._jspService(org.apache.jsp.padrao.padrao1_jsp:116)
>     at
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
>     at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java
> :291)
>     at
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>     at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:252)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>     at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
>     at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
>     at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
>     at
> org.apache.catalina.core.ApplicationDispatcher.forward
> (ApplicationDispatcher.java:301)
>     at
> org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:416)
>     at
> org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.dispatch
> (JspTilesViewHandlerImpl.java:233)
>     at
> org.apache.myfaces.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:219)
>     at
> org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java
> :367)
>     at
> javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:173)
>     at
> org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java
> :202)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>     at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>     at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.java:178)
>     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>     at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:107)
>     at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>     at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>     at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
> (Http11Protocol.java:744)
>     at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>     at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>     at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>     at java.lang.Thread.run(Thread.java:595)
>
>
>
>
> On 4/26/06, Matthias Wessendorf <matzew@apache.org> wrote:
> > can you provide the stack trace?
> >
> > On 4/26/06, mindu <jmindu@gmail.com> wrote:
> > > hi,
> > >
> > > i update the libs in my project for myfaces core 1.1.2,
> > > tomahawk-1.1.2-SNAPSHOT.jar and
> > > tomahawk-sandbox-1.1.2-SNAPSHOT.jar.
> > > i'm having some errors with ClassCastException in HtmlDataTable
> > > somebody has some idea ?
> > >
> > > thanks
> > > mindu
> > > --
> > > Comunidade IRC de Usuários Java.
> > > #java - irc.brasnet.org
> > > http://canaljava.dev.java.net
> >
> >
> > --
> > Matthias Wessendorf
> > Aechterhoek 18
> > 48282 Emsdetten
> > http://jroller.com/page/mwessendorf
> > mwessendorf-at-gmail-dot-com
> >
>
>
>
> --
>
> Comunidade IRC de Usuários Java.
> #java - irc.brasnet.org
> http://canaljava.dev.java.net


--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com

Mime
View raw message