com.mirth.connect.donkey.server.message.batch.BatchMessageException: Failed to retrieve batch message at sequence number 1

Mirth Project | Alex Vacharat | 3 months ago
  1. 0

    When using a channel to batch process a text delimited file with a grouping column, if that grouping column is not present on a row (blank is okay, but if the column is towards the end and for some reason-say the input had a newline character in an unexpected place so the row never reaches column X, which may be the grouping column), Mirth returns the error displayed below. Furthermore, rather than just erroring out on this particular line (and treating the grouping column as blank and moving on), the entire file hangs, and the channel gets stuck in a perpetual "READING" status. The original file never gets moved to the /processed/ directory, despite the move after processing action being properly set up. [2016-08-26 12:30:00,004] ERROR (com.mirth.connect.connectors.file.FileReceiver:363): Unable to dispatch message to channel 11cf22aa-cd1c-4d2e-8ad7-59e11c628278: com.mirth.connect.donkey.server.message.batch.BatchMessageException: Failed to retrieve batch message at sequence number 1 at com.mirth.connect.donkey.server.message.batch.BatchAdaptor.getMessage(BatchAdaptor.java:54) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchBatchMessage(SourceConnector.java:230) at com.mirth.connect.donkey.server.channel.SourceConnector.dispatchBatchMessage(SourceConnector.java:196) at com.mirth.connect.connectors.file.FileReceiver.processFile(FileReceiver.java:331) at com.mirth.connect.connectors.file.FileReceiver.processFiles(FileReceiver.java:247) at com.mirth.connect.connectors.file.FileReceiver.poll(FileReceiver.java:203) at com.mirth.connect.donkey.server.channel.PollConnectorJob.execute(PollConnectorJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) Caused by: java.lang.IndexOutOfBoundsException: Index: 13, Size: 12 at java.util.ArrayList.rangeCheck(ArrayList.java:653) at java.util.ArrayList.get(ArrayList.java:429) at com.mirth.connect.plugins.datatypes.delimited.DelimitedBatchAdaptor.getMessage(DelimitedBatchAdaptor.java:220) at com.mirth.connect.plugins.datatypes.delimited.DelimitedBatchAdaptor.getMessageFromReader(DelimitedBatchAdaptor.java:103) at com.mirth.connect.plugins.datatypes.delimited.DelimitedBatchAdaptor.getNextMessage(DelimitedBatchAdaptor.java:94) at com.mirth.connect.donkey.server.message.batch.BatchAdaptor.getMessage(BatchAdaptor.java:37) ... 8 more

    Mirth Project | 3 months ago | Alex Vacharat
    com.mirth.connect.donkey.server.message.batch.BatchMessageException: Failed to retrieve batch message at sequence number 1
  2. 0

    This is an automatically generated report based from the following crash: http://hopper.minecraft.net/crashes/minecraft/MCX-295215/ Crash: {code} java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at bdk.a(SourceFile:54) at avk.a(SourceFile:169) at awb.a(SourceFile:69) at awb.d(SourceFile:128) at awb.m(SourceFile:107) {code} The following is the first clean report made public about this crash: {code} ---- Minecraft Crash Report ---- // This is a token for 1 free hug. Redeem at your nearest Mojangsta: [~~HUG~~] Time: 10/11/13 3:30 PM Description: Updating screen events java.lang.IndexOutOfBoundsException: Index: 13, Size: 12 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at bdk.a(SourceFile:54) at avk.a(SourceFile:169) at awb.a(SourceFile:69) at awb.d(SourceFile:128) at awb.m(SourceFile:107) at ats.k(SourceFile:1158) at ats.S(SourceFile:663) at ats.d(SourceFile:619) at net.minecraft.client.main.Main.main(SourceFile:101) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at bdk.a(SourceFile:54) at avk.a(SourceFile:169) at awb.a(SourceFile:69) at awb.d(SourceFile:128) at awb.m(SourceFile:107) -- Affected screen -- Details: Screen name: avk Stacktrace: at ats.k(SourceFile:1158) at ats.S(SourceFile:663) at ats.d(SourceFile:619) at net.minecraft.client.main.Main.main(SourceFile:101) -- System Details -- Details: Minecraft Version: 1.6.2 Operating System: Windows 8 (x86) version 6.2 Java Version: 1.7.0_25, Oracle Corporation Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation Memory: 165203208 bytes (157 MB) / 292917248 bytes (279 MB) up to 1037959168 bytes (989 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx1G AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: No suspicious classes found. IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63 Launched Version: 1.6.2 LWJGL: 2.9.0 OpenGL: AMD Radeon HD 7310 Graphics GL version 4.2.12198 Compatibility Profile Context 12.102.1.0, ATI Technologies Inc. Is Modded: Probably not. Jar signature remains and client brand is untouched. Type: Client (map_client.txt) Resource Pack: Default Current Language: English (US) Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null {code} You can see this full report at http://hopper.minecraft.net/crashes/minecraft/MCX-295215/16721203/

    Mojang JIRA | 3 years ago | [Bot] Hopper
    java.lang.IndexOutOfBoundsException: Index: 13, Size: 12
  3. 0

    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 Error

    GitHub | 1 year ago | beemi
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Demo image chooser doesn't work except for the first data set (backdoor).

    GitHub | 2 years ago | Baltoli
    java.lang.IndexOutOfBoundsException: Index: 5, Size: 1
  6. 0

    FATAL Exception - caused client to crash

    GitHub | 2 years ago | kreezxil
    java.lang.IndexOutOfBoundsException: Index: 43, Size: 39

  1. bmacedo 4 times, last 17 hours ago
  2. mhicauber 1 times, last 22 hours ago
  3. filpgame 2 times, last 4 days ago
  4. tvrmsmith 1 times, last 5 days ago
  5. Indri Yunita 12 times, last 5 days ago
67 more registered users
28 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: 13, Size: 12

    at java.util.ArrayList.rangeCheck()
  2. Java RT
    ArrayList.get
    1. java.util.ArrayList.rangeCheck(ArrayList.java:653)
    2. java.util.ArrayList.get(ArrayList.java:429)
    2 frames
  3. com.mirth.connect
    PollConnectorJob.execute
    1. com.mirth.connect.plugins.datatypes.delimited.DelimitedBatchAdaptor.getMessage(DelimitedBatchAdaptor.java:220)
    2. com.mirth.connect.plugins.datatypes.delimited.DelimitedBatchAdaptor.getMessageFromReader(DelimitedBatchAdaptor.java:103)
    3. com.mirth.connect.plugins.datatypes.delimited.DelimitedBatchAdaptor.getNextMessage(DelimitedBatchAdaptor.java:94)
    4. com.mirth.connect.donkey.server.message.batch.BatchAdaptor.getMessage(BatchAdaptor.java:37)
    5. com.mirth.connect.donkey.server.channel.SourceConnector.dispatchBatchMessage(SourceConnector.java:230)
    6. com.mirth.connect.donkey.server.channel.SourceConnector.dispatchBatchMessage(SourceConnector.java:196)
    7. com.mirth.connect.connectors.file.FileReceiver.processFile(FileReceiver.java:331)
    8. com.mirth.connect.connectors.file.FileReceiver.processFiles(FileReceiver.java:247)
    9. com.mirth.connect.connectors.file.FileReceiver.poll(FileReceiver.java:203)
    10. com.mirth.connect.donkey.server.channel.PollConnectorJob.execute(PollConnectorJob.java:47)
    10 frames
  4. quartz
    SimpleThreadPool$WorkerThread.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:213)
    2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
    2 frames