java.lang.NullPointerException

ICEsoft JIRA Issue Tracker | Cruz Miraback | 3 years ago
  1. 0

    Changing the rendered attribute on an ace:row with a group condition causes a NullPointerException. This doesn't occur when using interval or predicate conditions. SEVERE: java.lang.NullPointerException at org.icefaces.ace.component.row.Row$GroupPredicate.evaluate(Row.java:104) at org.icefaces.ace.component.row.Row.evaluateCondition(Row.java:70) at org.icefaces.ace.component.datatable.DataTable.getConditionalRows(DataTable.java:1087) at org.icefaces.ace.component.datatable.DataTableRowRenderer.encodeRow(DataTableRowRenderer.java:62) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTableBody(DataTableRenderer.java:293) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTable(DataTableRenderer.java:243) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEntirety(DataTableRenderer.java:170) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:120) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1826) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:150) at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:421) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) To reproduce: 1) Deploy test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dataTable 2) Navigate to 'Conditional Row Test' 3) Click one of the checkboxes that are marked 'Group' to render the row (exception will occur). The exception occurs each time the rendered value is change regardless if it is true or false, but only occurs when using a binding on the dataTable.

    ICEsoft JIRA Issue Tracker | 3 years ago | Cruz Miraback
    java.lang.NullPointerException
  2. 0

    Changing the rendered attribute on an ace:row with a group condition causes a NullPointerException. This doesn't occur when using interval or predicate conditions. SEVERE: java.lang.NullPointerException at org.icefaces.ace.component.row.Row$GroupPredicate.evaluate(Row.java:104) at org.icefaces.ace.component.row.Row.evaluateCondition(Row.java:70) at org.icefaces.ace.component.datatable.DataTable.getConditionalRows(DataTable.java:1087) at org.icefaces.ace.component.datatable.DataTableRowRenderer.encodeRow(DataTableRowRenderer.java:62) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTableBody(DataTableRenderer.java:293) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeTable(DataTableRenderer.java:243) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEntirety(DataTableRenderer.java:170) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:120) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1826) at javax.faces.render.Renderer.encodeChildren(Renderer.java:168) at org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49) at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:150) at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:421) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:594) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) To reproduce: 1) Deploy test app located at: http://server.ice:8888/svn/repo/qa/trunk/Regression-Icefaces2/Sparkle/Nightly/dataTable 2) Navigate to 'Conditional Row Test' 3) Click one of the checkboxes that are marked 'Group' to render the row (exception will occur). The exception occurs each time the rendered value is change regardless if it is true or false, but only occurs when using a binding on the dataTable.

    ICEsoft JIRA Issue Tracker | 3 years ago | Cruz Miraback
    java.lang.NullPointerException
  3. 0

    ace:column filterOptions doesn't work

    Icesoft | 4 years ago | cboita
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ace:dataTable columns reordering does not work more than once. Trying to re-order columns afterwards, or just clicking on the dataTable column headers results in NullPointerException. This started failing at Jenkins ICEfaces4 trunk Build # 1109: http://dev.icesoft.com/jenkins/job/ICEfaces%204%20Trunk%20%28Continuous%29/1109/ This is reproducible with showcase > Column Reorder demo, and with the QA test app for ace:dataTable: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/dataTable Test page: /columnOrderTest.jsf. Mar 09, 2015 11:28:34 AM com.sun.faces.lifecycle.UpdateModelValuesPhase execute WARNING: java.lang.NullPointerException Mar 09, 2015 11:28:34 AM org.icefaces.impl.context.DOMPartialRenderCallback visit SEVERE: Subtree rendering failed for class org.icefaces.ace.component.datatable.DataTable form:carTable java.lang.NullPointerException at org.icefaces.ace.util.ComponentUtils.resolveField(ComponentUtils.java:123) at org.icefaces.ace.model.table.SortCriteria.<init>(SortCriteria.java:36) at org.icefaces.ace.component.datatable.DataTable.getSortCriteria(DataTable.java:1139) at org.icefaces.ace.component.datatable.DataTable.processSorting(DataTable.java:1281) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:120) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863) at org.icefaces.impl.context.DOMPartialRenderCallback.visit(DOMPartialViewContext.java:854) at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) at org.icefaces.ace.component.datatable.DataTable.visitTree(DataTable.java:1511) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at org.icefaces.impl.context.DOMPartialViewContext.renderSubtrees(DOMPartialViewContext.java:502) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:187) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:430) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.NullPointerException
  6. 0

    ace:dataTable columns reordering does not work more than once. Trying to re-order columns afterwards, or just clicking on the dataTable column headers results in NullPointerException. This started failing at Jenkins ICEfaces4 trunk Build # 1109: http://dev.icesoft.com/jenkins/job/ICEfaces%204%20Trunk%20%28Continuous%29/1109/ This is reproducible with showcase > Column Reorder demo, and with the QA test app for ace:dataTable: http://dev.icesoft.com/svn/repo/qa/trunk/Regression-Icefaces4/Sparkle/Nightly/dataTable Test page: /columnOrderTest.jsf. Mar 09, 2015 11:28:34 AM com.sun.faces.lifecycle.UpdateModelValuesPhase execute WARNING: java.lang.NullPointerException Mar 09, 2015 11:28:34 AM org.icefaces.impl.context.DOMPartialRenderCallback visit SEVERE: Subtree rendering failed for class org.icefaces.ace.component.datatable.DataTable form:carTable java.lang.NullPointerException at org.icefaces.ace.util.ComponentUtils.resolveField(ComponentUtils.java:123) at org.icefaces.ace.model.table.SortCriteria.<init>(SortCriteria.java:36) at org.icefaces.ace.component.datatable.DataTable.getSortCriteria(DataTable.java:1139) at org.icefaces.ace.component.datatable.DataTable.processSorting(DataTable.java:1281) at org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:120) at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:919) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1863) at org.icefaces.impl.context.DOMPartialRenderCallback.visit(DOMPartialViewContext.java:854) at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183) at org.icefaces.ace.component.datatable.DataTable.visitTree(DataTable.java:1511) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIForm.visitTree(UIForm.java:371) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at javax.faces.component.UIComponent.visitTree(UIComponent.java:1700) at org.icefaces.impl.context.DOMPartialViewContext.renderSubtrees(DOMPartialViewContext.java:502) at org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:187) at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:219) at javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:1004) at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1856) at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:430) at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:133) at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:337) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:219) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:647)

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.icefaces.ace.component.row.Row$GroupPredicate.evaluate()
    2. org.icefaces.ace
      DataTableRenderer.encodeEnd
      1. org.icefaces.ace.component.row.Row$GroupPredicate.evaluate(Row.java:104)
      2. org.icefaces.ace.component.row.Row.evaluateCondition(Row.java:70)
      3. org.icefaces.ace.component.datatable.DataTable.getConditionalRows(DataTable.java:1087)
      4. org.icefaces.ace.component.datatable.DataTableRowRenderer.encodeRow(DataTableRowRenderer.java:62)
      5. org.icefaces.ace.component.datatable.DataTableRenderer.encodeTableBody(DataTableRenderer.java:293)
      6. org.icefaces.ace.component.datatable.DataTableRenderer.encodeTable(DataTableRenderer.java:243)
      7. org.icefaces.ace.component.datatable.DataTableRenderer.encodeEntirety(DataTableRenderer.java:170)
      8. org.icefaces.ace.component.datatable.DataTableRenderer.encodeEnd(DataTableRenderer.java:120)
      8 frames
    3. JavaEE 7
      Renderer.encodeChildren
      1. javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:877)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1826)
      3. javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
      3 frames
    4. org.icefaces.impl
      RendererWrapper.encodeChildren
      1. org.icefaces.impl.renderkit.RendererWrapper.encodeChildren(RendererWrapper.java:49)
      1 frame
    5. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:847)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819)
      3. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1822)
      3 frames
    6. org.icefaces.impl
      DOMPartialViewContext.processPartial
      1. org.icefaces.impl.context.DOMPartialViewContext.processPartial(DOMPartialViewContext.java:150)
      1 frame
    7. JavaEE 7
      UIComponent.encodeAll
      1. javax.faces.component.UIViewRoot.encodeChildren(UIViewRoot.java:973)
      2. javax.faces.component.UIComponent.encodeAll(UIComponent.java:1819)
      2 frames
    8. JSF
      MultiViewHandler.renderView
      1. com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:421)
      2. com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:125)
      2 frames
    9. JavaEE 7
      ViewHandlerWrapper.renderView
      1. javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:286)
      1 frame
    10. JSF
      LifecycleImpl.render
      1. com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:120)
      2. com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
      3. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      3 frames
    11. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:594)
      1 frame
    12. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    13. Grizzly HTTP
      AprEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      3. org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
      3 frames
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:722)
      3 frames