java.lang.IndexOutOfBoundsException: Index: 61, Size: 31

JIRA | Nidhi Mehta | 4 months ago
  1. 0

    from flow throws error but works fine from R. datafiles on - hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript {code:java} parseFiles paths: ["hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000000_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000001_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000002_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000003_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000004_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000005_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000006_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000007_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000008_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000009_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000010_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000011_0","hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript/000012_0"] destination_frame: "X000000_0.hex" parse_type: "ORC" separator: 124 number_columns: 31 single_quotes: true column_names: ["_col0","_col1","_col2","_col3","_col4","_col5","_col6","_col7","_col8","_col9","_col10","_col11","_col12","_col13","_col14","_col15","_col16","_col17","_col18","_col19","_col20","_col21","_col22","_col23","_col24","_col25","_col26","_col27","_col28","_col29","_col30"] column_types: ["Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum"] delete_on_done: true check_header: 1 chunk_size: 6552576 {code} {code:java} DistributedException from /172.16.2.189:54321, caused by java.lang.IndexOutOfBoundsException: Index: 61, Size: 31 at water.MRTask.getResult(MRTask.java:477) at water.MRTask.getResult(MRTask.java:485) at water.MRTask.doAll(MRTask.java:401) at water.parser.ParseDataset.parseAllKeys(ParseDataset.java:246) at water.parser.ParseDataset.access$000(ParseDataset.java:27) at water.parser.ParseDataset$ParserFJTask.compute2(ParseDataset.java:195) at water.H2O$H2OCountedCompleter.compute(H2O.java:1193) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 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.IndexOutOfBoundsException: Index: 61, Size: 31 at java.util.ArrayList.rangeCheck(ArrayList.java:635) at java.util.ArrayList.get(ArrayList.java:411) at water.parser.orc.OrcParser.parseChunk(OrcParser.java:82) at water.parser.ParseDataset$MultiFileParseTask$DistributedParse.map(ParseDataset.java:971) at water.MRTask.compute2(MRTask.java:627) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.MRTask.compute2(MRTask.java:585) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1196) at water.parser.ParseDataset$MultiFileParseTask$DistributedParse$Icer.compute1(ParseDataset$MultiFileParseTask$DistributedParse$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1192) ... 5 more {code} works fine from R- {code:java} dd = h2o.importFolder(path = "hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript",destination_frame = "dd",col.names = names(aa), col.types = c("Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Numeric","Enum","Enum")) as.data.frame(h2o.table(dd$Year)) dd = h2o.importFile(path = "hdfs://mr-0xd6.0xdata.loc:8020/user/nidhi/from_hive_air_allscript") as.data.frame(h2o.table(dd$`_col0`)) X_col0 Count 1 1988 5202096 2 1989 5041200 3 1990 5270893 4 1991 5076925 5 1992 5092157 6 1993 5070501 7 1994 5180048 8 1995 5327435 9 1996 5351983 10 1997 5411843 11 1998 5384721 12 2000 5683047 13 2001 5967780 14 2002 5271359 15 2003 6488540 16 2004 7129270 17 2005 7140596 18 2006 7141922 19 2007 7453215 20 2008 7009728 {code}

    JIRA | 4 months ago | Nidhi Mehta
    java.lang.IndexOutOfBoundsException: Index: 61, Size: 31
  2. 0

    [Weka] IndexOutOfBoundsException when obtaining folds

    GitHub | 2 years ago | DraXus
    java.lang.IndexOutOfBoundsException: Index: 107, Size: 107 java.util.ArrayList.rangeCheck(ArrayList.java:635) java.util.ArrayList.get(ArrayList.java:411) weka.core.Instances.instance(Instances.java:768) org.openml.weka.experiment.TaskResultProducer.doRun(TaskResultProducer.java:248) org.openml.weka.experiment.TaskBasedExperiment.nextIteration(TaskBasedExperiment.java:173) org.openml.weka.gui.OpenmlRunPanel$ExperimentRunner.run(OpenmlRunPanel.java:197)
  3. 0

    Bug in 1.7. MCore isn't loading.

    GitHub | 3 years ago | adrenator
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    my mcmmo auto disable

    GitHub | 3 years ago | noelcjf
    java.lang.ExceptionInInitializerError

  1. filpgame 1 times, last 1 week ago
  2. Aria Pahlavan 6 times, last 1 week ago
  3. bmacedo 4 times, last 1 week ago
  4. MoYapro 5 times, last 1 week ago
  5. Alexandru Popa 12 times, last 2 weeks ago
63 more registered users
32 unregistered visitors
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.IndexOutOfBoundsException

    Index: 61, Size: 31

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:635)
    2. java.util.ArrayList.get(ArrayList.java:411)
    2 frames
  3. water.parser.orc
    OrcParser.parseChunk
    1. water.parser.orc.OrcParser.parseChunk(OrcParser.java:82)
    1 frame
  4. water.parser
    ParseDataset$MultiFileParseTask$DistributedParse.map
    1. water.parser.ParseDataset$MultiFileParseTask$DistributedParse.map(ParseDataset.java:971)
    1 frame
  5. water
    H2O$H2OCountedCompleter.compute1
    1. water.MRTask.compute2(MRTask.java:627)
    2. water.MRTask.compute2(MRTask.java:585)
    3. water.MRTask.compute2(MRTask.java:585)
    4. water.MRTask.compute2(MRTask.java:585)
    5. water.MRTask.compute2(MRTask.java:585)
    6. water.MRTask.compute2(MRTask.java:585)
    7. water.MRTask.compute2(MRTask.java:585)
    8. water.H2O$H2OCountedCompleter.compute1(H2O.java:1196)
    8 frames
  6. water.parser
    ParseDataset$MultiFileParseTask$DistributedParse$Icer.compute1
    1. water.parser.ParseDataset$MultiFileParseTask$DistributedParse$Icer.compute1(ParseDataset$MultiFileParseTask$DistributedParse$Icer.java)
    1 frame
  7. water
    H2O$H2OCountedCompleter.compute
    1. water.H2O$H2OCountedCompleter.compute(H2O.java:1192)
    1 frame
  8. jsr166y
    ForkJoinWorkerThread.run
    1. jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
    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