myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Dreher (Commented) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-1408) NullPointerException when JSFUnit-testing a page with tr:treeTable
Date Tue, 21 Feb 2012 12:33:34 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212544#comment-13212544
] 

Markus Dreher commented on TRINIDAD-1408:
-----------------------------------------

I use Trinidad 1.214 and jsfunit-1.3.0.Final
                
> NullPointerException when JSFUnit-testing a page with tr:treeTable
> ------------------------------------------------------------------
>
>                 Key: TRINIDAD-1408
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1408
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.2.10-core
>         Environment: JBoss JSFUnit 1.0.0 GA SNAPSHOT (20.02.2009), MyFaces Trinidad 1.2.10,
MyFaces Core 1.2.5, Tomcat 6.0.18
>            Reporter: Michael Zeising
>
> When I run a test with JSFUnit on a page that contains a tr:treeTable I get the following
NullPointerException:
> java.lang.NullPointerException
> at org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.getRenderKit(RenderKitDecorator.java:119)
> at org.apache.myfaces.trinidadinternal.renderkit.RenderKitDecorator.findRenderer(RenderKitDecorator.java:90)
> at org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase.getRenderer(RenderKitBase.java:129)
> at org.apache.myfaces.trinidad.component.UIXComponentBase._getRendererImpl(UIXComponentBase.java:1131)
> at org.apache.myfaces.trinidad.component.UIXComponentBase.getRenderer(UIXComponentBase.java:1161)
> at org.apache.myfaces.trinidad.component.UIXComponentBase.getClientId(UIXComponentBase.java:346)
> at org.jboss.jsfunit.jsfsession.ClientIDs.addAncestors(ClientIDs.java:106)
> at org.jboss.jsfunit.jsfsession.ClientIDs.addAllIDs(ClientIDs.java:87)
> at org.jboss.jsfunit.jsfsession.ClientIDs.addAllIDs(ClientIDs.java:88)
> at org.jboss.jsfunit.jsfsession.ClientIDs.addAllIDs(ClientIDs.java:88)
> at org.jboss.jsfunit.jsfsession.ClientIDs.addAllIDs(ClientIDs.java:88)
> at org.jboss.jsfunit.jsfsession.ClientIDs.addAllIDs(ClientIDs.java:88)
> at org.jboss.jsfunit.jsfsession.ClientIDs.addAllIDs(ClientIDs.java:88)
> at org.jboss.jsfunit.jsfsession.ClientIDs.<init>(ClientIDs.java:67)
> at org.jboss.jsfunit.jsfsession.JSFServerSession.pageCreated(JSFServerSession.java:175)
> at org.jboss.jsfunit.jsfsession.JSFServerSession.<init>(JSFServerSession.java:54)
> at org.jboss.jsfunit.jsfsession.JSFSession.<init>(JSFSession.java:82)
> at org.jboss.jsfunit.jsfsession.JSFSession.<init>(JSFSession.java:57)
> at de.uni_bayreuth.inf.ai4.forflow.test.ProcessLifecycleTest.testLifecycle(ProcessLifecycleTest.java:27)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at org.apache.cactus.internal.AbstractCactusTestCase.runBareServer(AbstractCactusTestCase.java:153)
> at org.apache.cactus.internal.server.AbstractWebTestCaller.doTest(AbstractWebTestCaller.java:119)
> at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody0(AbstractWebTestController.java:93)
> at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest_aroundBody1$advice(AbstractWebTestController.java:224)
> at org.apache.cactus.internal.server.AbstractWebTestController.handleRequest(AbstractWebTestController.java)
> at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody2(ServletTestRedirector.java:101)
> at org.apache.cactus.server.ServletTestRedirector.doPost_aroundBody3$advice(ServletTestRedirector.java:224)
> at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java)
> at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doPost(JSFUnitServletRedirector.java:46)
> at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody0(ServletTestRedirector.java:72)
> at org.apache.cactus.server.ServletTestRedirector.doGet_aroundBody1$advice(ServletTestRedirector.java:224)
> at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java)
> at org.jboss.jsfunit.framework.JSFUnitServletRedirector.doGet(JSFUnitServletRedirector.java:52)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.jboss.jsfunit.framework.JSFUnitFilter.doFilter(JSFUnitFilter.java:116)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> at java.lang.Thread.run(Unknown Source)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message