java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by SwapnaG,
  • 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)
    via by SwapnaG,
    • 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)
    No Bugmate found.