java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 0

Jenkins JIRA | Ivan Kalinin | 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

    Case: we have a IPv6-only network in the openstack. When launching VM in that network openstack gives only IPv6 address, but JClouds ignores that due to a lack of support -- see https://issues.apache.org/jira/browse/JCLOUDS-748. This makes NodeMetadata have 0 (zero) adresses and causes following error: %% java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 0 at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:221) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:201) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at jenkins.plugins.jclouds.compute.JCloudsLauncher.connectToSsh(JCloudsLauncher.java:178) at jenkins.plugins.jclouds.compute.JCloudsLauncher.launch(JCloudsLauncher.java:53) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:232) ... 5 more %% That ignores plugin's cleanup mechanisms (if any) and causes bloating of the cloud with ill-functional slaves.

    Jenkins JIRA | 2 years ago | Ivan Kalinin
    java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 0
  2. 0

    Case: we have a IPv6-only network in the openstack. When launching VM in that network openstack gives only IPv6 address, but JClouds ignores that due to a lack of support -- see https://issues.apache.org/jira/browse/JCLOUDS-748. This makes NodeMetadata have 0 (zero) adresses and causes following error: %% java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 0 at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:188) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:221) at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:201) at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at jenkins.plugins.jclouds.compute.JCloudsLauncher.connectToSsh(JCloudsLauncher.java:178) at jenkins.plugins.jclouds.compute.JCloudsLauncher.launch(JCloudsLauncher.java:53) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:232) ... 5 more %% That ignores plugin's cleanup mechanisms (if any) and causes bloating of the cloud with ill-functional slaves.

    Jenkins JIRA | 2 years ago | Ivan Kalinin
    java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 0
  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

      0

      at jenkins.plugins.jclouds.compute.JCloudsLauncher.connectToSsh()
    2. jenkins.plugins.jclouds
      JCloudsLauncher.launch
      1. jenkins.plugins.jclouds.compute.JCloudsLauncher.connectToSsh(JCloudsLauncher.java:178)
      2. jenkins.plugins.jclouds.compute.JCloudsLauncher.launch(JCloudsLauncher.java:53)
      2 frames
    3. Hudson
      SlaveComputer$1.call
      1. hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:232)
      1 frame
    4. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    5. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      4. java.lang.Thread.run(Thread.java:744)
      4 frames