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.

  • Logging this for tracking purpose, tried to rebuild with same and it worked: Build : shannon 23 Steps to reproduce : 1) Start h2o on hadoop hadoop jar h2odriver.jar -nodes 4 -mapperXmx 40g -output June23-1 -baseport 55555 -flow_dir hdfs:///user/neeraja/myflow-1 -disown 2) importFiles [ "hdfs://mr-0xd6.0xdata.loc/datasets/bigdata/custmv/customer_m_com_200k_3.2KCols.csv" ] 3) Parse 4) Build DL model as below buildModel 'deeplearning', {"model_id":"1deeplearning-643eb85e-d05c-4cbb-a1b8-da64e730babb","training_frame":"customer_m_com_200k_3_2KCols.hex","ignore_const_cols":true,"response_column":"C1","activation":"Rectifier","hidden":[5,5],"epochs":1,"variable_importances":false,"balance_classes":false,"max_confusion_matrix_size":20,"max_hit_ratio_k":10,"checkpoint":"","use_all_factor_levels":true,"train_samples_per_iteration":-2,"adaptive_rate":true,"input_dropout_ratio":0,"l1":0,"l2":0,"loss":"Automatic","score_interval":5,"score_training_samples":10000,"score_duty_cycle":0.1,"replicate_training_data":true,"autoencoder":false,"overwrite_with_best_model":true,"target_ratio_comm_to_comp":0.02,"seed":-5357611300130474000,"rho":0.99,"epsilon":1e-8,"max_w2":"Infinity","initial_weight_distribution":"UniformAdaptive","classification_stop":0,"diagnostics":true,"fast_mode":true,"force_load_balance":true,"single_node_mode":false,"shuffle_training_data":false,"missing_values_handling":"MeanImputation","quiet_mode":false,"sparse":false,"col_major":false,"average_activation":0,"sparsity_beta":0,"max_categorical_features":2147483647,"reproducible":false,"export_weights_and_biases":false} Error: Got exception 'class java.lang.RuntimeException', with msg 'java.lang.RuntimeException: java.lang.NullPointerException' java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException at hex.deeplearning.DeepLearning$DeepLearningDriver.trainModel(DeepLearning.java:382) at hex.deeplearning.DeepLearning$DeepLearningDriver.buildModel(DeepLearning.java:232) at hex.deeplearning.DeepLearning$DeepLearningDriver.compute2(DeepLearning.java:146) at water.H2O$H2OCountedCompleter.compute(H2O.java:698) 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) Caused by: java.lang.RuntimeException: java.lang.NullPointerException at hex.deeplearning.DeepLearningModel.doScoring(DeepLearningModel.java:710) at hex.deeplearning.DeepLearning$DeepLearningDriver.trainModel(DeepLearning.java:352) ... 8 more Caused by: java.lang.NullPointerException at hex.Model.adaptTestForTrain(Model.java:480) at hex.Model.adaptTestForTrain(Model.java:435) at hex.Model.score(Model.java:551) at hex.deeplearning.DeepLearningModel.score(DeepLearningModel.java:839) at hex.Model.score(Model.java:532) at hex.deeplearning.DeepLearningModel.doScoring(DeepLearningModel.java:564) ... 9 more Error: Got exception 'class java.lang.RuntimeException', with msg 'java.lang.RuntimeException: java.lang.NullPointerException' java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException at hex.deeplearning.DeepLearning$DeepLearningDriver.trainModel(DeepLearning.java:382) at hex.deeplearning.DeepLearning$DeepLearningDriver.buildModel(DeepLearning.java:232) at hex.deeplearning.DeepLearning$DeepLearningDriver.compute2(DeepLearning.java:146) at water.H2O$H2OCountedCompleter.compute(H2O.java:698) 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) Caused by: java.lang.RuntimeException: java.lang.NullPointerException at hex.deeplearning.DeepLearningModel.doScoring(DeepLearningModel.java:710) at hex.deeplearning.DeepLearning$DeepLearningDriver.trainModel(DeepLearning.java:352) ... 8 more Caused by: java.lang.NullPointerException at hex.Model.adaptTestForTrain(Model.java:480) at hex.Model.adaptTestForTrain(Model.java:435) at hex.Model.score(Model.java:551) at hex.deeplearning.DeepLearningModel.score(DeepLearningModel.java:839) at hex.Model.score(Model.java:532) at hex.deeplearning.DeepLearningModel.doScoring(DeepLearningModel.java:564) ... 9 more at updateJob (http://172.16.2.181:55555/flow/js/flow.js:5382:75) at http://172.16.2.181:55555/flow/js/flow.js:5395:21 at http://172.16.2.181:55555/flow/js/flow.js:8273:28 at Object.<anonymous> (http://172.16.2.181:55555/flow/js/flow.js:8066:28) at fire (http://172.16.2.181:55555/flow/js/flow-lib.js:3852:30) at Object.self.fireWith [as resolveWith] (http://172.16.2.181:55555/flow/js/flow-lib.js:3964:7) at done (http://172.16.2.181:55555/flow/js/flow-lib.js:9017:14) at XMLHttpRequest.<anonymous> (http://172.16.2.181:55555/flow/js/flow-lib.js:9358:9)
    via by Neeraja Madabhushi,
    • java.lang.NullPointerException at hex.Model.adaptTestForTrain(Model.java:807) at hex.Model.adaptTestForTrain(Model.java:723) at hex.ModelBuilder.cv_scoreCVModels(ModelBuilder.java:426) at hex.ModelBuilder.computeCrossValidation(ModelBuilder.java:271) at hex.ModelBuilder$1.compute2(ModelBuilder.java:199) at water.H2O$H2OCountedCompleter.compute(H2O.java:1198) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 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.