Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-12261

Event rest api not allowing time element with OpenJDK 11

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 24.1.3
    • Fix Version/s: None
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Environment:
      CentOS Linux release 7.5.1804 (Core), java-11-openjdk-11.0.4
    • Sprint:
      Horizon 2019 - August 28th, Horizon 2019 - September 4th, Horizon 2019 - September 11th, Horizon 2019 - September 18th, Horizon 2019 - September 25th

      Description

      When event is inserted via rest api with time element it does not work with OpenJDK 11 and is giving following error message in web.log:

      "Failed to marshal/unmarshal XML file while unmarshalling an object (Event): javax.xml.bind.UnmarshalException: java.text.ParseException: Unparseable date: "2019-08-27T07:13:53+00:00""

      With JDK 8 this is working. 

        Attachments

          Activity

            People

            Assignee:
            ranger Benjamin Reed
            Reporter:
            jtl Jari
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration