com.mirth.connect.plugins.datapruner.DataPrunerException: java.text.ParseException: Format.parseObject(String) failed

Mirth Project | Eduardo Armendariz | 2 years ago
  1. 0

    If you input an invalid time(02:59PM) on the pruner settings the client will allow you to save the page but the following will be thrown in the server log: {code} ERROR 2014-11-06 14:59:52,235 [qtp246079278-35] com.mirth.connect.plugins.datapruner.DataPrunerService: Failed to reschedule the data pruner. com.mirth.connect.plugins.datapruner.DataPrunerException: java.text.ParseException: Format.parseObject(String) failed at com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.update(DefaultDataPrunerController.java:95) at com.mirth.connect.plugins.datapruner.DataPrunerService.update(DataPrunerService.java:66) at com.mirth.connect.server.controllers.DefaultExtensionController.updatePluginProperties(DefaultExtensionController.java:371) at com.mirth.connect.server.servlets.ExtensionServlet.doPost(ExtensionServlet.java:99) 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.text.ParseException: Format.parseObject(String) failed at java.text.Format.parseObject(Format.java:245) at javax.swing.text.InternationalFormatter.stringToValue(InternationalFormatter.java:402) at javax.swing.text.InternationalFormatter.stringToValue(InternationalFormatter.java:320) at com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.createTrigger(DefaultDataPrunerController.java:294) at com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.update(DefaultDataPrunerController.java:88) ... 28 more {code} Your input is reverted but there should be some sort of client error thrown. This also kind of applies to the other fields where the day of the week can be saved as something invalid. Maybe this should just be some sort of drop down anyways.

    Mirth Project | 2 years ago | Eduardo Armendariz
    com.mirth.connect.plugins.datapruner.DataPrunerException: java.text.ParseException: Format.parseObject(String) failed
  2. 0

    If you input an invalid time(02:59PM) on the pruner settings the client will allow you to save the page but the following will be thrown in the server log: {code} ERROR 2014-11-06 14:59:52,235 [qtp246079278-35] com.mirth.connect.plugins.datapruner.DataPrunerService: Failed to reschedule the data pruner. com.mirth.connect.plugins.datapruner.DataPrunerException: java.text.ParseException: Format.parseObject(String) failed at com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.update(DefaultDataPrunerController.java:95) at com.mirth.connect.plugins.datapruner.DataPrunerService.update(DataPrunerService.java:66) at com.mirth.connect.server.controllers.DefaultExtensionController.updatePluginProperties(DefaultExtensionController.java:371) at com.mirth.connect.server.servlets.ExtensionServlet.doPost(ExtensionServlet.java:99) 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.text.ParseException: Format.parseObject(String) failed at java.text.Format.parseObject(Format.java:245) at javax.swing.text.InternationalFormatter.stringToValue(InternationalFormatter.java:402) at javax.swing.text.InternationalFormatter.stringToValue(InternationalFormatter.java:320) at com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.createTrigger(DefaultDataPrunerController.java:294) at com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.update(DefaultDataPrunerController.java:88) ... 28 more {code} Your input is reverted but there should be some sort of client error thrown. This also kind of applies to the other fields where the day of the week can be saved as something invalid. Maybe this should just be some sort of drop down anyways.

    Mirth Project | 2 years ago | Eduardo Armendariz
    com.mirth.connect.plugins.datapruner.DataPrunerException: java.text.ParseException: Format.parseObject(String) failed
  3. 0

    Difference between two dates with different timezones

    Stack Overflow | 4 years ago | Dan Dinu
    java.text.ParseException: Format.parseObject(String) failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ParseException when status.setIndex(0)

    Oracle Community | 2 decades ago | 807556
    java.text.ParseException: Format.parseObject(String) failed
  6. 0

    simpleDateFormat Problems and questions

    Coderanch | 6 years ago | Justin Core
    java.text.ParseException: Format.parseObject(String) failed

    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.text.ParseException

      Format.parseObject(String) failed

      at java.text.Format.parseObject()
    2. Java RT
      InternationalFormatter.stringToValue
      1. java.text.Format.parseObject(Format.java:245)
      2. javax.swing.text.InternationalFormatter.stringToValue(InternationalFormatter.java:402)
      3. javax.swing.text.InternationalFormatter.stringToValue(InternationalFormatter.java:320)
      3 frames
    3. com.mirth.connect
      ExtensionServlet.doPost
      1. com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.createTrigger(DefaultDataPrunerController.java:294)
      2. com.mirth.connect.plugins.datapruner.DefaultDataPrunerController.update(DefaultDataPrunerController.java:88)
      3. com.mirth.connect.plugins.datapruner.DataPrunerService.update(DataPrunerService.java:66)
      4. com.mirth.connect.server.controllers.DefaultExtensionController.updatePluginProperties(DefaultExtensionController.java:371)
      5. com.mirth.connect.server.servlets.ExtensionServlet.doPost(ExtensionServlet.java:99)
      5 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    5. 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
    6. 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
    7. 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
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame