com.mirth.connect.server.MirthJavascriptTransformerException: CHANNEL: test setup CONNECTOR: sourceConnector SCRIPT SOURCE: TRANSFORMER SOURCE CODE: 46: //createSegment('OBX', tmp, 1); 47: //tmp['OBX'][1]['OBX.1']['OBX.1.1'] = 1; 48: //tmp['OBX'][1]['OBX.2']['OBX.2.1'] = "ST"; 49: createSegment('OBX', tmp, 2); 50: tmp['OBX'][2]['OBX.1']['OBX.1.1'] = 2; 51: tmp['OBX'][2]['OBX.2']['OBX.2.1'] = "ST"; 52: LINE NUMBER: 50 DETAILS: TypeError: Cannot read property "OBX.1" from undefined at 682bcffd-73bf-405b-af83-ba83b19d86ab:50 (doTransform) at 682bcffd-73bf-405b-af83-ba83b19d86ab:126 (doScript) at 682bcffd-73bf-405b-af83-ba83b19d86ab:128

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by kramer65
, 1 year ago
', tmp, 2); 50: tmp['OBX'][2]['OBX.1']['OBX.1.1'] = 2; 51: tmp['OBX'][2]['OBX.2']['OBX.2.1'] = "ST"; 52: LINE NUMBER: 50 DETAILS: TypeError: Cannot read property "OBX.1" from undefined at 682bcffd-73bf-405b-af83-ba83b19d86ab:50 (doTransform) at 682bcffd-73bf-405b-af83-ba83b19d86ab:126 (doScript) at 682bcffd-73bf-405b-af83-ba83b19d86ab:128
via Mirth Project by geping wu, 1 year ago
CHANNEL: test-ADT CONNECTOR: sourceConnector SCRIPT SOURCE: SOURCE CODE: 13: function doScript() { 14: var newMessage = message; 15: msg = new XML(newMessage); 16: if (msg.namespace('') != undefined) { default xml namespace = msg.namespace
via Mirth Project by geping wu, 1 year ago
CHANNEL: test-ADT CONNECTOR: sourceConnector SCRIPT SOURCE: SOURCE CODE: 13: function doScript() { 14: var newMessage = message; 15: msg = new XML(newMessage); 16: if (msg.namespace('') != undefined) { default xml namespace = msg.namespace
via Mirth Project by Adrian Galvan, 1 year ago
CHANNEL: Channel 0 CONNECTOR: sourceConnector SCRIPT SOURCE: SOURCE CODE: 392: } 393: 394: function getXV(SegmentRoot, newSegmentPath) 395: { 396: var segment = smartCreateSegmentXML(SegmentRoot, newSegmentPath); 397: return
com.mirth.connect.server.MirthJavascriptTransformerException: CHANNEL: test setup CONNECTOR: sourceConnector SCRIPT SOURCE: TRANSFORMER SOURCE CODE: 46: //createSegment('OBX', tmp, 1); 47: //tmp['OBX'][1]['OBX.1']['OBX.1.1'] = 1; 48: //tmp['OBX'][1]['OBX.2']['OBX.2.1'] = "ST"; 49: createSegment('OBX', tmp, 2); 50: tmp['OBX'][2]['OBX.1']['OBX.1.1'] = 2; 51: tmp['OBX'][2]['OBX.2']['OBX.2.1'] = "ST"; 52: LINE NUMBER: 50 DETAILS: TypeError: Cannot read property "OBX.1" from undefined at 682bcffd-73bf-405b-af83-ba83b19d86ab:50 (doTransform) at 682bcffd-73bf-405b-af83-ba83b19d86ab:126 (doScript) at 682bcffd-73bf-405b-af83-ba83b19d86ab:128
at com.mirth.connect.server.transformers.JavaScriptFilterTransformer$FilterTransformerTask.call(JavaScriptFilterTransformer.java:154)
at com.mirth.connect.server.transformers.JavaScriptFilterTransformer$FilterTransformerTask.call(JavaScriptFilterTransformer.java:119)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.