com.mirth.connect.donkey.server.DeployException

Mirth Project | Nick Rupley | 4 years ago
  1. 0

    Steps to reproduce: 1. Create a simple Channel Reader/Writer channel, save it, but do not deploy it. 2. Close down and restart the Administrator client. 3. Go to the Channels view, double-click the channel you created. 4. Click on the Destinations tab. 5. Click the Clone Destination task, and then click Save Changes. 6. Return to the Channels view and deploy the channel. 7. The channel will fail to deploy, with the following exception: [2013-05-24 11:06:21,166] ERROR (com.mirth.connect.server.controllers.DonkeyEngineController:177): Error deploying channel bb0d7d45-e63b-4d4c-a21f-d4c4982833f3. com.mirth.connect.donkey.server.DeployException at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannel(DonkeyEngineController.java:198) at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannels(DonkeyEngineController.java:175) at com.mirth.connect.server.servlets.EngineServlet.doPost(EngineServlet.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:447) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:363) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:680)Caused by: java.lang.NullPointerException at com.mirth.connect.server.controllers.DonkeyEngineController.createDestinationConnector(DonkeyEngineController.java:760) at com.mirth.connect.server.controllers.DonkeyEngineController.convertToDonkeyChannel(DonkeyEngineController.java:485) at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannel(DonkeyEngineController.java:196) ... 27 more This is happening because the connector properties of the cloned destination of the Channel being passed into DEC are null.

    Mirth Project | 4 years ago | Nick Rupley
    com.mirth.connect.donkey.server.DeployException
  2. 0

    Steps to reproduce: 1. Create a simple Channel Reader/Writer channel, save it, but do not deploy it. 2. Close down and restart the Administrator client. 3. Go to the Channels view, double-click the channel you created. 4. Click on the Destinations tab. 5. Click the Clone Destination task, and then click Save Changes. 6. Return to the Channels view and deploy the channel. 7. The channel will fail to deploy, with the following exception: [2013-05-24 11:06:21,166] ERROR (com.mirth.connect.server.controllers.DonkeyEngineController:177): Error deploying channel bb0d7d45-e63b-4d4c-a21f-d4c4982833f3. com.mirth.connect.donkey.server.DeployException at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannel(DonkeyEngineController.java:198) at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannels(DonkeyEngineController.java:175) at com.mirth.connect.server.servlets.EngineServlet.doPost(EngineServlet.java:63) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:447) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:363) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:680)Caused by: java.lang.NullPointerException at com.mirth.connect.server.controllers.DonkeyEngineController.createDestinationConnector(DonkeyEngineController.java:760) at com.mirth.connect.server.controllers.DonkeyEngineController.convertToDonkeyChannel(DonkeyEngineController.java:485) at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannel(DonkeyEngineController.java:196) ... 27 more This is happening because the connector properties of the cloned destination of the Channel being passed into DEC are null.

    Mirth Project | 4 years ago | Nick Rupley
    com.mirth.connect.donkey.server.DeployException
  3. 0

    Error Deploying Channel - Generic Deploy Exception

    Stack Overflow | 7 months ago | xec86
    com.mirth.connect.donkey.server.DeployException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If you create a channel that uses MESSAGE_ID or METADATA_ID as one of its custom metadata columns, it will actually let you deploy the channel the first time. However the second time you deploy it, it will error: {code}[2014-08-18 08:38:13,150] ERROR (com.mirth.connect.server.controllers.DonkeyEngineController:191): Error deploying channel 1d8f6781-e1ce-4ec9-abb3-f022fe51f0da. com.mirth.connect.donkey.server.DeployException: Failed to deploy channel. at com.mirth.connect.donkey.server.channel.Channel.deploy(Channel.java:420) at com.mirth.connect.donkey.server.Donkey.deployChannel(Donkey.java:154) at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannel(DonkeyEngineController.java:244) at com.mirth.connect.server.controllers.DonkeyEngineController.deployChannels(DonkeyEngineController.java:189) at com.mirth.connect.server.controllers.DonkeyEngineController.redeployAllChannels(DonkeyEngineController.java:328) at com.mirth.connect.server.servlets.EngineServlet.doPost(EngineServlet.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:447) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:363) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:745)Caused by: java.util.concurrent.ExecutionException: com.mirth.connect.donkey.server.data.DonkeyDaoException: Failed to add meta-data column at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at com.mirth.connect.donkey.server.channel.Channel.deploy(Channel.java:395) ... 30 moreCaused by: com.mirth.connect.donkey.server.data.DonkeyDaoException: Failed to add meta-data column at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.addMetaDataColumn(JdbcDao.java:1479) at com.mirth.connect.donkey.server.data.buffered.BufferedDao.executeTasks(BufferedDao.java:122) at com.mirth.connect.donkey.server.data.buffered.BufferedDao.commit(BufferedDao.java:74) at com.mirth.connect.donkey.server.data.buffered.BufferedDao.commit(BufferedDao.java:56) at com.mirth.connect.donkey.server.channel.Channel$DeployTask.updateMetaDataColumns(Channel.java:1824) at com.mirth.connect.donkey.server.channel.Channel$DeployTask.call(Channel.java:1731) at com.mirth.connect.donkey.server.channel.Channel$DeployTask.call(Channel.java:1706) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) ... 1 moreCaused by: org.postgresql.util.PSQLException: ERROR: column "MESSAGE_ID" of relation "d_mcm1" already exists at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2101) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1834) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:510) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:372) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeUpdate(AbstractJdbc2Statement.java:300) at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228) at com.mirth.connect.donkey.server.data.jdbc.JdbcDao.addMetaDataColumn(JdbcDao.java:1473) ... 10 more{code} The UI shouldn't even allow users to type in those reserved columns.

    Mirth Project | 2 years ago | Nick Rupley
    com.mirth.connect.donkey.server.DeployException: Failed to deploy channel.
  6. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.mirth.connect.server.controllers.DonkeyEngineController.createDestinationConnector()
    2. com.mirth.connect
      EngineServlet.doPost
      1. com.mirth.connect.server.controllers.DonkeyEngineController.createDestinationConnector(DonkeyEngineController.java:760)
      2. com.mirth.connect.server.controllers.DonkeyEngineController.convertToDonkeyChannel(DonkeyEngineController.java:485)
      3. com.mirth.connect.server.controllers.DonkeyEngineController.deployChannel(DonkeyEngineController.java:196)
      4. com.mirth.connect.server.controllers.DonkeyEngineController.deployChannels(DonkeyEngineController.java:175)
      5. com.mirth.connect.server.servlets.EngineServlet.doPost(EngineServlet.java:63)
      5 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    4. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:447)
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      9. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      10. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      11. org.eclipse.jetty.server.Server.handle(Server.java:363)
      12. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
      13. org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931)
      14. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992)
      15. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856)
      16. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
      17. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      17 frames
    5. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
      3. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
      3 frames
    6. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame