myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Dubois (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOBAGO-771) Facelets, all input components (tc:in) inside a tc:sheet causes NullPointerException
Date Mon, 06 Jul 2009 21:55:14 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12727798#action_12727798
] 

Guido Dubois commented on TOBAGO-771:
-------------------------------------

2009-07-06 23:51:37 ERROR - javax.faces.webapp._ErrorPageWriter:363 - An exception occurred
java.lang.NullPointerException
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:345)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.restoreDescendantComponentStates(UIData.java:357)
	at javax.faces.component.UIData.setRowIndex(UIData.java:285)
	at org.apache.myfaces.tobago.component.ComponentUtil.prepareOnUIData(ComponentUtil.java:1388)
	at org.apache.myfaces.tobago.component.ComponentUtil.invokeOrPrepare(ComponentUtil.java:1314)
	at org.apache.myfaces.tobago.component.ComponentUtil.prepareOnUIComponent(ComponentUtil.java:1344)
	at org.apache.myfaces.tobago.component.ComponentUtil.invokeOrPrepare(ComponentUtil.java:1318)
	at org.apache.myfaces.tobago.component.ComponentUtil.prepareOnUIComponent(ComponentUtil.java:1344)
	at org.apache.myfaces.tobago.component.ComponentUtil.invokeOrPrepare(ComponentUtil.java:1318)
	at org.apache.myfaces.tobago.component.ComponentUtil.prepareOnUIForm(ComponentUtil.java:1337)
	at org.apache.myfaces.tobago.component.ComponentUtil.invokeOrPrepare(ComponentUtil.java:1316)
	at org.apache.myfaces.tobago.component.ComponentUtil.prepareOnUIComponent(ComponentUtil.java:1344)
	at org.apache.myfaces.tobago.component.ComponentUtil.invokeOrPrepare(ComponentUtil.java:1318)
	at org.apache.myfaces.tobago.component.ComponentUtil.invokeOnComponent(ComponentUtil.java:1306)
	at org.apache.myfaces.tobago.ajax.api.AjaxResponseRenderer.renderComponent(AjaxResponseRenderer.java:139)
	at org.apache.myfaces.tobago.ajax.api.AjaxResponseRenderer.renderResponse(AjaxResponseRenderer.java:119)
	at org.apache.myfaces.tobago.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:47)
	at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.render(TobagoLifecycle.java:140)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:147)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter.doFilter(TobagoMultipartFormdataFilter.java:127)
	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.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568)
	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)



Code:
...
          <tc:cell spanX="4">

            <tc:sheet value="#{popupcheckedproductController.testlabcheckdataList}" id="tableoftestlabcheckdata"
              columns="18px;200px;150px;150px;18px;18px;18px;18px;18px;18px;18px;1*"
              var="testlabcheckdata" state="#{tableofproductsController.sheetStateTestlabCheckData}"
showHeader="true"
              showRowRange="left" showPageRange="none" showDirectLinks="none"
              first="0" rows="100" directLinkCount="100"
              stateChangeListener="#{tableofproductsController.stateTestlabCheckDataChangeListener}"
              sortActionListener="#{tableofproductsController.sheetSorter}"
              selectable="multi">

              <tc:column label="#{bundle.columnTestlabDataTransmitted}" id="columntransmitted"
sortable="false">
                <tc:panel>
                  <tc:image value="image/radioredmarker.gif" alt="" tip="#{bundle.itemTestlabcheckdataDiffering}"
width="16"
                    height="16" rendered="#{false}">
                  </tc:image>
                  <tc:image value="image/radiogreenmarker.gif" alt="" tip="#{bundle.itemStatusCheckCompleted}"
width="16"
                    height="16" rendered="#{testlabcheckdata.transmitted}">
                  </tc:image>
                  <tc:image value="image/radioyellowmarker.gif" alt="" tip="#{bundle.itemStatusCheckOrdered}"
width="16" height="16"
                    rendered="#{!testlabcheckdata.transmitted}">
                  </tc:image>
                </tc:panel>
              </tc:column>

<!--              <tc:column label="#{bundle.columnTestlabDataTestlab}"-->
<!--                sortable="true" id="columncompany">-->
<!--                <tc:out value="#{testlabcheckdata.testlab.name}" markup="tablecell"
/>-->
<!--              </tc:column>-->

              <tc:column label="#{bundle.columnTestlabDataTestlab}" id="columncompany">
                <tc:in value="#{testlabcheckdata.testlab.name}" />
              </tc:column>
...

> Facelets, all input components (tc:in) inside a tc:sheet causes NullPointerException
> ------------------------------------------------------------------------------------
>
>                 Key: TOBAGO-771
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-771
>             Project: MyFaces Tobago
>          Issue Type: Bug
>          Components: Facelets
>    Affects Versions: 1.0.22
>         Environment: Facelets 1.1.14, MyFaces 1.1.6 snap (08.01.2008), Tobago 1.0.22
snap (14.06.2009) 
>            Reporter: Guido Dubois
>
> Facelets, all input components like tc:in or tc:selectBooleanCheckbox inside a tc:sheet
causes NullPointerException. It's the same behavior like described in #TOBAGO-72.
> tc:out works.
> I want to use a checkbox in the sheet-rows...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message