[jboss-user] [Beginner's Corner] - Re: java.lang.ClassCastException: javax.servlet.jsp.tagext.TagSupport tag incompatible with javax.faces.component.UIComponent

Viswanath Rajashekar do-not-reply at jboss.com
Tue Mar 29 06:40:40 EDT 2011


Viswanath Rajashekar [http://community.jboss.org/people/a.r.viswanath] created the discussion

"Re: java.lang.ClassCastException: javax.servlet.jsp.tagext.TagSupport tag incompatible with javax.faces.component.UIComponent"

To view the discussion, visit: http://community.jboss.org/message/596184#596184

--------------------------------------------------------------
*Adding the error log:*
** 
[3/29/11 11:25:08:734 EEST] 0000001f application   W   JSF1004: Cannot instantiate component of type sovelluksenvaihtolistatag.component
[3/29/11 11:25:08:734 EEST] 0000001f viewhandler   E   Error Rendering View[/index.xhtml]
                                 javax.faces.FacesException: java.lang.ClassCastException: com.tieto.tkp.login.SovelluksenVaihtoListaTag incompatible with javax.faces.component.UIComponent
 at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:564)
 at com.sun.facelets.tag.jsf.ComponentHandler.createComponent(ComponentHandler.java:243)
 at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:139)
 at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
 at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109)
 at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:119)
 at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
 at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
 at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
 at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
 at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
 at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:144)
 at com.sun.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:60)
 at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:73)
 at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
 at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:119)
 at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
 at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
 at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
 at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
 at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
 at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:144)
 at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
 at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
 at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
 at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
 at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
 at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
 at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
 at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
 at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
 at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1384)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131)
 at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
 at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
 at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
 at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
 at fi.mela.masha.login.MelaLoginFilter.doFilter(MelaLoginFilter.java:101)
 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116)
 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77)
 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:852)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:785)
 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
 at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
 at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91)
 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:859)
 at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83)
 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:202)
 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:766)
 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:896)
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: java.lang.ClassCastException: com.tieto.tkp.login.SovelluksenVaihtoListaTag incompatible with javax.faces.component.UIComponent
 at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:558)
 ... 65 more
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/596184#596184]

Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110329/98d194bc/attachment-0001.html 


More information about the jboss-user mailing list