java.lang.ArrayIndexOutOfBoundsException: -1

GitHub | GoogleCodeExporter | 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

    Editor suddenly turns all red with errors

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    java.lang.ArrayIndexOutOfBoundsException: -1 when deleting a file

    YouTrack | 6 years ago
    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 com.intellij.psi.tree.TokenSet.create()
    2. IDEA
      TokenSet.create
      1. com.intellij.psi.tree.TokenSet.create(TokenSet.java:62)
      1 frame
    3. IntelliJ lang module
      JavascriptParserDefinition.getWhitespaceTokens
      1. com.intellij.lang.javascript.JavascriptParserDefinition.getWhitespaceTokens(JavascriptParserDefinition.java:56)
      1 frame
    4. IDEA
      JobUtil$1.run
      1. com.intellij.lang.impl.PsiBuilderImpl.<init>(PsiBuilderImpl.java:160)
      2. com.intellij.lang.impl.PsiBuilderFactoryImpl.createBuilder(PsiBuilderFactoryImpl.java:47)
      3. com.intellij.lang.impl.PsiBuilderFactoryImpl.createBuilder(PsiBuilderFactoryImpl.java:32)
      4. com.intellij.psi.tree.ILazyParseableElementType.parseContents(ILazyParseableElementType.java:58)
      5. com.intellij.psi.impl.source.tree.LazyParseableElement.b(LazyParseableElement.java:173)
      6. com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:214)
      7. com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:131)
      8. com.intellij.psi.impl.source.tree.CompositeElement.findLeafElementAt(CompositeElement.java:48)
      9. com.intellij.psi.impl.search.LowLevelSearchUtil.a(LowLevelSearchUtil.java:73)
      10. com.intellij.psi.impl.search.LowLevelSearchUtil.processElementsContainingWordInElement(LowLevelSearchUtil.java:161)
      11. com.intellij.psi.impl.search.PsiSearchHelperImpl$5.process(PsiSearchHelperImpl.java:239)
      12. com.intellij.psi.impl.search.PsiSearchHelperImpl$5.process(PsiSearchHelperImpl.java:237)
      13. com.intellij.psi.impl.search.PsiSearchHelperImpl$6$2.run(PsiSearchHelperImpl.java:271)
      14. com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:757)
      15. com.intellij.psi.impl.search.PsiSearchHelperImpl$6.process(PsiSearchHelperImpl.java:263)
      16. com.intellij.psi.impl.search.PsiSearchHelperImpl$6.process(PsiSearchHelperImpl.java:254)
      17. com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:116)
      18. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
      19. com.intellij.concurrency.JobUtil$2.process(JobUtil.java:114)
      20. com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
      20 frames
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3 frames
    6. IDEA
      PsiSearchHelperImpl.processElementsWithWord
      1. com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
      2. com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
      3. com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:105)
      4. com.intellij.concurrency.JobSchedulerImpl.stealAndRunTask(JobSchedulerImpl.java:65)
      5. com.intellij.concurrency.JobImpl.scheduleAndWaitForResults(JobImpl.java:126)
      6. com.intellij.concurrency.JobUtil.a(JobUtil.java:71)
      7. com.intellij.concurrency.JobUtil.invokeConcurrentlyUnderProgress(JobUtil.java:111)
      8. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:254)
      9. com.intellij.psi.impl.search.PsiSearchHelperImpl.a(PsiSearchHelperImpl.java:237)
      10. com.intellij.psi.impl.search.PsiSearchHelperImpl.processElementsWithWord(PsiSearchHelperImpl.java:186)
      10 frames
    7. org.jetbrains.plugins
      ClojureReferenceSearcher.execute
      1. org.jetbrains.plugins.clojure.findUsages.ClojureReferenceSearcher.execute(ClojureReferenceSearcher.java:49)
      2. org.jetbrains.plugins.clojure.findUsages.ClojureReferenceSearcher.execute(ClojureReferenceSearcher.java:22)
      2 frames
    8. IDEA
      UniqueResultsQuery.findFirst
      1. com.intellij.util.ExecutorsQuery.processResults(ExecutorsQuery.java:42)
      2. com.intellij.util.AbstractQuery.forEach(AbstractQuery.java:67)
      3. com.intellij.util.MergeQuery.processSubQuery(MergeQuery.java:56)
      4. com.intellij.util.MergeQuery.forEach(MergeQuery.java:52)
      5. com.intellij.util.MergeQuery.findFirst(MergeQuery.java:47)
      6. com.intellij.util.UniqueResultsQuery.findFirst(UniqueResultsQuery.java:56)
      6 frames
    9. com.ansorgit.plugins
      BashFunctionDefImpl.accept
      1. com.ansorgit.plugins.bash.editor.inspections.inspections.UnusedFunctionDefInspection$1.visitFunctionDef(UnusedFunctionDefInspection.java:78)
      2. com.ansorgit.plugins.bash.lang.psi.impl.function.BashFunctionDefImpl.accept(BashFunctionDefImpl.java:168)
      2 frames
    10. IDEA
      JobUtil$1.run
      1. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:336)
      2. com.intellij.codeInsight.daemon.impl.LocalInspectionsPass$2.process(LocalInspectionsPass.java:323)
      3. com.intellij.concurrency.JobUtil$2$1.run(JobUtil.java:116)
      4. com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:233)
      5. com.intellij.concurrency.JobUtil$2.process(JobUtil.java:114)
      6. com.intellij.concurrency.JobUtil$1.run(JobUtil.java:57)
      6 frames
    11. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3 frames
    12. IDEA
      PrioritizedFutureTask.run
      1. com.intellij.concurrency.PrioritizedFutureTask.access$101(PrioritizedFutureTask.java:31)
      2. com.intellij.concurrency.PrioritizedFutureTask$1.run(PrioritizedFutureTask.java:70)
      3. com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1016)
      4. com.intellij.concurrency.PrioritizedFutureTask.run(PrioritizedFutureTask.java:97)
      4 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:619)
      3 frames