java.lang.ArrayIndexOutOfBoundsException: -1

JIRA | Neeraja Madabhushi | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    http://mr-0xb1:8080/view/All/job/h2o_runit_nopass_serial/97/testReport/runit_NOPASS_RF_vi_class_toy_test/R/runit_NOPASS_RF_vi_class_toy_test_R/ [2015-04-05 17:27:04] [ERROR] : Error: Test failed: 'Variable Importance RF Test: Weston toy data Smalldata' Not expected: java.lang.ArrayIndexOutOfBoundsException: -1 1: withWarnings(test(conn)) 2: withCallingHandlers(expr, warning = wHandler) 3: test(conn) 4: `[<-`(`*tmp*`, , y, value = <S4 object of class structure("H2OFrame", package = "h2o")>) 5: `[<-`(`*tmp*`, , y, value = <S4 object of class structure("H2OFrame", package = "h2o")>) 6: .h2o.replace.frame(conn = x@conn, ast = ast, key = x@key, finalizers = finalizers) 7: .h2o.__remoteSend(conn, .h2o.__RAPIDS, ast = ast, method = "POST") 8: .h2o.fromJSON(.h2o.doSafeREST(conn = conn, urlSuffix = page, parms = .params, method = method)) 9: processMatrices(fromJSON(txt, ...)) 10: fromJSON(txt, ...) 11: .h2o.doSafeREST(conn = conn, urlSuffix = page, parms = .params, method = method) 12: stop(msg) 13: .handleSimpleError(function (e) { e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2) signalCondition(e) }, "java.lang.ArrayIndexOutOfBoundsException: -1", quote(.h2o.doSafeREST(conn = conn, urlSuffix = page, parms = .params, method = method))). 04-05 17:27:04.517 172.16.2.174:54474 25619 # Session ERRR: java.lang.ArrayIndexOutOfBoundsException: -1 java.lang.ArrayIndexOutOfBoundsException: -1 at water.fvec.EnumWrappedVec.computeMap(EnumWrappedVec.java:86) at water.fvec.EnumWrappedVec.<init>(EnumWrappedVec.java:33) at water.fvec.Vec.adaptTo(Vec.java:1015) at water.fvec.Vec.toEnum(Vec.java:943) at water.rapids.ASTFactor.apply(ASTOp.java:3350) at water.rapids.AST.treeWalk(AST.java:46) at water.rapids.AST.treeWalk(AST.java:80) at water.rapids.Exec.exec(Exec.java:75) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:57) at water.api.RequestServer.handle(RequestServer.java:664) at water.api.RequestServer.serve(RequestServer.java:602) at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:434) at java.lang.Thread.run(Thread.java:745)

    JIRA | 2 years ago | Neeraja Madabhushi
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    http://mr-0xb1:8080/view/All/job/h2o_runit_nopass_serial/97/testReport/runit_NOPASS_RF_vi_class_toy_test/R/runit_NOPASS_RF_vi_class_toy_test_R/ [2015-04-05 17:27:04] [ERROR] : Error: Test failed: 'Variable Importance RF Test: Weston toy data Smalldata' Not expected: java.lang.ArrayIndexOutOfBoundsException: -1 1: withWarnings(test(conn)) 2: withCallingHandlers(expr, warning = wHandler) 3: test(conn) 4: `[<-`(`*tmp*`, , y, value = <S4 object of class structure("H2OFrame", package = "h2o")>) 5: `[<-`(`*tmp*`, , y, value = <S4 object of class structure("H2OFrame", package = "h2o")>) 6: .h2o.replace.frame(conn = x@conn, ast = ast, key = x@key, finalizers = finalizers) 7: .h2o.__remoteSend(conn, .h2o.__RAPIDS, ast = ast, method = "POST") 8: .h2o.fromJSON(.h2o.doSafeREST(conn = conn, urlSuffix = page, parms = .params, method = method)) 9: processMatrices(fromJSON(txt, ...)) 10: fromJSON(txt, ...) 11: .h2o.doSafeREST(conn = conn, urlSuffix = page, parms = .params, method = method) 12: stop(msg) 13: .handleSimpleError(function (e) { e$calls <- head(sys.calls()[-seq_len(frame + 7)], -2) signalCondition(e) }, "java.lang.ArrayIndexOutOfBoundsException: -1", quote(.h2o.doSafeREST(conn = conn, urlSuffix = page, parms = .params, method = method))). 04-05 17:27:04.517 172.16.2.174:54474 25619 # Session ERRR: java.lang.ArrayIndexOutOfBoundsException: -1 java.lang.ArrayIndexOutOfBoundsException: -1 at water.fvec.EnumWrappedVec.computeMap(EnumWrappedVec.java:86) at water.fvec.EnumWrappedVec.<init>(EnumWrappedVec.java:33) at water.fvec.Vec.adaptTo(Vec.java:1015) at water.fvec.Vec.toEnum(Vec.java:943) at water.rapids.ASTFactor.apply(ASTOp.java:3350) at water.rapids.AST.treeWalk(AST.java:46) at water.rapids.AST.treeWalk(AST.java:80) at water.rapids.Exec.exec(Exec.java:75) at water.api.RapidsHandler.exec(RapidsHandler.java:37) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:57) at water.api.RequestServer.handle(RequestServer.java:664) at water.api.RequestServer.serve(RequestServer.java:602) at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:434) at java.lang.Thread.run(Thread.java:745)

    JIRA | 2 years ago | Neeraja Madabhushi
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    VGO server crashing

    GitHub | 2 years ago | dweer
    java.lang.ArrayIndexOutOfBoundsException: 0 at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 150819_a(SourceFile:34) at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 76672_e(SourceFile:121) at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_7582 3_a(AnvilChunkLoader.java:441) at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedRe adChunkFromNBT__Async(AnvilChunkLoader.java:154) at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk __Async(AnvilChunkLoader.java:124) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:20) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:12) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini t(AsynchronousExecutor.java:151) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini tAsync(AsynchronousExecutor.java:96) at net.minecraftforge.common.util.AsynchronousExecutor$Task.run (AsynchronousExecutor.java:86) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:615)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Confirming message received from Ardulink's sendCustomMessage() through serial.read()

    Stack Overflow | 2 years ago
    java.lang.ArrayIndexOutOfBoundsException: 1024 at org.zu.ardulink.connection.serial.AbstractSerialConnection$SerialReader.run(AbstractSerialConnection.java:190)
  6. 0

    H2 database is corrupt suddenly after a huge number of records is inserted

    Google Groups | 2 years ago | Sourav Mandal
    java.lang.ArrayIndexOutOfBoundsException: 793" [50000-174] at org.h2.message.DbException.getJdbcSQLException(DbException.java:332 <http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=332&build=174>) at org.h2.message.DbException.get(DbException.java:161 at org.h2.message.DbException.convert(DbException.java:284 <http://h2database.com/html/source.html?file=org/h2/message/DbException.java&line=284&build=174>) at org.h2.table.RegularTable.removeRow(RegularTable.java:394 at org.h2.store.PageStore.redo(PageStore.java:1537 <http://h2database.com/html/source.html?file=org/h2/store/PageStore.java&line=1537&build=174>) at org.h2.store.PageStore.redoDelete(PageStore.java:1511 at org.h2.store.PageLog.recover(PageLog.java:334 <http://h2database.com/html/source.html?file=org/h2/store/PageLog.java&line=334&build=174>) at org.h2.store.PageStore.recover(PageStore.java:1371 at org.h2.store.PageStore.openExisting(PageStore.java:361 <http://h2database.com/html/source.html?file=org/h2/store/PageStore.java&line=361&build=174>) at org.h2.store.PageStore.open(PageStore.java:285 at org.h2.engine.Database.getPageStore(Database.java:2277 <http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=2277&build=174>) at org.h2.engine.Database.open(Database.java:610 at org.h2.engine.Database.openDatabase(Database.java:236 <http://h2database.com/html/source.html?file=org/h2/engine/Database.java&line=236&build=174>) at org.h2.engine.Database.<init>(Database.java:231 at org.h2.engine.Engine.openSession(Engine.java:56 <http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=56&build=174>) at org.h2.engine.Engine.openSession(Engine.java:160 at org.h2.engine.Engine.createSessionAndValidate(Engine.java:139 <http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=139&build=174>) at org.h2.engine.Engine.createSession(Engine.java:122 at org.h2.engine.Engine.createSession(Engine.java:28 <http://h2database.com/html/source.html?file=org/h2/engine/Engine.java&line=28&build=174>) at <http://h2database.com/html/source.html?file=org/h2/engine/SessionRemote.java&line=323&build=174>) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:105 <http://h2database.com/html/source.html?file=org/h2/jdbc/JdbcConnection.java&line=105&build=174>) at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:90 at org.h2.Driver.connect(Driver.java:73 <http://h2database.com/html/source.html?file=org/h2/Driver.java&line=73&build=174>) at org.h2.server.web.WebServer.getConnection(WebServer.java:656 at org.h2.server.web.WebApp.login(WebApp.java:904 <http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=904&build=174>) at org.h2.server.web.WebApp.process(WebApp.java:209 at org.h2.server.web.WebApp.processRequest(WebApp.java:168 <http://h2database.com/html/source.html?file=org/h2/server/web/WebApp.java&line=168&build=174>) at org.h2.server.web.WebThread.process(WebThread.java:138 at org.h2.server.web.WebThread.run(WebThread.java:94 <http://h2database.com/html/source.html?file=org/h2/server/web/WebThread.java&line=94&build=174>)

    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

      -1

      at water.fvec.EnumWrappedVec.computeMap()
    2. water.fvec
      Vec.toEnum
      1. water.fvec.EnumWrappedVec.computeMap(EnumWrappedVec.java:86)
      2. water.fvec.EnumWrappedVec.<init>(EnumWrappedVec.java:33)
      3. water.fvec.Vec.adaptTo(Vec.java:1015)
      4. water.fvec.Vec.toEnum(Vec.java:943)
      4 frames
    3. water.rapids
      Exec.exec
      1. water.rapids.ASTFactor.apply(ASTOp.java:3350)
      2. water.rapids.AST.treeWalk(AST.java:46)
      3. water.rapids.AST.treeWalk(AST.java:80)
      4. water.rapids.Exec.exec(Exec.java:75)
      4 frames
    4. water.api
      RapidsHandler.exec
      1. water.api.RapidsHandler.exec(RapidsHandler.java:37)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    6. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:57)
      2. water.api.RequestServer.handle(RequestServer.java:664)
      3. water.api.RequestServer.serve(RequestServer.java:602)
      3 frames
    7. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:434)
      1 frame
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame