java.lang.ArrayIndexOutOfBoundsException: -1

JIRA | Kevin Normoyle | 2 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

    http://mr-0xa1:8080/job/master_runit_medium_large/520/artifact/h2o-r/tests/results/testdir_misc_runit_airlines_all_parse_medium.R.out.txt }) 12: tryCatchList(expr, classes, parentenv, handlers) 13: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14: doTryCatch(return(expr), name, parentenv, handler) 15: stop(m, call. = FALSE) 16: .handleSimpleError(function (e) { e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2) signalCondition(e) }, "'water.DException$DistributedException: from /172.17.2.152:45000; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1'", quote(NULL)). SEED used: 1774063150 [2015-07-04 20:30:44] [ERROR] : TEST FAILED here's the h2o stdout http://mr-0xa1:8080/job/master_runit_medium_large/520/artifact/h2o-r/tests/results/java_0_0.out.txt 07-04 20:30:19.386 172.17.2.152:45000 39463 # Session INFO: STARTING TEST: runit_airlines_all_parse_medium.R 07-04 20:30:19.397 172.17.2.152:45000 39463 # Session INFO: 07-04 20:30:19.413 172.17.2.152:45000 39463 # Session INFO: ------------------------------------------------------------ 07-04 20:30:19.426 172.17.2.152:45000 39463 # Session INFO: Method: DELETE, URI: /3/DKV, route: /3/DKV, parms: {} 07-04 20:30:19.426 172.17.2.152:45000 39463 # Session INFO: Removing all objects 07-04 20:30:19.429 172.17.2.152:45000 39463 # Session INFO: Finished removing objects 07-04 20:30:19.441 172.17.2.152:45000 39463 # Session INFO: Method: GET , URI: /3/InitID, route: /3/InitID, parms: {} 07-04 20:30:19.648 172.17.2.152:45000 39463 # Session INFO: Method: GET , URI: /3/ImportFiles, route: /3/ImportFiles, parms: {path=/home/0xdiag/datasets/airlines/2008.csv} 07-04 20:30:19.829 172.17.2.152:45000 39463 # Session INFO: Method: POST , URI: /3/ParseSetup, route: /3/ParseSetup, parms: {source_frames=["nfs://home/0xdiag/datasets/airlines/2008.csv"], check_header=0} 07-04 20:30:20.088 172.17.2.152:45000 39463 # Session INFO: Method: POST , URI: /3/Parse, route: /3/Parse, parms: {number_columns=29, source_frames=["nfs://home/0xdiag/datasets/airlines/2008.csv"], column_types=["Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric"], single_quotes=FALSE, parse_type=CSV, destination_frame=hex, delete_on_done=TRUE, column_names=["Year","Month","DayofMonth","DayOfWeek","DepTime","CRSDepTime","ArrTime","CRSArrTime","UniqueCarrier","FlightNum","TailNum","ActualElapsedTime","CRSElapsedTime","AirTime","ArrDelay","DepDelay","Origin","Dest","Distance","TaxiIn","TaxiOut","Cancelled","CancellationCode","Diverted","CarrierDelay","WeatherDelay","NASDelay","SecurityDelay","LateAircraftDelay"], check_header=1, separator=44, blocking=FALSE, na_s trings=[], chunk_size=1048576} 07-04 20:30:20.092 172.17.2.152:45000 39463 # Session INFO: Parse chunk size 1048576 barrier onExCompletion for water.parser.ParseDataset$ParserFJTask@30468792 java.lang.RuntimeException: water.DException$DistributedException: from /172.17.2.152:45000; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:489) at water.MRTask.doAll(MRTask.java:386) at water.MRTask.doAll(MRTask.java:375) at water.MRTask.doAll(MRTask.java:374) at water.parser.ParseDataset.parseAllKeys(ParseDataset.java:278) at water.parser.ParseDataset.access$100(ParseDataset.java:25) at water.parser.ParseDataset$ParserFJTask.compute2(ParseDataset.java:156) 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: water.DException$DistributedException: from /172.17.2.152:45000; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.parser.ParseDataset$EnumUpdateTask.emap(ParseDataset.java:321) at water.parser.ParseDataset$EnumUpdateTask.map(ParseDataset.java:323) at water.MRTask.compute2(MRTask.java:641) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) 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.pollAndExecAll(ForkJoinPool.java:914) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) ... 2 more onExCompletion for water.parser.ParseDataset$EnumUpdateTask@46982b5b onExCompletion for water.parser.ParseDataset$EnumUpdateTask@46982b5b java.lang.ArrayIndexOutOfBoundsException: -1 at water.parser.ParseDataset$EnumUpdateTask.emap(ParseDataset.java:321) at water.parser.ParseDataset$EnumUpdateTask.map(ParseDataset.java:323) at water.MRTask.compute2(MRTask.java:641) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) 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.pollAndExecAll(ForkJoinPool.java:914) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) water.DException$DistributedException: from /172.17.2.152:45002; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.parser.ParseDataset$EnumUpdateTask.emap(ParseDataset.java:321) at water.parser.ParseDataset$EnumUpdateTask.map(ParseDataset.java:323) at water.MRTask.compute2(MRTask.java:641) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) 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)

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    http://mr-0xa1:8080/job/master_runit_medium_large/520/artifact/h2o-r/tests/results/testdir_misc_runit_airlines_all_parse_medium.R.out.txt }) 12: tryCatchList(expr, classes, parentenv, handlers) 13: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14: doTryCatch(return(expr), name, parentenv, handler) 15: stop(m, call. = FALSE) 16: .handleSimpleError(function (e) { e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2) signalCondition(e) }, "'water.DException$DistributedException: from /172.17.2.152:45000; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1'", quote(NULL)). SEED used: 1774063150 [2015-07-04 20:30:44] [ERROR] : TEST FAILED here's the h2o stdout http://mr-0xa1:8080/job/master_runit_medium_large/520/artifact/h2o-r/tests/results/java_0_0.out.txt 07-04 20:30:19.386 172.17.2.152:45000 39463 # Session INFO: STARTING TEST: runit_airlines_all_parse_medium.R 07-04 20:30:19.397 172.17.2.152:45000 39463 # Session INFO: 07-04 20:30:19.413 172.17.2.152:45000 39463 # Session INFO: ------------------------------------------------------------ 07-04 20:30:19.426 172.17.2.152:45000 39463 # Session INFO: Method: DELETE, URI: /3/DKV, route: /3/DKV, parms: {} 07-04 20:30:19.426 172.17.2.152:45000 39463 # Session INFO: Removing all objects 07-04 20:30:19.429 172.17.2.152:45000 39463 # Session INFO: Finished removing objects 07-04 20:30:19.441 172.17.2.152:45000 39463 # Session INFO: Method: GET , URI: /3/InitID, route: /3/InitID, parms: {} 07-04 20:30:19.648 172.17.2.152:45000 39463 # Session INFO: Method: GET , URI: /3/ImportFiles, route: /3/ImportFiles, parms: {path=/home/0xdiag/datasets/airlines/2008.csv} 07-04 20:30:19.829 172.17.2.152:45000 39463 # Session INFO: Method: POST , URI: /3/ParseSetup, route: /3/ParseSetup, parms: {source_frames=["nfs://home/0xdiag/datasets/airlines/2008.csv"], check_header=0} 07-04 20:30:20.088 172.17.2.152:45000 39463 # Session INFO: Method: POST , URI: /3/Parse, route: /3/Parse, parms: {number_columns=29, source_frames=["nfs://home/0xdiag/datasets/airlines/2008.csv"], column_types=["Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric"], single_quotes=FALSE, parse_type=CSV, destination_frame=hex, delete_on_done=TRUE, column_names=["Year","Month","DayofMonth","DayOfWeek","DepTime","CRSDepTime","ArrTime","CRSArrTime","UniqueCarrier","FlightNum","TailNum","ActualElapsedTime","CRSElapsedTime","AirTime","ArrDelay","DepDelay","Origin","Dest","Distance","TaxiIn","TaxiOut","Cancelled","CancellationCode","Diverted","CarrierDelay","WeatherDelay","NASDelay","SecurityDelay","LateAircraftDelay"], check_header=1, separator=44, blocking=FALSE, na_s trings=[], chunk_size=1048576} 07-04 20:30:20.092 172.17.2.152:45000 39463 # Session INFO: Parse chunk size 1048576 barrier onExCompletion for water.parser.ParseDataset$ParserFJTask@30468792 java.lang.RuntimeException: water.DException$DistributedException: from /172.17.2.152:45000; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:489) at water.MRTask.doAll(MRTask.java:386) at water.MRTask.doAll(MRTask.java:375) at water.MRTask.doAll(MRTask.java:374) at water.parser.ParseDataset.parseAllKeys(ParseDataset.java:278) at water.parser.ParseDataset.access$100(ParseDataset.java:25) at water.parser.ParseDataset$ParserFJTask.compute2(ParseDataset.java:156) 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: water.DException$DistributedException: from /172.17.2.152:45000; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.parser.ParseDataset$EnumUpdateTask.emap(ParseDataset.java:321) at water.parser.ParseDataset$EnumUpdateTask.map(ParseDataset.java:323) at water.MRTask.compute2(MRTask.java:641) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) 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.pollAndExecAll(ForkJoinPool.java:914) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) ... 2 more onExCompletion for water.parser.ParseDataset$EnumUpdateTask@46982b5b onExCompletion for water.parser.ParseDataset$EnumUpdateTask@46982b5b java.lang.ArrayIndexOutOfBoundsException: -1 at water.parser.ParseDataset$EnumUpdateTask.emap(ParseDataset.java:321) at water.parser.ParseDataset$EnumUpdateTask.map(ParseDataset.java:323) at water.MRTask.compute2(MRTask.java:641) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) 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.pollAndExecAll(ForkJoinPool.java:914) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) water.DException$DistributedException: from /172.17.2.152:45002; by class water.parser.ParseDataset$EnumUpdateTask; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.parser.ParseDataset$EnumUpdateTask.emap(ParseDataset.java:321) at water.parser.ParseDataset$EnumUpdateTask.map(ParseDataset.java:323) at water.MRTask.compute2(MRTask.java:641) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) at water.MRTask.compute2(MRTask.java:599) 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)

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: -1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at water.parser.ParseDataset$EnumUpdateTask.emap()
    2. water.parser
      ParseDataset$EnumUpdateTask.map
      1. water.parser.ParseDataset$EnumUpdateTask.emap(ParseDataset.java:321)
      2. water.parser.ParseDataset$EnumUpdateTask.map(ParseDataset.java:323)
      2 frames
    3. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.compute2(MRTask.java:641)
      2. water.MRTask.compute2(MRTask.java:599)
      3. water.MRTask.compute2(MRTask.java:599)
      4. water.MRTask.compute2(MRTask.java:599)
      5. water.MRTask.compute2(MRTask.java:599)
      6. water.MRTask.compute2(MRTask.java:599)
      7. water.MRTask.compute2(MRTask.java:599)
      8. water.MRTask.compute2(MRTask.java:599)
      9. water.H2O$H2OCountedCompleter.compute(H2O.java:698)
      9 frames
    4. 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