java.lang.NullPointerException

ZK-Tracker | SwapnaG | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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
  3. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    J2ME (Java) - Null Pointer Exception caught in Display Class

    Stack Overflow | 6 years ago | Tom
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179
  6. 0

    Cloud Foundry v2 in Grails

    Stack Overflow | 3 years ago | angelo087
    java.lang.NullPointerException: Cannot invoke method getAt() on null object

    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.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