web stats
Mirth Community - View Single Post - count of segments
View Single Post
  #9  
Old 02-15-2013, 04:48 PM
mlucero2013 mlucero2013 is offline
What's HL7?
 
Join Date: Feb 2013
Posts: 4
mlucero2013 is on a distinguished road
Send a message via MSN to mlucero2013 Send a message via Skype™ to mlucero2013
Default Error count of segments

I pulled the following error:
Attached as did the capture agradeciar please if I would verify.

Error


2013-02-15 22:41:27,936] ERROR (com.mirth.connect.connectors.file.FileMessageRece iver:234): Unable to route.org.mule.umo.routing.RoutingException: Failed to transform message before applying the filter. Failed to route event via endpoint: ImmutableMuleEndpoint{connector=com.mirth.connect. connectors.file.FileConnector@3698889c, endpointUri=file:///home/Datatech/worklist/Prueba, transformer=Transformer{name='ByteArrayToString', returnClass=false, returnClass=false, sourceTypes=[class [B, class java.lang.String]}, name='_fileEndpoint#-1980304081', type='receiver', properties={}, transactionConfig=org.mule.impl.MuleTransactionCon fig@7486c091, filter=null, deleteUnacceptedMessages=false, initialised=true, securityFilter=null, synchronous=true, initialState=started, createConnector=0}. Message payload is of type: java.lang.String

at org.mule.routing.inbound.SelectiveConsumer.isMatch (SelectiveConsumer.java:64)

at org.mule.routing.inbound.InboundMessageRouter.rout e(InboundMessageRouter.java:79)

at org.mule.providers.AbstractMessageReceiver$Default InternalMessageListener.onMessage(AbstractMessageR eceiver.java:487)

at org.mule.providers.AbstractMessageReceiver.routeMe ssage(AbstractMessageReceiver.java:266)

at org.mule.providers.AbstractMessageReceiver.routeMe ssage(AbstractMessageReceiver.java:225)

at com.mirth.connect.connectors.file.FileMessageRecei ver.processFile(FileMessageReceiver.java:228)

at com.mirth.connect.connectors.file.FileMessageRecei ver.poll(FileMessageReceiver.java:118)

at org.mule.providers.PollingMessageReceiver.run(Poll ingMessageReceiver.java:97)

at org.mule.impl.work.WorkerContext.run(WorkerContext .java:290)

at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor.runWorker(ThreadPoolExecutor.java: 1061)

at edu.emory.mathcs.backport.java.util.concurrent.Thr eadPoolExecutor$Worker.run(ThreadPoolExecutor.java :575)

at java.lang.Thread.run(Thread.java:662)
Caused by: org.mule.umo.transformer.TransformerException:
CHANNEL:
WorkList ITSOS PRUEBA
CONNECTOR:
sourceConnector
SCRIPT SOURCE:

SOURCE CODE:

19: tmp['OBR']['OBR.4']['OBR.4.2'] = validate(msg['row'][15]['column2'].toString(), '', new Array());
20: tmp['MSH']['MSH.10']['MSH.10.1'] = validate(messageObject.getId(), '', new Array());
21: tmp['ORC']['ORC.9']['ORC.9.1'] = validate(msg['row'][10]['column2'].toString()+msg['row'][11]['column2'].toString(), '', new Array());
22: tmp['OBR']['OBR.3']['OBR.3.1'] = validate(msg['row'][8]['column2'].toString(), '', new Array());
23: tmp['OBR']['OBR.12']['OBR.12.1'] = validate(msg['row'][4]['column2'].toString(), '', new Array());
24: tmp['ZDS']['ZDS.1']['ZDS.1.1'] = validate(tmp['ZDS']['ZDS.1']['ZDS.1.1']+msg['row'][7]['column2'].toString()+msg['row'][10]['column2'].toString()+msg['row'][11]['column2'].toString()+'.'+$gc('next')(), '', new Array());
25: tmp['PV1']['PV1.8']['PV1.8.2'] = validate(msg['row'][4]['column2'].toString(), '', new Array());
26: tmp['OBR']['OBR.24']['OBR.24.1'] = validate(msg['row'][3]['column2'].toString(), '', new Array());
27: tmp['PID']['PID.8']['PID.8.1'] = validate(msg['row'][14]['column2'].toString(), '', new Array());
28: tmp['OBR']['OBR.12']['OBR.12.1'] = validate(msg['row'][5]['column2'].toString(), '', new Array());
LINE NUMBER:
24
DETAILS:
TypeError: null is not a function, it is object. (com.mirth.connect.server.MirthJavascriptTransform erException) (org.mule.umo.transformer.TransformerException)

at com.mirth.connect.server.mule.transformers.JavaScr iptTransformer.transform(JavaScriptTransformer.jav a:316)

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)

