java.io.IOException

Invalid location: 965:1286, : java.lang.NegativeArraySizeException

Solutions on the web2062

  • via Apache's JIRA Issue Tracker by Loc Truong, 10 months ago
    Invalid location: 965:1286, : java.lang.NegativeArraySizeException
  • Invalid location: 1711:34233, : java.lang.NegativeArraySizeException
  • Invalid location: 1358:32664959, : java.lang.NegativeArraySizeException
  • Stack trace

    • java.io.IOException: Invalid location: 965:1286, : java.lang.NegativeArraySizeException at org.apache.kahadb.journal.DataFileAccessor.readRecord(DataFileAccessor.java:92) at org.apache.kahadb.journal.Journal.read(Journal.java:604) at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:879) at org.apache.activemq.store.kahadb.KahaDBStore.loadMessage(KahaDBStore.java:1030) at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore$4.execute(KahaDBStore.java:558) at org.apache.kahadb.page.Transaction.execute(Transaction.java:769) at org.apache.activemq.store.kahadb.KahaDBStore$KahaDBMessageStore.recoverNextMessages(KahaDBStore.java:547) at org.apache.activemq.store.ProxyMessageStore.recoverNextMessages(ProxyMessageStore.java:106) at org.apache.activemq.broker.region.cursors.QueueStorePrefetch.doFillBatch(QueueStorePrefetch.java:97) at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.fillBatch(AbstractStoreCursor.java:274) at org.apache.activemq.broker.region.cursors.AbstractStoreCursor.reset(AbstractStoreCursor.java:110) at org.apache.activemq.broker.region.cursors.StoreQueueCursor.reset(StoreQueueCursor.java:157) at org.apache.activemq.broker.region.Queue.doPageInForDispatch(Queue.java:1765) at org.apache.activemq.broker.region.Queue.pageInMessages(Queue.java:1993) at org.apache.activemq.broker.region.Queue.iterate(Queue.java:1486) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:129) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:47) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.