ICEmobile
  1. ICEmobile
  2. MOBI-838

NPE occurs when using a ContentStack bound to a unset property

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3 Final
    • Fix Version/s: 1.3.1
    • Component/s: Faces
    • Labels:
      None
    • Environment:
      JSF

      Description

      The following exception occurs when using the contentStack bound to a unset property:

      java.lang.IllegalArgumentException: ""
      at javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:576)
      at org.icefaces.mobi.component.contentstack.ContentStackRenderer.encodeScript(ContentStackRenderer.java:152)
      at org.icefaces.mobi.component.contentstack.ContentStackRenderer.encodeEnd(ContentStackRenderer.java:132)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
      at org.icefaces.mobi.utils.JSFUtils.renderChild(JSFUtils.java:227)
      at org.icefaces.mobi.component.splitpane.SplitPaneRenderer.encodeBegin(SplitPaneRenderer.java:61)
      at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:826)
      at org.icefaces.mobi.utils.JSFUtils.renderChild(JSFUtils.java:221)
      at org.icefaces.mobi.component.util.ViewRenderer.encodeChildren(ViewRenderer.java:35)
      at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:851)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1779)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      at org.icefaces.mobi.utils.JSFUtils.renderLayoutChild(JSFUtils.java:241)
      at org.icefaces.mobi.component.pagepanel.PagePanelRenderer.encodeEnd(PagePanelRenderer.java:100)
      at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:881)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1786)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1782)
      at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:439)
      at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:124)
      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:225)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
      at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

        Activity

        Hide
        Philip Breau added a comment -

        37679 8/27/13 6:44 AM 1 philip.breau MOBI-838 NPE occurs when using a ContentStack bound to a unset property

        Show
        Philip Breau added a comment - 37679 8/27/13 6:44 AM 1 philip.breau MOBI-838 NPE occurs when using a ContentStack bound to a unset property

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: