java.lang.ArrayIndexOutOfBoundsException: 1

JIRA | Irene Lang | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    call in R: h1<- h2o.glm.FV(x=c("C1", "C2", "C3", "C4"), y="C5", family="gaussian", data=phbH, nfolds=0, alpha=.5, lambda=93666.86, standardize=F) 11:43:06.687 # Session INFO HTTPD: POST /2/GLM2.json source=phbirths_raw.hex alpha=0.5 response=C5 family=gaussian lambda=93666.86 n_folds=0 destination_key=GLM2Model_3c5b9f7bf62e49bbbd746e22ab917e4a beta_epsilon=1e-04 standardize=1 11:43:06.694 # Session INFO WATER: Building H2O GLM2 model with these parameters: 11:43:06.699 # Session INFO WATER: { 11:43:06.699 # Session INFO WATER: "job_key": "GLM2Job__84812fa0c02d149bb55aeb06c58049d1", 11:43:06.699 # Session INFO WATER: "destination_key": "GLM2Model_3c5b9f7bf62e49bbbd746e22ab917e4a", 11:43:06.700 # Session INFO WATER: "description": "GLM2", 11:43:06.700 # Session INFO WATER: "start_time": 1393875786693, 11:43:06.701 # Session INFO WATER: "end_time": 0, 11:43:06.701 # Session INFO WATER: "state": "RUNNING", 11:43:06.701 # Session INFO WATER: "source": { 11:43:06.702 # Session INFO WATER: "_key": "phbirths_raw.hex", 11:43:06.702 # Session INFO WATER: "num_cols": 5, 11:43:06.703 # Session INFO WATER: "num_rows": 1115, 11:43:06.703 # Session INFO WATER: "ignored_cols": "N/A", 11:43:06.704 # Session INFO WATER: "used_cols": "0,1,2,3" 11:43:06.711 # Session INFO WATER: }, 11:43:06.712 # Session INFO WATER: "response": { 11:43:06.713 # Session INFO WATER: "name": "C5" 11:43:06.713 # Session INFO WATER: }, 11:43:06.714 # Session INFO WATER: "classification": "true", 11:43:06.714 # Session INFO WATER: "max_iter": 100, 11:43:06.714 # Session INFO WATER: "standardize": "true", 11:43:06.715 # Session INFO WATER: "n_folds": 0, 11:43:06.715 # Session INFO WATER: "family": "gaussian", 11:43:06.716 # Session INFO WATER: "_proximalPenalty": 0.0, 11:43:06.716 # Session INFO WATER: "_runAllLambdas": "true", 11:43:06.717 # Session INFO WATER: "link": "identity", 11:43:06.717 # Session INFO WATER: "case_mode": "n/a", 11:43:06.718 # Session INFO WATER: "case_val": 0.0, 11:43:06.718 # Session INFO WATER: "tweedie_variance_power": 0.0, 11:43:06.719 # Session INFO WATER: "tweedie_link_power": 1.0, 11:43:06.719 # Session INFO WATER: "alpha": [ 11:43:06.720 # Session INFO WATER: 0.5 11:43:06.720 # Session INFO WATER: ], 11:43:06.721 # Session INFO WATER: "lambda": [ 11:43:06.721 # Session INFO WATER: 93666.86 11:43:06.722 # Session INFO WATER: ], 11:43:06.722 # Session INFO WATER: "beta_epsilon": 1.0E-4 11:43:06.723 # Session INFO WATER: } java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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) java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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) java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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) java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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 | Irene Lang
    java.lang.ArrayIndexOutOfBoundsException: 1
  2. 0

    call in R: h1<- h2o.glm.FV(x=c("C1", "C2", "C3", "C4"), y="C5", family="gaussian", data=phbH, nfolds=0, alpha=.5, lambda=93666.86, standardize=F) 11:43:06.687 # Session INFO HTTPD: POST /2/GLM2.json source=phbirths_raw.hex alpha=0.5 response=C5 family=gaussian lambda=93666.86 n_folds=0 destination_key=GLM2Model_3c5b9f7bf62e49bbbd746e22ab917e4a beta_epsilon=1e-04 standardize=1 11:43:06.694 # Session INFO WATER: Building H2O GLM2 model with these parameters: 11:43:06.699 # Session INFO WATER: { 11:43:06.699 # Session INFO WATER: "job_key": "GLM2Job__84812fa0c02d149bb55aeb06c58049d1", 11:43:06.699 # Session INFO WATER: "destination_key": "GLM2Model_3c5b9f7bf62e49bbbd746e22ab917e4a", 11:43:06.700 # Session INFO WATER: "description": "GLM2", 11:43:06.700 # Session INFO WATER: "start_time": 1393875786693, 11:43:06.701 # Session INFO WATER: "end_time": 0, 11:43:06.701 # Session INFO WATER: "state": "RUNNING", 11:43:06.701 # Session INFO WATER: "source": { 11:43:06.702 # Session INFO WATER: "_key": "phbirths_raw.hex", 11:43:06.702 # Session INFO WATER: "num_cols": 5, 11:43:06.703 # Session INFO WATER: "num_rows": 1115, 11:43:06.703 # Session INFO WATER: "ignored_cols": "N/A", 11:43:06.704 # Session INFO WATER: "used_cols": "0,1,2,3" 11:43:06.711 # Session INFO WATER: }, 11:43:06.712 # Session INFO WATER: "response": { 11:43:06.713 # Session INFO WATER: "name": "C5" 11:43:06.713 # Session INFO WATER: }, 11:43:06.714 # Session INFO WATER: "classification": "true", 11:43:06.714 # Session INFO WATER: "max_iter": 100, 11:43:06.714 # Session INFO WATER: "standardize": "true", 11:43:06.715 # Session INFO WATER: "n_folds": 0, 11:43:06.715 # Session INFO WATER: "family": "gaussian", 11:43:06.716 # Session INFO WATER: "_proximalPenalty": 0.0, 11:43:06.716 # Session INFO WATER: "_runAllLambdas": "true", 11:43:06.717 # Session INFO WATER: "link": "identity", 11:43:06.717 # Session INFO WATER: "case_mode": "n/a", 11:43:06.718 # Session INFO WATER: "case_val": 0.0, 11:43:06.718 # Session INFO WATER: "tweedie_variance_power": 0.0, 11:43:06.719 # Session INFO WATER: "tweedie_link_power": 1.0, 11:43:06.719 # Session INFO WATER: "alpha": [ 11:43:06.720 # Session INFO WATER: 0.5 11:43:06.720 # Session INFO WATER: ], 11:43:06.721 # Session INFO WATER: "lambda": [ 11:43:06.721 # Session INFO WATER: 93666.86 11:43:06.722 # Session INFO WATER: ], 11:43:06.722 # Session INFO WATER: "beta_epsilon": 1.0E-4 11:43:06.723 # Session INFO WATER: } java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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) java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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) java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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) java.lang.ArrayIndexOutOfBoundsException: 1 at hex.glm.GLM2$Iteration.callback(GLM2.java:329) at hex.glm.GLM2$Iteration.callback(GLM2.java:298) at water.H2O$H2OCallback.onCompletion(H2O.java:739) at jsr166y.CountedCompleter.tryComplete(CountedCompleter.java:386) at water.MRTask2.compute2(MRTask2.java:375) at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 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 | Irene Lang
    java.lang.ArrayIndexOutOfBoundsException: 1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1

      at hex.glm.GLM2$Iteration.callback()
    2. hex.glm
      GLM2$Iteration.callback
      1. hex.glm.GLM2$Iteration.callback(GLM2.java:329)
      2. hex.glm.GLM2$Iteration.callback(GLM2.java:298)
      2 frames
    3. water
      H2O$H2OCallback.onCompletion
      1. water.H2O$H2OCallback.onCompletion(H2O.java:739)
      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:375)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:713)
      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