java.lang.NullPointerException

JIRA | Kevin Normoyle | 3 years ago
  1. 0

    this failed as part of a longer random test but I created a test with just these params and it failed right away the test cd h2o/py/testdir_single_jvm python test_GLM2_poisson_fail.py from the original fail data is covtype.20k.data http://test.0xdata.com/job/h2o.nightly/799/testReport/junit/test_GLM2_params_rand2_newargs/Basic/test_GLM2_params_rand2_newargs_2/ 2/GLM2 parameters: {'destination_key': None, 'standardize': None, 'family': 'poisson', 'beta_epsilon': None, 'max_iter': None, 'higher_accuracy': None, 'tweedie_variance_power': None, 'lambda_search': 1, 'ignored_cols': 0, 'source': u'covtype.20k.hex', 'parallelism': None, 'beta_eps': None, 'n_folds': 1, 'alpha': 0.8, 'use_all_factor_levels': None, 'response': 54, 'lambda': 0} { "Request2": 0, "_beta": null, "_proximalPenalty": 0.0, "_runAllLambdas": "true", "_wgiven": null, "alpha": [ 0.8 ], "beta_epsilon": 0.0001, "description": "GLM2", "destination_key": "GLMModel__91d68cfe342c20ac419f11fc429e47ea", "end_time": 0, "exception": null, "family": "poisson", "job_key": "GLM2Job__a377b7b451a7f26f1f529ab2397442fa", "lambda": [ 0.0 ], "lambda_max": "NaN", "link": "log", "max_iter": 100, "n_folds": 1, "response": {}, "response_info": { "h2o": "pytest-jenkins-17465", "node": "/10.137.71.117:54321", "redirect_url": "/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea", "status": "redirect", "time": 22 }, "source": { "_key": "covtype.20k.hex" }, "standardize": "true", "start_time": 1400576978588, "state": "RUNNING", "tweedie_link_power": 1.0, "tweedie_variance_power": 0.0 } at top of poll_url, timeoutSec: 70 redirect http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.12666667 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.19666667 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.24 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.28 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.30666667 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.33 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.36 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.38666666 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.41666666 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.44666666 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.47 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea rjson: { "error": "Got exception 'class java.lang.NullPointerException', with msg 'null'\njava.lang.NullPointerException\n\tat hex.glm.GLM2.contractVec(GLM2.java:332)\n\tat hex.glm.GLM2.needLineSearch(GLM2.java:352)\n\tat hex.glm.GLM2$Iteration.callback(GLM2.java:583)\n\tat hex.glm.GLM2$Iteration.callback(GLM2.java:540)\n\tat water.H2O$H2OCallback.onCompletion(H2O.java:760)\n\tat jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386)\n\tat water.MRTask2.compute2(MRTask2.java:413)\n\tat water.H2O$H2OCountedCompleter.compute(H2O.java:732)\n\tat jsr166y.CountedCompleter.exec(CountedCompleter.java:429)\n\tat jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)\n\tat jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)\n\tat jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)\n\tat jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)\n", "response": { "h2o": "pytest-jenkins-17465", "node": "/10.137.71.117:54321", "status": "error", "time": 0 } } rjson error in poll_url: Got exception 'class java.lang.NullPointerException', with msg 'null' java.lang.NullPointerException at hex.glm.GLM2.contractVec(GLM2.java:332) at hex.glm.GLM2.needLineSearch(GLM2.java:352) at hex.glm.GLM2$Iteration.callback(GLM2.java:583) at hex.glm.GLM2$Iteration.callback(GLM2.java:540) at water.H2O$H2OCallback.onCompletion(H2O.java:760) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:413) at water.H2O$H2OCountedCompleter.compute(H2O.java:732) 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 | Kevin Normoyle
    java.lang.NullPointerException
  2. 0

    this failed as part of a longer random test but I created a test with just these params and it failed right away the test cd h2o/py/testdir_single_jvm python test_GLM2_poisson_fail.py from the original fail data is covtype.20k.data http://test.0xdata.com/job/h2o.nightly/799/testReport/junit/test_GLM2_params_rand2_newargs/Basic/test_GLM2_params_rand2_newargs_2/ 2/GLM2 parameters: {'destination_key': None, 'standardize': None, 'family': 'poisson', 'beta_epsilon': None, 'max_iter': None, 'higher_accuracy': None, 'tweedie_variance_power': None, 'lambda_search': 1, 'ignored_cols': 0, 'source': u'covtype.20k.hex', 'parallelism': None, 'beta_eps': None, 'n_folds': 1, 'alpha': 0.8, 'use_all_factor_levels': None, 'response': 54, 'lambda': 0} { "Request2": 0, "_beta": null, "_proximalPenalty": 0.0, "_runAllLambdas": "true", "_wgiven": null, "alpha": [ 0.8 ], "beta_epsilon": 0.0001, "description": "GLM2", "destination_key": "GLMModel__91d68cfe342c20ac419f11fc429e47ea", "end_time": 0, "exception": null, "family": "poisson", "job_key": "GLM2Job__a377b7b451a7f26f1f529ab2397442fa", "lambda": [ 0.0 ], "lambda_max": "NaN", "link": "log", "max_iter": 100, "n_folds": 1, "response": {}, "response_info": { "h2o": "pytest-jenkins-17465", "node": "/10.137.71.117:54321", "redirect_url": "/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea", "status": "redirect", "time": 22 }, "source": { "_key": "covtype.20k.hex" }, "standardize": "true", "start_time": 1400576978588, "state": "RUNNING", "tweedie_link_power": 1.0, "tweedie_variance_power": 0.0 } at top of poll_url, timeoutSec: 70 redirect http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.12666667 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.19666667 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.24 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.28 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.30666667 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.33 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.36 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.38666666 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.41666666 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.44666666 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea poll 0.47 http://10.137.71.117:54321/2/GLMProgress.json?job_key=GLM2Job__a377b7b451a7f26f1f529ab2397442fa&destination_key=GLMModel__91d68cfe342c20ac419f11fc429e47ea rjson: { "error": "Got exception 'class java.lang.NullPointerException', with msg 'null'\njava.lang.NullPointerException\n\tat hex.glm.GLM2.contractVec(GLM2.java:332)\n\tat hex.glm.GLM2.needLineSearch(GLM2.java:352)\n\tat hex.glm.GLM2$Iteration.callback(GLM2.java:583)\n\tat hex.glm.GLM2$Iteration.callback(GLM2.java:540)\n\tat water.H2O$H2OCallback.onCompletion(H2O.java:760)\n\tat jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386)\n\tat water.MRTask2.compute2(MRTask2.java:413)\n\tat water.H2O$H2OCountedCompleter.compute(H2O.java:732)\n\tat jsr166y.CountedCompleter.exec(CountedCompleter.java:429)\n\tat jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)\n\tat jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)\n\tat jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)\n\tat jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)\n", "response": { "h2o": "pytest-jenkins-17465", "node": "/10.137.71.117:54321", "status": "error", "time": 0 } } rjson error in poll_url: Got exception 'class java.lang.NullPointerException', with msg 'null' java.lang.NullPointerException at hex.glm.GLM2.contractVec(GLM2.java:332) at hex.glm.GLM2.needLineSearch(GLM2.java:352) at hex.glm.GLM2$Iteration.callback(GLM2.java:583) at hex.glm.GLM2$Iteration.callback(GLM2.java:540) at water.H2O$H2OCallback.onCompletion(H2O.java:760) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:413) at water.H2O$H2OCountedCompleter.compute(H2O.java:732) 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 | Kevin Normoyle
    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 hex.glm.GLM2.contractVec()
    2. hex.glm
      GLM2$Iteration.callback
      1. hex.glm.GLM2.contractVec(GLM2.java:332)
      2. hex.glm.GLM2.needLineSearch(GLM2.java:352)
      3. hex.glm.GLM2$Iteration.callback(GLM2.java:583)
      4. hex.glm.GLM2$Iteration.callback(GLM2.java:540)
      4 frames
    3. water
      H2O$H2OCallback.onCompletion
      1. water.H2O$H2OCallback.onCompletion(H2O.java:760)
      1 frame
    4. jsr166y
      CountedCompleter.tryComplete
      1. jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386)
      1 frame
    5. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask2.compute2(MRTask2.java:413)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:732)
      2 frames
    6. 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