Announcement

Collapse
No announcement yet.

I want to add a resource type plugin, but it always fails

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

  • I want to add a resource type plugin, but it always fails

    i want to add some plugin to mirth connect,but i'm fild;
    When the interface is initialized, the following exception message is thrown
    I want to know how to deal with this problem.
    Code:
    ERROR 2018-07-06 10:20:08,921 [qtp52913970-42] com.mirth.connect.model.converters.ObjectXMLSerializer: com.thoughtworks.xstream.core.TreeMarshaller$CircularReferenceException: Recursive reference to parent object
    ---- Debugging information ----
    item-type           : com.thoughtworks.xstream.converters.ConversionException
    converter-type      : com.thoughtworks.xstream.converters.extended.ThrowableConverter
    -------------------------------
    WARN  2018-07-06 10:20:08,925 [qtp52913970-42] org.eclipse.jetty.servlet.ServletHandler: 
    javax.servlet.ServletException: com.mirth.connect.donkey.util.xstream.SerializerException: com.thoughtworks.xstream.core.TreeMarshaller$CircularReferenceException: Recursive reference to parent object
    ---- Debugging information ----
    item-type           : com.thoughtworks.xstream.converters.ConversionException
    converter-type      : com.thoughtworks.xstream.converters.extended.ThrowableConverter
    -------------------------------
    	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:487)
    	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
    	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
    	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
    	at com.mirth.connect.server.MethodFilter.doFilter(MethodFilter.java:37)
    	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    	at com.mirth.connect.server.api.providers.ApiOriginFilter.doFilter(ApiOriginFilter.java:35)
    	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    	at org.eclipse.jetty.server.Server.handle(Server.java:499)
    	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    	at java.lang.Thread.run(Thread.java:745)

  • #2
    I want to add a resource type plugin, but it always fails

    When I load the plug-in, I always get com.thoughtworks.xstream.core.TreeMarshallerCircul arReferenceException: Recursive reference to parent object,
    Here is the error code:
    Code:
    ERROR 2018-07-06 10:20:08,921 [qtp52913970-42] com.mirth.connect.model.converters.ObjectXMLSerializer: com.thoughtworks.xstream.core.TreeMarshaller$CircularReferenceException: Recursive reference to parent object
    ---- Debugging information ----
    item-type           : com.thoughtworks.xstream.converters.ConversionException
    converter-type      : com.thoughtworks.xstream.converters.extended.ThrowableConverter
    -------------------------------
    WARN  2018-07-06 10:20:08,925 [qtp52913970-42] org.eclipse.jetty.servlet.ServletHandler: 
    javax.servlet.ServletException: com.mirth.connect.donkey.util.xstream.SerializerException: com.thoughtworks.xstream.core.TreeMarshaller$CircularReferenceException: Recursive reference to parent object
    ---- Debugging information ----
    item-type           : com.thoughtworks.xstream.converters.ConversionException
    converter-type      : com.thoughtworks.xstream.converters.extended.ThrowableConverter
    -------------------------------
    	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:487)
    	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:425)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:383)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:336)
    	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:223)
    	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
    	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
    	at com.mirth.connect.server.MethodFilter.doFilter(MethodFilter.java:37)
    	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    	at com.mirth.connect.server.api.providers.ApiOriginFilter.doFilter(ApiOriginFilter.java:35)
    	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
    	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
    	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
    	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
    	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
    	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
    	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    	at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
    	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
    	at org.eclipse.jetty.server.Server.handle(Server.java:499)
    	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
    	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
    	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
    	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
    	at java.lang.Thread.run(Thread.java:745)

    Comment

    Working...
    X