java.lang.NullPointerException

ZK-Tracker | SwapnaG | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    my project using zk version 3x.. now planning to upgrade to 7x. but got following exception with new library . i am not able to find, what may be the problem 2014-03-12 14:41:37,943 [http-8080-2] ERROR UIPortalLog - Exception : java.lang.NullPointerException at org.zkoss.zul.Treechildren.smartUpdate(Treechildren.java:237) at org.zkoss.zk.ui.AbstractComponent.setId(AbstractComponent.java:600) at com.mq.client.radius.ui.IndexUI.getMenuitemsinOrder(IndexUI.java:272) at com.mq.client.radius.ui.IndexUI.afterCompose(IndexUI.java:149) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:762) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:711) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:687) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:622) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:387) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:309) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:219) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:140) 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.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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source)

    ZK-Tracker | 3 years ago | SwapnaG
    java.lang.NullPointerException
  2. 0

    my project using zk version 3x.. now planning to upgrade to 7x. but got following exception with new library . i am not able to find, what may be the problem 2014-03-12 14:41:37,943 [http-8080-2] ERROR UIPortalLog - Exception : java.lang.NullPointerException at org.zkoss.zul.Treechildren.smartUpdate(Treechildren.java:237) at org.zkoss.zk.ui.AbstractComponent.setId(AbstractComponent.java:600) at com.mq.client.radius.ui.IndexUI.getMenuitemsinOrder(IndexUI.java:272) at com.mq.client.radius.ui.IndexUI.afterCompose(IndexUI.java:149) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:762) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:711) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:687) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655) at org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:622) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:387) at org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:309) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:219) at org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:140) 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.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:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source)

    ZK-Tracker | 3 years ago | SwapnaG
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.zkoss.zul.Treechildren.smartUpdate()
    2. ZK XUL Components
      Treechildren.smartUpdate
      1. org.zkoss.zul.Treechildren.smartUpdate(Treechildren.java:237)
      1 frame
    3. ZK Kernel
      AbstractComponent.setId
      1. org.zkoss.zk.ui.AbstractComponent.setId(AbstractComponent.java:600)
      1 frame
    4. com.mq.client
      IndexUI.afterCompose
      1. com.mq.client.radius.ui.IndexUI.getMenuitemsinOrder(IndexUI.java:272)
      2. com.mq.client.radius.ui.IndexUI.afterCompose(IndexUI.java:149)
      2 frames
    5. ZK Kernel
      DHtmlLayoutServlet.doGet
      1. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild0(UiEngineImpl.java:762)
      2. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:711)
      3. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655)
      4. org.zkoss.zk.ui.impl.UiEngineImpl.execCreateChild(UiEngineImpl.java:687)
      5. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate0(UiEngineImpl.java:655)
      6. org.zkoss.zk.ui.impl.UiEngineImpl.execCreate(UiEngineImpl.java:622)
      7. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage0(UiEngineImpl.java:387)
      8. org.zkoss.zk.ui.impl.UiEngineImpl.execNewPage(UiEngineImpl.java:309)
      9. org.zkoss.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:219)
      10. org.zkoss.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:140)
      10 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      2 frames
    7. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
      8 frames
    8. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
      3 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame