Announcement

Collapse
No announcement yet.

Conversion error between 1.6.0 and 1.6.1

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conversion error between 1.6.0 and 1.6.1

    I am trying to import the attached channel.

    I was created in 1.6.0.2714 in Windows and I am attempting to deploy to 1.6.1.2750 running on Ubuntu. The channel reads HL7 from a flat file and spits it out as an HTTP GET request after being fed through a javascript transformer. I'm told that this is not exactly an intended usage but it is valid. It works well in 1.6.0.

    This appears to be an HTTP issue. I have tried deploying the channel with the destination target server up and down. I suspected that the 500 might be coming from the target server and not Mirth, but I wasn't sure.

    The error I get on deployment is:
    Code:
    com.webreach.mirth.client.core.ClientException: method failed: HTTP/1.1 500 com.webreach.mirth.server.builders.BuilderException: java.lang.NullPointerException
    com.webreach.mirth.client.core.ServerConnection.executePostMethod(ServerConnection.java:99)
    com.webreach.mirth.client.core.Client.deployChannels(Client.java:435)
    com.webreach.mirth.client.ui.Frame$23.doInBackground(Frame.java:2180)
    com.webreach.mirth.client.ui.Frame$23.doInBackground(Frame.java:2189)
    org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
    java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    java.util.concurrent.FutureTask.run(Unknown Source)
    org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    java.lang.Thread.run(Unknown Source)
    Mirth.log
    Code:
    ERROR 2007-10-10 19:56:24,957 [SslListener0-1] com.webreach.mirth.server.tools.ClassPathResource: Could not load resource.
    java.lang.NullPointerException
            at sun.misc.MetaIndex.mayContain(MetaIndex.java:225)
            at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:744)
            at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
            at sun.misc.URLClassPath.getResource(URLClassPath.java:220)
            at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113)
            at java.lang.ClassLoader.getResource(ClassLoader.java:974)
            at java.lang.ClassLoader.getResource(ClassLoader.java:972)
            at java.lang.ClassLoader.getResource(ClassLoader.java:972)
            at java.lang.Class.getResource(Class.java:2074)
            at com.webreach.mirth.server.tools.ClassPathResource.getResourceURI(ClassPathResource.java:17)
            at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfigurationDocument(MuleConfigurationBuilder.java:94)
            at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfiguration(MuleConfigurationBuilder.java:82)
            at com.webreach.mirth.server.controllers.ConfigurationController.deployChannels(ConfigurationController.java:279)
            at com.webreach.mirth.server.servlets.ConfigurationServlet.doPost(ConfigurationServlet.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
            at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:666)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
            at org.mortbay.http.HttpServer.service(HttpServer.java:909)
            at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
            at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
            at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
            at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
            at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
            at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
    WARN  2007-10-10 19:56:24,958 [SslListener0-1] org.mortbay.jetty.context./: /configuration: 
    com.webreach.mirth.server.controllers.ControllerException: com.webreach.mirth.server.builders.BuilderException: java.lang.NullPointerException
            at com.webreach.mirth.server.controllers.ConfigurationController.deployChannels(ConfigurationController.java:293)
            at com.webreach.mirth.server.servlets.ConfigurationServlet.doPost(ConfigurationServlet.java:70)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
            at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:666)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
            at org.mortbay.http.HttpServer.service(HttpServer.java:909)
            at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
            at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
            at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
            at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
            at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
            at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
    Caused by: com.webreach.mirth.server.builders.BuilderException: java.lang.NullPointerException
            at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfigurationDocument(MuleConfigurationBuilder.java:141)
            at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfiguration(MuleConfigurationBuilder.java:82)
            at com.webreach.mirth.server.controllers.ConfigurationController.deployChannels(ConfigurationController.java:279)
            ... 15 more
    Caused by: java.lang.NullPointerException
            at java.io.File.<init>(File.java:360)
            at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfigurationDocument(MuleConfigurationBuilder.java:94)
            ... 17 more
    Wrapper.log
    Code:
    INFO   | jvm 1    | 2007/10/10 19:57:10 | ERROR 2007-10-10 19:57:10,553 [SslListener0-1] com.webreach.mirth.server.tools.ClassPathResource: Could not load resource.
    INFO   | jvm 1    | 2007/10/10 19:57:10 | java.lang.NullPointerException
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at sun.misc.MetaIndex.mayContain(MetaIndex.java:225)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:744)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at sun.misc.URLClassPath.getResource(URLClassPath.java:220)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1113)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at java.lang.ClassLoader.getResource(ClassLoader.java:974)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at java.lang.ClassLoader.getResource(ClassLoader.java:972)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at java.lang.ClassLoader.getResource(ClassLoader.java:972)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at java.lang.Class.getResource(Class.java:2074)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.tools.ClassPathResource.getResourceURI(ClassPathResource.java:17)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfigurationDocument(MuleConfigurationBuilder.java:94)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfiguration(MuleConfigurationBuilder.java:82)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.controllers.ConfigurationController.deployChannels(ConfigurationController.java:279)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.servlets.ConfigurationServlet.doPost(ConfigurationServlet.java:70)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:666)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpServer.service(HttpServer.java:909)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
    INFO   | jvm 1    | 2007/10/10 19:57:10 | WARN  2007-10-10 19:57:10,554 [SslListener0-1] org.mortbay.jetty.context./: /configuration: 
    INFO   | jvm 1    | 2007/10/10 19:57:10 | com.webreach.mirth.server.controllers.ControllerException: com.webreach.mirth.server.builders.BuilderException: java.lang.NullPointerException
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.controllers.ConfigurationController.deployChannels(ConfigurationController.java:293)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.servlets.ConfigurationServlet.doPost(ConfigurationServlet.java:70)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHandler.java:666)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpServer.service(HttpServer.java:909)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
    INFO   | jvm 1    | 2007/10/10 19:57:10 | Caused by: com.webreach.mirth.server.builders.BuilderException: java.lang.NullPointerException
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfigurationDocument(MuleConfigurationBuilder.java:141)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfiguration(MuleConfigurationBuilder.java:82)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.controllers.ConfigurationController.deployChannels(ConfigurationController.java:279)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       ... 15 more
    INFO   | jvm 1    | 2007/10/10 19:57:10 | Caused by: java.lang.NullPointerException
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at java.io.File.<init>(File.java:360)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       at com.webreach.mirth.server.builders.MuleConfigurationBuilder.getConfigurationDocument(MuleConfigurationBuilder.java:94)
    INFO   | jvm 1    | 2007/10/10 19:57:10 |       ... 17 more
    Any ideas? HL7_to_REST-c3a519e2d34359f1560331ff9171c1c6.xml (6812 bytes)
    Jon Bartels

    Zen is hiring!!!!
    http://consultzen.com/careers/
    Talented healthcare IT professionals wanted. Engineers to sales to management.
    Good benefits, great working environment, genuinely interesting work.

  • #2
    Re:Conversion error between 1.6.0 and 1.6.1

    I recreated the channel from scratch and I'm still seeing the same error.

    Is it an issue with the destination????
    Jon Bartels

    Zen is hiring!!!!
    http://consultzen.com/careers/
    Talented healthcare IT professionals wanted. Engineers to sales to management.
    Good benefits, great working environment, genuinely interesting work.

    Comment


    • #3
      Re:Conversion error between 1.6.0 and 1.6.1

      This is a 1.6.0 -> 1.6.1 compatibility issue. I downgraded to 1.6.0 and the channel works no problem.

      Should I file this as a bug report to help the Mirth team identify the issue or am I an isolated case?
      Jon Bartels

      Zen is hiring!!!!
      http://consultzen.com/careers/
      Talented healthcare IT professionals wanted. Engineers to sales to management.
      Good benefits, great working environment, genuinely interesting work.

      Comment

      Working...
      X