java.lang.NullPointerException

SpringSource Issue Tracker | Rajit Saha | 4 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

    VHM is not working with latest Serengeti build "VMware-Serengeti-0.8.1.0-1110315_OVF10.ova", which has /opt/serengeti/vhm/elastic-runtime2-0.0.1-SNAPSHOT-jar-with-dependencies.jar. I deployed the Serengeti vApp and deployed a Hadoop cluster . then tried running the command {noformat} cluster setElasticity --name vhmtest --targetComputeNodeNum 3 --mode manual {noformat} It was hanging for long time , while investigating I found NPE in vhm.log {noformat} 2013 Apr 26 19:55:01.490 [MQClientImpl-RabbitAdaptor] New Serengeti limit event placed on queue 2013 Apr 26 19:55:01.491 [MQClientImpl-RabbitAdaptor] Rabbit queue waiting for message 2013 Apr 26 19:55:02.420 [VHM_Main_Thread-VcVlsi] Unexpected exception in getVMsInFolder java.lang.NullPointerException at com.vmware.vhadoop.vhm.vc.VcVlsi.findObjectsInFolder(VcVlsi.java:392) at com.vmware.vhadoop.vhm.vc.VcVlsi.getVMsInFolder(VcVlsi.java:697) at com.vmware.vhadoop.vhm.vc.VcAdapter.listVMsInFolder(VcAdapter.java:153) at com.vmware.vhadoop.vhm.VHM.getClusterIdForVCFolder(VHM.java:177) at com.vmware.vhadoop.vhm.VHM.completeClusterScaleEventDetails(VHM.java:187) at com.vmware.vhadoop.vhm.VHM.getScaleEventsForCluster(VHM.java:217) at com.vmware.vhadoop.vhm.VHM.handleEvents(VHM.java:286) at com.vmware.vhadoop.vhm.VHM.access$200(VHM.java:21) at com.vmware.vhadoop.vhm.VHM$1.run(VHM.java:305) at java.lang.Thread.run(Thread.java:636) Exception in thread "VHM_Main_Thread" java.lang.NullPointerException at com.vmware.vhadoop.vhm.ClusterMapImpl.getClusterIdFromVMsInFolder(ClusterMapImpl.java:287) at com.vmware.vhadoop.vhm.VHM.getClusterIdForVCFolder(VHM.java:178) at com.vmware.vhadoop.vhm.VHM.completeClusterScaleEventDetails(VHM.java:187) at com.vmware.vhadoop.vhm.VHM.getScaleEventsForCluster(VHM.java:217) at com.vmware.vhadoop.vhm.VHM.handleEvents(VHM.java:286) at com.vmware.vhadoop.vhm.VHM.access$200(VHM.java:21) at com.vmware.vhadoop.vhm.VHM$1.run(VHM.java:305) at java.lang.Thread.run(Thread.java:636) {noformat}

    SpringSource Issue Tracker | 4 years ago | Rajit Saha
    java.lang.NullPointerException
  2. 0

    VHM is not working with latest Serengeti build "VMware-Serengeti-0.8.1.0-1110315_OVF10.ova", which has /opt/serengeti/vhm/elastic-runtime2-0.0.1-SNAPSHOT-jar-with-dependencies.jar. I deployed the Serengeti vApp and deployed a Hadoop cluster . then tried running the command {noformat} cluster setElasticity --name vhmtest --targetComputeNodeNum 3 --mode manual {noformat} It was hanging for long time , while investigating I found NPE in vhm.log {noformat} 2013 Apr 26 19:55:01.490 [MQClientImpl-RabbitAdaptor] New Serengeti limit event placed on queue 2013 Apr 26 19:55:01.491 [MQClientImpl-RabbitAdaptor] Rabbit queue waiting for message 2013 Apr 26 19:55:02.420 [VHM_Main_Thread-VcVlsi] Unexpected exception in getVMsInFolder java.lang.NullPointerException at com.vmware.vhadoop.vhm.vc.VcVlsi.findObjectsInFolder(VcVlsi.java:392) at com.vmware.vhadoop.vhm.vc.VcVlsi.getVMsInFolder(VcVlsi.java:697) at com.vmware.vhadoop.vhm.vc.VcAdapter.listVMsInFolder(VcAdapter.java:153) at com.vmware.vhadoop.vhm.VHM.getClusterIdForVCFolder(VHM.java:177) at com.vmware.vhadoop.vhm.VHM.completeClusterScaleEventDetails(VHM.java:187) at com.vmware.vhadoop.vhm.VHM.getScaleEventsForCluster(VHM.java:217) at com.vmware.vhadoop.vhm.VHM.handleEvents(VHM.java:286) at com.vmware.vhadoop.vhm.VHM.access$200(VHM.java:21) at com.vmware.vhadoop.vhm.VHM$1.run(VHM.java:305) at java.lang.Thread.run(Thread.java:636) Exception in thread "VHM_Main_Thread" java.lang.NullPointerException at com.vmware.vhadoop.vhm.ClusterMapImpl.getClusterIdFromVMsInFolder(ClusterMapImpl.java:287) at com.vmware.vhadoop.vhm.VHM.getClusterIdForVCFolder(VHM.java:178) at com.vmware.vhadoop.vhm.VHM.completeClusterScaleEventDetails(VHM.java:187) at com.vmware.vhadoop.vhm.VHM.getScaleEventsForCluster(VHM.java:217) at com.vmware.vhadoop.vhm.VHM.handleEvents(VHM.java:286) at com.vmware.vhadoop.vhm.VHM.access$200(VHM.java:21) at com.vmware.vhadoop.vhm.VHM$1.run(VHM.java:305) at java.lang.Thread.run(Thread.java:636) {noformat}

    SpringSource Issue Tracker | 4 years ago | Rajit Saha
    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 com.vmware.vhadoop.vhm.vc.VcVlsi.findObjectsInFolder()
    2. com.vmware.vhadoop
      VHM$1.run
      1. com.vmware.vhadoop.vhm.vc.VcVlsi.findObjectsInFolder(VcVlsi.java:392)
      2. com.vmware.vhadoop.vhm.vc.VcVlsi.getVMsInFolder(VcVlsi.java:697)
      3. com.vmware.vhadoop.vhm.vc.VcAdapter.listVMsInFolder(VcAdapter.java:153)
      4. com.vmware.vhadoop.vhm.VHM.getClusterIdForVCFolder(VHM.java:177)
      5. com.vmware.vhadoop.vhm.VHM.completeClusterScaleEventDetails(VHM.java:187)
      6. com.vmware.vhadoop.vhm.VHM.getScaleEventsForCluster(VHM.java:217)
      7. com.vmware.vhadoop.vhm.VHM.handleEvents(VHM.java:286)
      8. com.vmware.vhadoop.vhm.VHM.access$200(VHM.java:21)
      9. com.vmware.vhadoop.vhm.VHM$1.run(VHM.java:305)
      9 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame