java.lang.ArrayIndexOutOfBoundsException: -1

Mirth Project | Gerald Bortis | 6 years ago
  1. 0

    Created a channel with the following postprocessor script: logger.error(tmp); This results in the following exception: [2010-11-05 12:28:11,814] ERROR (com.mirth.connect.server.util.JavaScriptUtil:226): Error executing Postprocessor script from channel: 47bd66fc-da1d-4e96-9174-654cd730cc12 java.lang.ArrayIndexOutOfBoundsException: -1 at com.mirth.connect.server.util.JavaScriptUtil.getSourceCode(JavaScriptUtil.java:406) at com.mirth.connect.server.util.JavaScriptUtil.executeScript(JavaScriptUtil.java:250) at com.mirth.connect.server.util.JavaScriptUtil.executePostprocessorScripts(JavaScriptUtil.java:155) at com.mirth.connect.server.mule.transformers.JavaScriptPostprocessor.doPostProcess(JavaScriptPostprocessor.java:23) at com.mirth.connect.server.mule.transformers.JavaScriptPostprocessor.doPostProcess(JavaScriptPostprocessor.java:40) at com.mirth.connect.connectors.vm.VMMessageReceiver.getMessages(VMMessageReceiver.java:224) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:108) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source)

    Mirth Project | 6 years ago | Gerald Bortis
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    Created a channel with the following postprocessor script: logger.error(tmp); This results in the following exception: [2010-11-05 12:28:11,814] ERROR (com.mirth.connect.server.util.JavaScriptUtil:226): Error executing Postprocessor script from channel: 47bd66fc-da1d-4e96-9174-654cd730cc12 java.lang.ArrayIndexOutOfBoundsException: -1 at com.mirth.connect.server.util.JavaScriptUtil.getSourceCode(JavaScriptUtil.java:406) at com.mirth.connect.server.util.JavaScriptUtil.executeScript(JavaScriptUtil.java:250) at com.mirth.connect.server.util.JavaScriptUtil.executePostprocessorScripts(JavaScriptUtil.java:155) at com.mirth.connect.server.mule.transformers.JavaScriptPostprocessor.doPostProcess(JavaScriptPostprocessor.java:23) at com.mirth.connect.server.mule.transformers.JavaScriptPostprocessor.doPostProcess(JavaScriptPostprocessor.java:40) at com.mirth.connect.connectors.vm.VMMessageReceiver.getMessages(VMMessageReceiver.java:224) at org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:108) at org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97) at org.mule.impl.work.WorkerContext.run(WorkerContext.java:290) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575) at java.lang.Thread.run(Unknown Source)

    Mirth Project | 6 years ago | Gerald Bortis
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    ArrayIndexOutOfBounds When Splitting String

    Stack Overflow | 4 years ago | n0shadow
    java.lang.ArrayIndexOutOfBoundsException: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ArrayIndexOutOfBoundsException occurring when program running

    Stack Overflow | 4 years ago | dharma
    java.lang.ArrayIndexOutOfBoundsException: 1
  6. 0

    Parsing Data from CSV to Array in Java

    Stack Overflow | 5 years ago
    java.lang.ArrayIndexOutOfBoundsException: 1

    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.mirth.connect.server.util.JavaScriptUtil.getSourceCode()
    2. com.mirth.connect
      VMMessageReceiver.getMessages
      1. com.mirth.connect.server.util.JavaScriptUtil.getSourceCode(JavaScriptUtil.java:406)
      2. com.mirth.connect.server.util.JavaScriptUtil.executeScript(JavaScriptUtil.java:250)
      3. com.mirth.connect.server.util.JavaScriptUtil.executePostprocessorScripts(JavaScriptUtil.java:155)
      4. com.mirth.connect.server.mule.transformers.JavaScriptPostprocessor.doPostProcess(JavaScriptPostprocessor.java:23)
      5. com.mirth.connect.server.mule.transformers.JavaScriptPostprocessor.doPostProcess(JavaScriptPostprocessor.java:40)
      6. com.mirth.connect.connectors.vm.VMMessageReceiver.getMessages(VMMessageReceiver.java:224)
      6 frames
    3. org.mule.providers
      PollingMessageReceiver.run
      1. org.mule.providers.TransactedPollingMessageReceiver.poll(TransactedPollingMessageReceiver.java:108)
      2. org.mule.providers.PollingMessageReceiver.run(PollingMessageReceiver.java:97)
      2 frames
    4. org.mule.impl
      WorkerContext.run
      1. org.mule.impl.work.WorkerContext.run(WorkerContext.java:290)
      1 frame
    5. Backport of JSR 166
      ThreadPoolExecutor$Worker.run
      1. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
      2. edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame