com.mirth.connect.server.MirthJavascriptTransformerException

SOURCE CODE: 187: }188: }189: function doScript() {190: // Modify the message variable below to pre process data191: 192: logger.info(typeof messageObject);193: 194: return message; 195: }LINE NUMBER: 192DETAILS: Invalid JavaScript value of type com.mirth.connect.server.userutil.MessageObject at 880e07cc-0729-42c5-a146-29c4b3253f9c_Preprocessor:192 (doScript) at 880e07cc-0729-42c5-a146-29c4b3253f9c_Preprocessor:196

Solutions on the web13

  • via Mirth Project by Nick Rupley, 9 months ago
    SOURCE CODE: 187: }188: }189: function doScript() {190: // Modify the message variable below to pre process data191: 192: logger.info(typeof messageObject);193: 194: return message; 195: }LINE NUMBER: 192DETAILS: Invalid JavaScript value of
  • via Mirth Project by Nick Rupley, 1 year ago
    SOURCE CODE: 187: }188: }189: function doScript() {190: // Modify the message variable below to pre process data191: 192: logger.info(typeof messageObject);193: 194: return message; 195: }LINE NUMBER: 192DETAILS: Invalid JavaScript value of
  • via Mirth Project by Igor Ges, 9 months 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
  • Stack trace

    • com.mirth.connect.server.MirthJavascriptTransformerException: SOURCE CODE: 187: }188: }189: function doScript() {190: // Modify the message variable below to pre process data191: 192: logger.info(typeof messageObject);193: 194: return message; 195: }LINE NUMBER: 192DETAILS: Invalid JavaScript value of type com.mirth.connect.server.userutil.MessageObject at 880e07cc-0729-42c5-a146-29c4b3253f9c_Preprocessor:192 (doScript) at 880e07cc-0729-42c5-a146-29c4b3253f9c_Preprocessor:196 at com.mirth.connect.server.util.javascript.JavaScriptUtil.executeScript(JavaScriptUtil.java:489) at com.mirth.connect.server.util.javascript.JavaScriptUtil.executePreprocessorScripts(JavaScriptUtil.java:183) at com.mirth.connect.server.transformers.JavaScriptPreprocessor$JavaScriptPreProcessorTask.call(JavaScriptPreprocessor.java:57) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:724)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago