com.mirth.connect.server.MirthJavascriptTransformerException: SOURCE CODE: 4816: } 4817: };var release_tag = 50;function doScript() { 4818: // This script executes once when the mule engine is started 4819: // You only have access to the globalMap here to persist data 4820: 4821: message = message.replace(/:/g, "|") 4822: message = message.replace (/;/g, "^"); 4823: return message; 4824: } LINE NUMBER: 4820 DETAILS: ReferenceError: "message" is not defined.

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Mirth Project by Igor Ges, 1 year ago
SOURCE CODE: 4816: } 4817: };var release_tag = 50;function doScript() { 4818: // This script executes once when the mule engine is started 4819: // You only have access to the globalMap here to persist data 4820: 4821: message = message.replace
via Mirth Project by Nick Rupley, 1 year ago
exists');7: return message; 8: }LINE NUMBER: 5DETAILS: ReferenceError: "messageObject" is not defined. at faf8272e-b76d-4cd6-984f-55b23cdb21de_Preprocessor:5 (doScript) at faf8272e-b76d-4cd6-984f-55b23cdb21de_Preprocessor:9
via Mirth Project by Nick Rupley, 1 year ago
exists');7: return message; 8: }LINE NUMBER: 5DETAILS: ReferenceError: "messageObject" is not defined. at faf8272e-b76d-4cd6-984f-55b23cdb21de_Preprocessor:5 (doScript) at faf8272e-b76d-4cd6-984f-55b23cdb21de_Preprocessor:9
com.mirth.connect.server.MirthJavascriptTransformerException: SOURCE CODE: 4816: } 4817: };var release_tag = 50;function doScript() { 4818: // This script executes once when the mule engine is started 4819: // You only have access to the globalMap here to persist data 4820: 4821: message = message.replace(/:/g, "|") 4822: message = message.replace (/;/g, "^"); 4823: return message; 4824: } LINE NUMBER: 4820 DETAILS: ReferenceError: "message" is not defined.
at com.mirth.connect.server.util.JavaScriptUtil.executeScript(JavaScriptUtil.java:251)
at com.mirth.connect.server.util.JavaScriptUtil.executeChannelDeployOrShutdownScript(JavaScriptUtil.java:180)
at com.mirth.connect.server.controllers.DefaultScriptController.executeChannelDeployScript(DefaultScriptController.java:197)
at com.mirth.connect.server.controllers.MuleEngineController.deployChannels(MuleEngineController.java:199)
at com.mirth.connect.server.controllers.MuleEngineController.redeployAllChannels(MuleEngineController.java:281)
at com.mirth.connect.server.controllers.MuleEngineController.startEngine(MuleEngineController.java:144)
at com.mirth.connect.server.Mirth.startEngine(Mirth.java:205)
at com.mirth.connect.server.Mirth.startup(Mirth.java:176)
at com.mirth.connect.server.Mirth.run(Mirth.java:126)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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