com.mirth.connect.server.util.javascript.JavaScriptExecutorException

java.lang.IllegalStateException: Calling Context.exit without previous Context.enter

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • java.lang.IllegalStateException: Calling Context.exit without previous Context.enter
  • via Mirth Project by justin arnold, 1 year ago
    java.lang.IllegalStateException: Calling Context.exit without previous Context.enter
  • via Mirth Project by justin arnold, 9 months ago
    java.lang.IllegalStateException: Calling Context.exit without previous Context.enter
  • Stack trace

    • com.mirth.connect.server.util.javascript.JavaScriptExecutorException: java.lang.IllegalStateException: Calling Context.exit without previous Context.enter at com.mirth.connect.server.util.javascript.JavaScriptUtil.execute(JavaScriptUtil.java:62) at com.mirth.connect.connectors.js.JavaScriptReceiver.poll(JavaScriptReceiver.java:91) at com.mirth.connect.donkey.server.channel.PollConnector$PollConnectorTask.run(PollConnector.java:111) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) Caused by: java.lang.IllegalStateException: Calling Context.exit without previous Context.enter at org.mozilla.javascript.Context.exit(Context.java:426) at com.mirth.connect.server.util.javascript.JavaScriptUtil.executeScript(JavaScriptUtil.java:435) at com.mirth.connect.connectors.js.JavaScriptReceiver$JavaScriptReceiverTask.call(JavaScriptReceiver.java:115) 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