ca.uhn.fhir.parser.DataFormatException: DataFormatException at [[row,col {unknown-source}]: [2,4]]: Invalid date/time format: "1960-09-06T19:44:25.-988-05:00": Timezone offset must be in the form "Z", "-HH:mm", or "+HH:mm"

GitHub | CarthageKing | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 444#246042811

    GitHub | 6 months ago | jamesagnew
    ca.uhn.fhir.parser.DataFormatException: DataFormatException at [[row,col {unknown-source}]: [2,4]]: Invalid date/time format: "1960-09-06T19:44:25.-988-05:00": Timezone offset must be in the form "Z", "-HH:mm", or "+HH:mm"
  2. 0

    Getting DateFormatException when using HAPI FHIR 1.6 or 2.0 or latest snapshot

    GitHub | 6 months ago | CarthageKing
    ca.uhn.fhir.parser.DataFormatException: DataFormatException at [[row,col {unknown-source}]: [2,4]]: Invalid date/time format: "1960-09-06T19:44:25.-988-05:00": Timezone offset must be in the form "Z", "-HH:mm", or "+HH:mm"

    Root Cause Analysis

    1. ca.uhn.fhir.parser.DataFormatException

      Invalid date/time format: "1960-09-06T19:44:25.-988-05:00": Timezone offset must be in the form "Z", "-HH:mm", or "+HH:mm"

      at org.hl7.fhir.dstu3.model.BaseDateTimeType.throwBadDateFormat()
    2. org.hl7.fhir
      BaseDateTimeType.setValueAsString
      1. org.hl7.fhir.dstu3.model.BaseDateTimeType.throwBadDateFormat(BaseDateTimeType.java:449)
      2. org.hl7.fhir.dstu3.model.BaseDateTimeType.setTimeZone(BaseDateTimeType.java:378)
      3. org.hl7.fhir.dstu3.model.BaseDateTimeType.parse(BaseDateTimeType.java:281)
      4. org.hl7.fhir.dstu3.model.BaseDateTimeType.parse(BaseDateTimeType.java:17)
      5. org.hl7.fhir.dstu3.model.PrimitiveType.fromStringValue(PrimitiveType.java:77)
      6. org.hl7.fhir.dstu3.model.PrimitiveType.setValueAsString(PrimitiveType.java:134)
      7. org.hl7.fhir.dstu3.model.BaseDateTimeType.setValueAsString(BaseDateTimeType.java:441)
      7 frames
    3. HAPI FHIR - Core Library
      BaseParser.parseResource
      1. ca.uhn.fhir.parser.ParserState$PrimitiveState.attributeValue(ParserState.java:2349)
      2. ca.uhn.fhir.parser.ParserState.attributeValue(ParserState.java:117)
      3. ca.uhn.fhir.parser.XmlParser.doXmlLoop(XmlParser.java:234)
      4. ca.uhn.fhir.parser.XmlParser.parseResource(XmlParser.java:1045)
      5. ca.uhn.fhir.parser.XmlParser.doParseResource(XmlParser.java:187)
      6. ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:641)
      7. ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:689)
      8. ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:699)
      8 frames
    4. com.accenture.ips
      Test.main
      1. com.accenture.ips.fhir.ingest.Test.main(Test.java:29)
      1 frame