java.lang.ArrayIndexOutOfBoundsException: 2

JIRA | Eric Eckstrand | 2 years ago
  1. 0

    -Training dataset: cup98LRN_z.csv -Test dataset: cup98VAL_z.csv Response: TARGET_B do_classification: FALSE family: binomial When predicting on test dataset the following stacktrace is received: *** 01-31 19:30:41.531 172.16.2.186:54321 26081 # Session INFO: Method: POST , Path: /3/Predictions/models/GLMModel__8b35331030d14717502467db9b164a1f/frames/cup98VAL_z.hex, route: /3/Predictions/models/(?<model>.*)/frames/(?<frame>.*), parms: {model=GLMModel__8b35331030d14717502467db9b164a1f, frame=cup98VAL_z.hex} onExCompletion for hex.Model$BigScore@74ce8acd java.lang.ArrayIndexOutOfBoundsException: 2 at hex.glm.GLMModel.score0(GLMModel.java:95) at hex.Model$BigScore.map(Model.java:476) at water.MRTask.compute2(MRTask.java:428) at water.H2O$H2OCountedCompleter.compute(H2O.java:582) 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) onExCompletion for hex.Model$BigScore@74ce8acd 01-31 19:30:41.542 172.16.2.186:54321 26081 # Session WARN: Caught exception: water.DException$DistributedException: from /172.16.2.186:54321; by class hex.Model$BigScore; class java.lang.ArrayIndexOutOfBoundsException: 2; Stacktrace: [water.MRTask.getResult(MRTask.java:263), water.MRTask.doAll(MRTask.java:218), water.MRTask.doAll(MRTask.java:215), hex.Model.scoreImpl(Model.java:458), hex.Model.score(Model.java:397), water.api.ModelMetricsHandler.predict(ModelMetricsHandler.java:162), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:606), water.api.Handler.handle(Handler.java:57), water.api.RequestServer.handle(RequestServer.java:576), water.api.RequestServer.serve(RequestServer.java:536), water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:433), java.lang.Thread.run(Thread.java:745)] java.lang.ArrayIndexOutOfBoundsException: 2 at hex.glm.GLMModel.score0(GLMModel.java:95) at hex.Model$BigScore.map(Model.java:476) at water.MRTask.compute2(MRTask.java:428) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.H2O$H2OCountedCompleter.compute(H2O.java:582) 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 | 2 years ago | Eric Eckstrand
    java.lang.ArrayIndexOutOfBoundsException: 2
  2. 0

    -Training dataset: cup98LRN_z.csv -Test dataset: cup98VAL_z.csv Response: TARGET_B do_classification: FALSE family: binomial When predicting on test dataset the following stacktrace is received: *** 01-31 19:30:41.531 172.16.2.186:54321 26081 # Session INFO: Method: POST , Path: /3/Predictions/models/GLMModel__8b35331030d14717502467db9b164a1f/frames/cup98VAL_z.hex, route: /3/Predictions/models/(?<model>.*)/frames/(?<frame>.*), parms: {model=GLMModel__8b35331030d14717502467db9b164a1f, frame=cup98VAL_z.hex} onExCompletion for hex.Model$BigScore@74ce8acd java.lang.ArrayIndexOutOfBoundsException: 2 at hex.glm.GLMModel.score0(GLMModel.java:95) at hex.Model$BigScore.map(Model.java:476) at water.MRTask.compute2(MRTask.java:428) at water.H2O$H2OCountedCompleter.compute(H2O.java:582) 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) onExCompletion for hex.Model$BigScore@74ce8acd 01-31 19:30:41.542 172.16.2.186:54321 26081 # Session WARN: Caught exception: water.DException$DistributedException: from /172.16.2.186:54321; by class hex.Model$BigScore; class java.lang.ArrayIndexOutOfBoundsException: 2; Stacktrace: [water.MRTask.getResult(MRTask.java:263), water.MRTask.doAll(MRTask.java:218), water.MRTask.doAll(MRTask.java:215), hex.Model.scoreImpl(Model.java:458), hex.Model.score(Model.java:397), water.api.ModelMetricsHandler.predict(ModelMetricsHandler.java:162), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:606), water.api.Handler.handle(Handler.java:57), water.api.RequestServer.handle(RequestServer.java:576), water.api.RequestServer.serve(RequestServer.java:536), water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:433), java.lang.Thread.run(Thread.java:745)] java.lang.ArrayIndexOutOfBoundsException: 2 at hex.glm.GLMModel.score0(GLMModel.java:95) at hex.Model$BigScore.map(Model.java:476) at water.MRTask.compute2(MRTask.java:428) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.MRTask.compute2(MRTask.java:372) at water.H2O$H2OCountedCompleter.compute(H2O.java:582) 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 | 2 years ago | Eric Eckstrand
    java.lang.ArrayIndexOutOfBoundsException: 2
  3. 0

    Error handling when reading from txt file

    Stack Overflow | 3 weeks ago | Buupu
    java.lang.ArrayIndexOutOfBoundsException: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    migrating jsf1.1 to jsf1.1_02

    Oracle Community | 8 years ago | 843844
    java.lang.ArrayIndexOutOfBoundsException: 2

    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.ArrayIndexOutOfBoundsException

      2

      at hex.glm.GLMModel.score0()
    2. hex.glm
      GLMModel.score0
      1. hex.glm.GLMModel.score0(GLMModel.java:95)
      1 frame
    3. hex
      Model$BigScore.map
      1. hex.Model$BigScore.map(Model.java:476)
      1 frame
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.compute2(MRTask.java:428)
      2. water.MRTask.compute2(MRTask.java:372)
      3. water.MRTask.compute2(MRTask.java:372)
      4. water.MRTask.compute2(MRTask.java:372)
      5. water.MRTask.compute2(MRTask.java:372)
      6. water.MRTask.compute2(MRTask.java:372)
      7. water.MRTask.compute2(MRTask.java:372)
      8. water.H2O$H2OCountedCompleter.compute(H2O.java:582)
      8 frames
    5. 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