org.mule.umo.lifecycle.InitialisationException: Initialisation Failure: invalid return (5f03ca21-35b2-411f-bb79-26ab956dab6d#791)

Mirth Project | Johnson Dea | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    There was a problem deploying channels and the errors below popped up and the deploy failed. We narrowed it down to a code template, comment line in Javascript. "//}" After we removed that line, it was able to deploy channels again, it was the last line, but there are still comments before it. Here is what the comment looked like in the code template: // var outString = new String(mString); // var padLength = new Number(mLength); // if (outString=='null'){ // outString='' // } // while( outString.length<padLength) // { // outString = ' ' + outString; // } // if // return outString; //} // write code here. //} The errors in deploy seemed to only occur in channels with transformers, even ones that didn't call any templates. The comments will work if /* and */ is used instead. ERROR 1: [2012-08-14 17:35:27,272] ERROR (com.mirth.connect.server.controllers.MuleEngineController:376): Failed to configure outbound router. org.mule.umo.lifecycle.InitialisationException: Initialisation Failure: invalid return (5f03ca21-35b2-411f-bb79-26ab956dab6d#791) at com.mirth.connect.connectors.js.JavaScriptConnector.initFromServiceDescriptor(JavaScriptConnector.java:69) at org.mule.providers.AbstractServiceEnabledConnector.doInitialise(AbstractServiceEnabledConnector.java:54) ........ ERROR 2: [2012-08-14 17:36:48,230] ERROR (com.mirth.connect.server.mule.transformers.JavaScriptTransformer:179): ERROR-300: Transformer error com.mirth.connect.server.MirthJavascriptTransformerException: CONNECTOR: TransactionLogger SCRIPT SOURCE: Filter/Transformer LINE NUMBER: 799 LINE SOURCE: } DETAILS: syntax error ERROR 3: [2012-08-14 17:36:48,204] ERROR (com.mirth.connect.server.controllers.MuleEngineController:369): Failed to configure inbound router. org.mule.umo.lifecycle.InitialisationException: Initialisation Failure: CONNECTOR: sourceConnectorSCRIPT SOURCE: Filter/TransformerLINE NUMBER: 827LINE SOURCE: }DETAILS: syntax error

    Mirth Project | 5 years ago | Johnson Dea
    org.mule.umo.lifecycle.InitialisationException: Initialisation Failure: invalid return (5f03ca21-35b2-411f-bb79-26ab956dab6d#791)
  2. 0

    There was a problem deploying channels and the errors below popped up and the deploy failed. We narrowed it down to a code template, comment line in Javascript. "//}" After we removed that line, it was able to deploy channels again, it was the last line, but there are still comments before it. Here is what the comment looked like in the code template: // var outString = new String(mString); // var padLength = new Number(mLength); // if (outString=='null'){ // outString='' // } // while( outString.length<padLength) // { // outString = ' ' + outString; // } // if // return outString; //} // write code here. //} The errors in deploy seemed to only occur in channels with transformers, even ones that didn't call any templates. The comments will work if /* and */ is used instead. ERROR 1: [2012-08-14 17:35:27,272] ERROR (com.mirth.connect.server.controllers.MuleEngineController:376): Failed to configure outbound router. org.mule.umo.lifecycle.InitialisationException: Initialisation Failure: invalid return (5f03ca21-35b2-411f-bb79-26ab956dab6d#791) at com.mirth.connect.connectors.js.JavaScriptConnector.initFromServiceDescriptor(JavaScriptConnector.java:69) at org.mule.providers.AbstractServiceEnabledConnector.doInitialise(AbstractServiceEnabledConnector.java:54) ........ ERROR 2: [2012-08-14 17:36:48,230] ERROR (com.mirth.connect.server.mule.transformers.JavaScriptTransformer:179): ERROR-300: Transformer error com.mirth.connect.server.MirthJavascriptTransformerException: CONNECTOR: TransactionLogger SCRIPT SOURCE: Filter/Transformer LINE NUMBER: 799 LINE SOURCE: } DETAILS: syntax error ERROR 3: [2012-08-14 17:36:48,204] ERROR (com.mirth.connect.server.controllers.MuleEngineController:369): Failed to configure inbound router. org.mule.umo.lifecycle.InitialisationException: Initialisation Failure: CONNECTOR: sourceConnectorSCRIPT SOURCE: Filter/TransformerLINE NUMBER: 827LINE SOURCE: }DETAILS: syntax error

    Mirth Project | 5 years ago | Johnson Dea
    org.mule.umo.lifecycle.InitialisationException: Initialisation Failure: invalid return (5f03ca21-35b2-411f-bb79-26ab956dab6d#791)

    Root Cause Analysis

    1. org.mule.umo.lifecycle.InitialisationException

      Initialisation Failure: invalid return (5f03ca21-35b2-411f-bb79-26ab956dab6d#791)

      at com.mirth.connect.connectors.js.JavaScriptConnector.initFromServiceDescriptor()
    2. com.mirth.connect
      JavaScriptConnector.initFromServiceDescriptor
      1. com.mirth.connect.connectors.js.JavaScriptConnector.initFromServiceDescriptor(JavaScriptConnector.java:69)
      1 frame
    3. org.mule.providers
      AbstractServiceEnabledConnector.doInitialise
      1. org.mule.providers.AbstractServiceEnabledConnector.doInitialise(AbstractServiceEnabledConnector.java:54)
      1 frame