Hello,
I am using Mirth Connect 3.0.1.7051
Imported a channel called "Monitoring Channel" (which is Attached) and I keep getting the JavaScript errors.
Does anyone have any idea?
Thanks,
Rubi
[2014-11-21 05:07:04,794] ERROR (com.mirth.connect.connectors.js.JavaScriptReceive r:90): Error executing JavaScript Reader script cbf6c0f1-3541-4ce6-9192-10f198357c50.
com.mirth.connect.server.util.javascript.JavaScrip tExecutorException: com.mirth.connect.server.MirthJavascriptTransforme rException: CHANNEL:
Monitoring ChannelCONNECTOR:
SourceSOURCE CODE:
50: 51: //Get the lastest stats for comparasion52: var aChannelReceiveCt = new Array();53: var iTimeDiff = 0;54: for (i=0; i<=aChannelId.length -1; i++){55:
aChannelReceiveCt[i] = Packages.com.mirth.connect.server.controllers.Chan nelStatisticsController.getInstance().getStatistic s(aChannelId[i]).received;56:
//Check latest stats against channelmap value from last check57:
if(aChannelReceiveCt[i] == globalChannelMap.get('receiveCount'+aChannelId[i])){58:
//Lets only fire an alert if we're in working hours. I'm not here anyway.59:
if((iHour >= 8 && iHour <= 16) && (iDay >= 1 && iDay <= 5)){LINE NUMBER:
55DETAILS:
TypeError: Cannot call property getInstance in object [JavaPackage com.mirth.connect.server.controllers.ChannelStatis ticsController]. It is not a function, it is "object".
at cbf6c0f1-3541-4ce6-9192-10f198357c50:55 (doScript)
at cbf6c0f1-3541-4ce6-9192-10f198357c50:75
at com.mirth.connect.server.util.javascript.JavaScrip tUtil.execute(JavaScriptUtil.java:62)
at com.mirth.connect.connectors.js.JavaScriptReceiver .poll(JavaScriptReceiver.java:88)
at com.mirth.connect.donkey.server.channel.PollConnec tor$PollConnectorTask.run(PollConnector.java:141)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)Caused by: com.mirth.connect.server.MirthJavascriptTransforme rException: CHANNEL:
Monitoring ChannelCONNECTOR:
SourceSOURCE CODE:
50: 51: //Get the lastest stats for comparasion52: var aChannelReceiveCt = new Array();53: var iTimeDiff = 0;54: for (i=0; i<=aChannelId.length -1; i++){55:
aChannelReceiveCt[i] = Packages.com.mirth.connect.server.controllers.Chan nelStatisticsController.getInstance().getStatistic s(aChannelId[i]).received;56:
//Check latest stats against channelmap value from last check57:
if(aChannelReceiveCt[i] == globalChannelMap.get('receiveCount'+aChannelId[i])){58:
//Lets only fire an alert if we're in working hours. I'm not here anyway.59:
if((iHour >= 8 && iHour <= 16) && (iDay >= 1 && iDay <= 5)){LINE NUMBER:
55DETAILS:
TypeError: Cannot call property getInstance in object [JavaPackage com.mirth.connect.server.controllers.ChannelStatis ticsController]. It is not a function, it is "object".
at cbf6c0f1-3541-4ce6-9192-10f198357c50:55 (doScript)
at cbf6c0f1-3541-4ce6-9192-10f198357c50:75
at com.mirth.connect.server.util.javascript.JavaScrip tUtil.executeScript(JavaScriptUtil.java:489)
at com.mirth.connect.connectors.js.JavaScriptReceiver $JavaScriptReceiverTask.call(JavaScriptReceiver.ja va:113)
at java.util.concurrent.FutureTask$Sync.innerRun(Unkn own Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
I am using Mirth Connect 3.0.1.7051
Imported a channel called "Monitoring Channel" (which is Attached) and I keep getting the JavaScript errors.
Does anyone have any idea?
Thanks,
Rubi
[2014-11-21 05:07:04,794] ERROR (com.mirth.connect.connectors.js.JavaScriptReceive r:90): Error executing JavaScript Reader script cbf6c0f1-3541-4ce6-9192-10f198357c50.
com.mirth.connect.server.util.javascript.JavaScrip tExecutorException: com.mirth.connect.server.MirthJavascriptTransforme rException: CHANNEL:
Monitoring ChannelCONNECTOR:
SourceSOURCE CODE:
50: 51: //Get the lastest stats for comparasion52: var aChannelReceiveCt = new Array();53: var iTimeDiff = 0;54: for (i=0; i<=aChannelId.length -1; i++){55:
aChannelReceiveCt[i] = Packages.com.mirth.connect.server.controllers.Chan nelStatisticsController.getInstance().getStatistic s(aChannelId[i]).received;56:
//Check latest stats against channelmap value from last check57:
if(aChannelReceiveCt[i] == globalChannelMap.get('receiveCount'+aChannelId[i])){58:
//Lets only fire an alert if we're in working hours. I'm not here anyway.59:
if((iHour >= 8 && iHour <= 16) && (iDay >= 1 && iDay <= 5)){LINE NUMBER:
55DETAILS:
TypeError: Cannot call property getInstance in object [JavaPackage com.mirth.connect.server.controllers.ChannelStatis ticsController]. It is not a function, it is "object".
at cbf6c0f1-3541-4ce6-9192-10f198357c50:55 (doScript)
at cbf6c0f1-3541-4ce6-9192-10f198357c50:75
at com.mirth.connect.server.util.javascript.JavaScrip tUtil.execute(JavaScriptUtil.java:62)
at com.mirth.connect.connectors.js.JavaScriptReceiver .poll(JavaScriptReceiver.java:88)
at com.mirth.connect.donkey.server.channel.PollConnec tor$PollConnectorTask.run(PollConnector.java:141)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)Caused by: com.mirth.connect.server.MirthJavascriptTransforme rException: CHANNEL:
Monitoring ChannelCONNECTOR:
SourceSOURCE CODE:
50: 51: //Get the lastest stats for comparasion52: var aChannelReceiveCt = new Array();53: var iTimeDiff = 0;54: for (i=0; i<=aChannelId.length -1; i++){55:
aChannelReceiveCt[i] = Packages.com.mirth.connect.server.controllers.Chan nelStatisticsController.getInstance().getStatistic s(aChannelId[i]).received;56:
//Check latest stats against channelmap value from last check57:
if(aChannelReceiveCt[i] == globalChannelMap.get('receiveCount'+aChannelId[i])){58:
//Lets only fire an alert if we're in working hours. I'm not here anyway.59:
if((iHour >= 8 && iHour <= 16) && (iDay >= 1 && iDay <= 5)){LINE NUMBER:
55DETAILS:
TypeError: Cannot call property getInstance in object [JavaPackage com.mirth.connect.server.controllers.ChannelStatis ticsController]. It is not a function, it is "object".
at cbf6c0f1-3541-4ce6-9192-10f198357c50:55 (doScript)
at cbf6c0f1-3541-4ce6-9192-10f198357c50:75
at com.mirth.connect.server.util.javascript.JavaScrip tUtil.executeScript(JavaScriptUtil.java:489)
at com.mirth.connect.connectors.js.JavaScriptReceiver $JavaScriptReceiverTask.call(JavaScriptReceiver.ja va:113)
at java.util.concurrent.FutureTask$Sync.innerRun(Unkn own Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source)
at java.lang.Thread.run(Unknown Source)
Channel Monitoring help?
0 commentaires:
Enregistrer un commentaire