java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException

JIRA | Neeraja Madabhushi | 1 year ago
  1. 0

    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)

    JIRA | 1 year ago | Neeraja Madabhushi
    java.lang.RuntimeException: java.lang.RuntimeException: java.lang.NullPointerException
  2. 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
  3. 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 hex.Model.adaptTestForTrain()
    2. hex
      Model.score
      1. hex.Model.adaptTestForTrain(Model.java:480)
      2. hex.Model.adaptTestForTrain(Model.java:435)
      3. hex.Model.score(Model.java:551)
      3 frames
    3. hex.deeplearning
      DeepLearningModel.score
      1. hex.deeplearning.DeepLearningModel.score(DeepLearningModel.java:839)
      1 frame
    4. hex
      Model.score
      1. hex.Model.score(Model.java:532)
      1 frame
    5. hex.deeplearning
      DeepLearning$DeepLearningDriver.compute2
      1. hex.deeplearning.DeepLearningModel.doScoring(DeepLearningModel.java:564)
      2. hex.deeplearning.DeepLearning$DeepLearningDriver.trainModel(DeepLearning.java:352)
      3. hex.deeplearning.DeepLearning$DeepLearningDriver.buildModel(DeepLearning.java:232)
      4. hex.deeplearning.DeepLearning$DeepLearningDriver.compute2(DeepLearning.java:146)
      4 frames
    6. water
      H2O$H2OCountedCompleter.compute
      1. water.H2O$H2OCountedCompleter.compute(H2O.java:698)
      1 frame
    7. 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