No announcement yet.

Mirth Connect Server error when logging in as other user then 'admin'

  • Filter
  • Time
  • Show
Clear All
new posts

  • Mirth Connect Server error when logging in as other user then 'admin'

    Our client used to give us access to the 'admin' user.

    However, that has changed (for security reasons).
    We now have users in Mirth that are not the 'admin' user.

    This works (as it should), however, everytime we login (in Mirth Connect Administrator), or open the settings section whe get errors we didn't get as admin user:
    In a popup:
    com.mirth.connect.client.core.ClientException: method failed: HTTP/1.1 500 Server Error
    com.mirth.connect.client.core.ServerConnection.exe cutePostMethod(
    com.mirth.connect.client.core.Client.getUserPrefer ences(
    com.mirth.connect.client.ui.LoginPanel$8.doInBackg round(
    com.mirth.connect.client.ui.LoginPanel$8.doInBackg round(
    javax.swing.SwingWorker$ Source) Source) Source)
    java.util.concurrent.ThreadPoolExecutor.runWorker( Unknown Source)
    java.util.concurrent.ThreadPoolExecutor$ (Unknown Source) Source)

    In the log file:
    ERROR 2017-03-03 11:08:11,379 [qtp1727263881-18488] com.mirth.connect.server.servlets.UserServlet: java.lang.NullPointerException
    at com.mirth.connect.server.servlets.UserServlet.isCu rrentUser(
    at com.mirth.connect.server.servlets.UserServlet.doPo st(
    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(Ser
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(
    at Handle(
    at Handle(
    at org.eclipse.jetty.servlet.ServletHandler.doScope(S
    at Scope(
    at Scope(
    at org.eclipse.jetty.server.handler.ScopedHandler.han dle(
    at org.eclipse.jetty.server.handler.HandlerList.handl e(
    at org.eclipse.jetty.server.handler.HandlerWrapper.ha ndle(
    at org.eclipse.jetty.server.Server.handle( :363)
    at org.eclipse.jetty.server.AbstractHttpConnection.ha ndleRequest(
    at ntent(
    at org.eclipse.jetty.server.AbstractHttpConnection$Re questHandler.content( 92)
    at org.eclipse.jetty.http.HttpParser.parseNext(HttpPa
    at org.eclipse.jetty.http.HttpParser.parseAvailable(H
    at org.eclipse.jetty.server.AsyncHttpConnection.handl e(
    at dle(
    at$1.r un(
    at Job(
    at org.eclipse.jetty.util.thread.QueuedThreadPool$3.r un(
    at Source)

    Does anybody know why this happens, and more importantly:
    what can we do to stop this from happening?


  • #2
    Try cleaning Java Cache, and if possible delete the users and recreate them again.
    I never saw that happening before...
    Best Regards,
    Alex Neiva