java.lang.NullPointerException

JIRA | Nidhi Mehta | 3 years ago
  1. 0

    On master git hash: 34e56399ab91a6d237edba3f7efc9d2ace4ad6a9 Built on: Wed Mar 19 17:18:12 PDT 2014 Two nodes cluster (10G heap) Import and parse allyr airlines data Build GBM model with 19-Mar 05:31:16.702 192.168.1.162:54545 15427 # Session INFO HTTPD: GET /2/GBM.html source=airlines_all.hex grid_parallelism=1 score_each_iteration=0 max_depth=2 response=IsDepDelayed nbins=2 classification=1 learn_rate=0.1 ignored_cols=4,5,6,7,9,10,11,12,13,14,15,19,20,21,22,23,24,25,26,27,28,29 ntrees=5 min_rows=10 importance=1 While the model is in progress, open the airlines datafile and convert year, month, day of week, day of month to factor. Get following error on the model page- Got exception 'class java.lang.NullPointerException', with msg 'null' java.lang.NullPointerException at water.Lockable.access$100(Lockable.java:22) at water.Lockable$Unlock.atomic(Lockable.java:179) at water.Lockable$Unlock.atomic(Lockable.java:175) at water.TAtomic.atomic(TAtomic.java:19) at water.Atomic.compute2(Atomic.java:57) at water.Atomic.fork(Atomic.java:42) at water.Atomic.invoke(Atomic.java:34) at water.Lockable.unlock(Lockable.java:170) at hex.gbm.SharedTreeModelBuilder.cleanUp(SharedTreeModelBuilder.java:194) at hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:178) at hex.gbm.GBM.execImpl(GBM.java:124) at water.Job.exec(Job.java:366) at water.Job.access$000(Job.java:27) at water.Job$3.compute2(Job.java:321) at water.H2O$H2OCountedCompleter.compute(H2O.java:710) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Nidhi Mehta
    java.lang.NullPointerException
  2. 0

    On master git hash: 34e56399ab91a6d237edba3f7efc9d2ace4ad6a9 Built on: Wed Mar 19 17:18:12 PDT 2014 Two nodes cluster (10G heap) Import and parse allyr airlines data Build GBM model with 19-Mar 05:31:16.702 192.168.1.162:54545 15427 # Session INFO HTTPD: GET /2/GBM.html source=airlines_all.hex grid_parallelism=1 score_each_iteration=0 max_depth=2 response=IsDepDelayed nbins=2 classification=1 learn_rate=0.1 ignored_cols=4,5,6,7,9,10,11,12,13,14,15,19,20,21,22,23,24,25,26,27,28,29 ntrees=5 min_rows=10 importance=1 While the model is in progress, open the airlines datafile and convert year, month, day of week, day of month to factor. Get following error on the model page- Got exception 'class java.lang.NullPointerException', with msg 'null' java.lang.NullPointerException at water.Lockable.access$100(Lockable.java:22) at water.Lockable$Unlock.atomic(Lockable.java:179) at water.Lockable$Unlock.atomic(Lockable.java:175) at water.TAtomic.atomic(TAtomic.java:19) at water.Atomic.compute2(Atomic.java:57) at water.Atomic.fork(Atomic.java:42) at water.Atomic.invoke(Atomic.java:34) at water.Lockable.unlock(Lockable.java:170) at hex.gbm.SharedTreeModelBuilder.cleanUp(SharedTreeModelBuilder.java:194) at hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:178) at hex.gbm.GBM.execImpl(GBM.java:124) at water.Job.exec(Job.java:366) at water.Job.access$000(Job.java:27) at water.Job$3.compute2(Job.java:321) at water.H2O$H2OCountedCompleter.compute(H2O.java:710) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Nidhi Mehta
    java.lang.NullPointerException
  3. 0

    In R studio and R terminal, type the following commands library(h2o) remoteH2O=h2o.init(Xmx="10g") Then copy and paste the following, in the two terminals- mn=h2o.uploadFile(remoteH2O,"/Users/nidhimehta/h2o/smalldata/mnist/train.csv.gz",key="mn") hh=h2o.gbm(x=c(1,2,3),y=785,data=mn,n.trees=c(500,200,10,100)) In R studio get- > hh=h2o.gbm(x=c(1,2,3),y=785,data=mn,n.trees=c(500,200,10,100)) |=====================================================================================================| 100% Error in h2o.__remoteSend(data@h2o, model_view, `_modelKey` = allModels[[i]]$destination_key) : http://127.0.0.1:54321/2/GBMModelView.json returned the following error: Model 'GBM_95d366dba92dc2f382b92b0966ab4ed1' not found! In addition: Warning message: In matrix(unlist(res$cm), nrow = length(res$cm)) : data length [3200] is not a sub-multiple or multiple of the number of rows [501] -------------------------------------------------------------------- In browser- Got exception class java.lang.NullPointerException, with msg null java.lang.NullPointerException at water.Lockable.set_unlocked(Lockable.java:210) at water.Lockable.access$200(Lockable.java:22) at water.Lockable$Unlock.atomic(Lockable.java:180) at water.Lockable$Unlock.atomic(Lockable.java:175) at water.TAtomic.atomic(TAtomic.java:19) at water.Atomic.compute2(Atomic.java:57) at water.Atomic.fork(Atomic.java:42) at water.Atomic.invoke(Atomic.java:34) at water.Lockable.unlock(Lockable.java:170) at hex.gbm.SharedTreeModelBuilder.cleanUp(SharedTreeModelBuilder.java:182) at hex.gbm.GBM.buildModel(GBM.java:177) at hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:168) at hex.gbm.GBM.exec(GBM.java:119) at water.Job$4.compute2(Job.java:501) at water.H2O$H2OCountedCompleter.compute(H2O.java:712) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Nidhi Mehta
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In R studio and R terminal, type the following commands library(h2o) remoteH2O=h2o.init(Xmx="10g") Then copy and paste the following, in the two terminals- mn=h2o.uploadFile(remoteH2O,"/Users/nidhimehta/h2o/smalldata/mnist/train.csv.gz",key="mn") hh=h2o.gbm(x=c(1,2,3),y=785,data=mn,n.trees=c(500,200,10,100)) In R studio get- > hh=h2o.gbm(x=c(1,2,3),y=785,data=mn,n.trees=c(500,200,10,100)) |=====================================================================================================| 100% Error in h2o.__remoteSend(data@h2o, model_view, `_modelKey` = allModels[[i]]$destination_key) : http://127.0.0.1:54321/2/GBMModelView.json returned the following error: Model 'GBM_95d366dba92dc2f382b92b0966ab4ed1' not found! In addition: Warning message: In matrix(unlist(res$cm), nrow = length(res$cm)) : data length [3200] is not a sub-multiple or multiple of the number of rows [501] -------------------------------------------------------------------- In browser- Got exception class java.lang.NullPointerException, with msg null java.lang.NullPointerException at water.Lockable.set_unlocked(Lockable.java:210) at water.Lockable.access$200(Lockable.java:22) at water.Lockable$Unlock.atomic(Lockable.java:180) at water.Lockable$Unlock.atomic(Lockable.java:175) at water.TAtomic.atomic(TAtomic.java:19) at water.Atomic.compute2(Atomic.java:57) at water.Atomic.fork(Atomic.java:42) at water.Atomic.invoke(Atomic.java:34) at water.Lockable.unlock(Lockable.java:170) at hex.gbm.SharedTreeModelBuilder.cleanUp(SharedTreeModelBuilder.java:182) at hex.gbm.GBM.buildModel(GBM.java:177) at hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:168) at hex.gbm.GBM.exec(GBM.java:119) at water.Job$4.compute2(Job.java:501) at water.H2O$H2OCountedCompleter.compute(H2O.java:712) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Nidhi Mehta
    java.lang.NullPointerException
  6. 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

    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 water.Lockable.access$100()
    2. water
      Lockable.unlock
      1. water.Lockable.access$100(Lockable.java:22)
      2. water.Lockable$Unlock.atomic(Lockable.java:179)
      3. water.Lockable$Unlock.atomic(Lockable.java:175)
      4. water.TAtomic.atomic(TAtomic.java:19)
      5. water.Atomic.compute2(Atomic.java:57)
      6. water.Atomic.fork(Atomic.java:42)
      7. water.Atomic.invoke(Atomic.java:34)
      8. water.Lockable.unlock(Lockable.java:170)
      8 frames
    3. hex.gbm
      GBM.execImpl
      1. hex.gbm.SharedTreeModelBuilder.cleanUp(SharedTreeModelBuilder.java:194)
      2. hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:178)
      3. hex.gbm.GBM.execImpl(GBM.java:124)
      3 frames
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.Job.exec(Job.java:366)
      2. water.Job.access$000(Job.java:27)
      3. water.Job$3.compute2(Job.java:321)
      4. water.H2O$H2OCountedCompleter.compute(H2O.java:710)
      4 frames
    5. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames