Announcement

Collapse
No announcement yet.

Error deploying an incoming chanel

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error deploying an incoming chanel

    I have Mirth 1.4 installed on windows. Have configured a chanel to read incoming HL7 2.x on a port and write it into a file writer. Without any transformations.

    I first tried to send HL7 from our EMR on Intersystems Cache to the Mirth setup. Strangely system states that the link is reading and on the Mirth front - Mirth hangs.

    On trying to send the message, from another Mirth implementation I get to see the message in Mirth with the following error:

    ERROR-301: Transformer conversion error
    ERROR MESSAGE: Error adapting message
    java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at ca.uhn.hl7v2.parser.PipeParser.doParse(PipeParser. java:239
    at ca.uhn.hl7v2.parser.Parser.parse(Parser.java:151)
    at com.webreach.mirth.model.converters.ER7Serializer. toXML(ER7Serializer.java:103)
    at com.webreach.mirth.model.converters.ER7Serializer. toXML(ER7Serializer.java:51)
    at com.webreach.mirth.server.mule.adaptors.HL7v2Adapt or.populateMessage(HL7v2Adaptor.java:34)
    at com.webreach.mirth.server.mule.adaptors.Adaptor.ge tMessage(Adaptor.java:36)
    at com.webreach.mirth.server.mule.transformers.JavaSc riptTransformer.transform(JavaScriptTransformer.ja va:201)
    at org.mule.transformers.AbstractEventAwareTransforme r.doTransform(AbstractEventAwareTransformer.java:4 8)
    at org.mule.transformers.AbstractTransformer.transfor m(AbstractTransformer.java:197)
    at org.mule.transformers.AbstractTransformer.transfor m(AbstractTransformer.java:200)
    at org.mule.transformers.AbstractTransformer.transfor m(AbstractTransformer.java:200)
    at org.mule.impl.MuleEvent.getTransformedMessage(Mule Event.java:251)
    at org.mule.routing.inbound.SelectiveConsumer.isMatch (SelectiveConsumer.java:61)
    at org.mule.routing.inbound.InboundMessageRouter.rout e(InboundMessageRouter.java:79)
    at org.mule.providers.AbstractMessageReceiver$Default InternalMessageListener.onMessage(AbstractMessageR eceiver.java:492)
    at org.mule.providers.AbstractMessageReceiver.routeMe ssage(AbstractMessageReceiver.java:271)
    at org.mule.providers.AbstractMessageReceiver.routeMe ssage(AbstractMessageReceiver.java:243)
    at com.webreach.mirth.server.mule.providers.mllp.Mllp MessageReceiver$TcpWorker.processData(MllpMessageR eceiver.java:312)
    at com.webreach.mirth.server.mule.providers.mllp.Mllp MessageReceiver$TcpWorker.run(MllpMessageReceiver. java:278)
    at org.mule.impl.work.WorkerContext.run(WorkerContext .java:290)
    at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.runTask(ThreadPoolExecutor. java:650)
    at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.run(ThreadPoolExecutor.java :675)
    at java.lang.Thread.run(Unknown Source)

    Any sugesstions???

  • #2
    Re:Error deploying an incoming chanel

    Go to each transformer (source and destination) and then go to the properties button on both the incoming and outgoing data. Turn off "use strict parser".
    Chris Lang

    Comment


    • #3
      Re:Error deploying an incoming chanel

      Chris,

      Thank you. It's working fine now.

      Comment

      Working...
      X