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.

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