... 11 more
Caused by: org.mule.umo.transformer.TransformerException:
CHANNEL:
WorkList ITSOS PRUEBA
CONNECTOR:
sourceConnector
SCRIPT SOURCE:

SOURCE CODE:

19: tmp['OBR']['OBR.4']['OBR.4.2'] = validate(msg['row'][15]['column2'].toString(), '', new Array());
20: tmp['MSH']['MSH.10']['MSH.10.1'] = validate(messageObject.getId(), '', new Array());
21: tmp['ORC']['ORC.9']['ORC.9.1'] = validate(msg['row'][10]['column2'].toString()+msg['row'][11]['column2'].toString(), '', new Array());
22: tmp['OBR']['OBR.3']['OBR.3.1'] = validate(msg['row'][8]['column2'].toString(), '', new Array());
23: tmp['OBR']['OBR.12']['OBR.12.1'] = validate(msg['row'][4]['column2'].toString(), '', new Array());
24: tmp['ZDS']['ZDS.1']['ZDS.1.1'] = validate(tmp['ZDS']['ZDS.1']['ZDS.1.1']+msg['row'][7]['column2'].toString()+msg['row'][10]['column2'].toString()+msg['row'][11]['column2'].toString()+'.'+$gc('next')(), '', new Array());
25: tmp['PV1']['PV1.8']['PV1.8.2'] = validate(msg['row'][4]['column2'].toString(), '', new Array());
26: tmp['OBR']['OBR.24']['OBR.24.1'] = validate(msg['row'][3]['column2'].toString(), '', new Array());
27: tmp['PID']['PID.8']['PID.8.1'] = validate(msg['row'][14]['column2'].toString(), '', new Array());
28: tmp['OBR']['OBR.12']['OBR.12.1'] = validate(msg['row'][5]['column2'].toString(), '', new Array());
LINE NUMBER:
24
DETAILS:
TypeError: null is not a function, it is object. (com.mirth.connect.server.MirthJavascriptTransform erException)

at com.mirth.connect.server.mule.transformers.JavaScr iptTransformer.evaluateScript(JavaScriptTransforme r.java:410)

at com.mirth.connect.server.mule.transformers.JavaScr iptTransformer.transform(JavaScriptTransformer.jav a:296)

... 17 more
Caused by: com.mirth.connect.server.MirthJavascriptTransforme rException:
CHANNEL:
WorkList ITSOS PRUEBA
CONNECTOR:
sourceConnector
SCRIPT SOURCE:

SOURCE CODE:

19: tmp['OBR']['OBR.4']['OBR.4.2'] = validate(msg['row'][15]['column2'].toString(), '', new Array());
20: tmp['MSH']['MSH.10']['MSH.10.1'] = validate(messageObject.getId(), '', new Array());
21: tmp['ORC']['ORC.9']['ORC.9.1'] = validate(msg['row'][10]['column2'].toString()+msg['row'][11]['column2'].toString(), '', new Array());
22: tmp['OBR']['OBR.3']['OBR.3.1'] = validate(msg['row'][8]['column2'].toString(), '', new Array());
23: tmp['OBR']['OBR.12']['OBR.12.1'] = validate(msg['row'][4]['column2'].toString(), '', new Array());
24: tmp['ZDS']['ZDS.1']['ZDS.1.1'] = validate(tmp['ZDS']['ZDS.1']['ZDS.1.1']+msg['row'][7]['column2'].toString()+msg['row'][10]['column2'].toString()+msg['row'][11]['column2'].toString()+'.'+$gc('next')(), '', new Array());
25: tmp['PV1']['PV1.8']['PV1.8.2'] = validate(msg['row'][4]['column2'].toString(), '', new Array());
26: tmp['OBR']['OBR.24']['OBR.24.1'] = validate(msg['row'][3]['column2'].toString(), '', new Array());
27: tmp['PID']['PID.8']['PID.8.1'] = validate(msg['row'][14]['column2'].toString(), '', new Array());
28: tmp['OBR']['OBR.12']['OBR.12.1'] = validate(msg['row'][5]['column2'].toString(), '', new Array());
LINE NUMBER:
24
DETAILS:
TypeError: null is not a function, it is object.

at com.mirth.connect.server.mule.transformers.JavaScr iptTransformer.evaluateScript(JavaScriptTransforme r.java:398)

... 18 more



Mi msn es marcoslucero@gmail.com
Attached Images
File Type: jpg 1.jpg (235.7 KB, 13 views)
File Type: jpg 3.jpg (281.8 KB, 13 views)
File Type: jpg 2.jpg (262.1 KB, 15 views)
Reply With Quote