java.lang.NullPointerException

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

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.ClusterMapImpl.getClusterIdFromVMsInFolder()
    2. com.vmware.vhadoop
      VHM$1.run
      1. com.vmware.vhadoop.vhm.ClusterMapImpl.getClusterIdFromVMsInFolder(ClusterMapImpl.java:287)
      2. com.vmware.vhadoop.vhm.VHM.getClusterIdForVCFolder(VHM.java:178)
      3. com.vmware.vhadoop.vhm.VHM.completeClusterScaleEventDetails(VHM.java:187)
      4. com.vmware.vhadoop.vhm.VHM.getScaleEventsForCluster(VHM.java:217)
      5. com.vmware.vhadoop.vhm.VHM.handleEvents(VHM.java:286)
      6. com.vmware.vhadoop.vhm.VHM.access$200(VHM.java:21)
      7. com.vmware.vhadoop.vhm.VHM$1.run(VHM.java:305)
      7 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame