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"

Samebug tips0

There are no available Samebug tips.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via GitHub by jamesagnew
    ,
  • Stack trace

    • 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" at ca.uhn.fhir.parser.XmlParser.doXmlLoop(XmlParser.java:268) at ca.uhn.fhir.parser.XmlParser.parseResource(XmlParser.java:1045) at ca.uhn.fhir.parser.XmlParser.doParseResource(XmlParser.java:187) at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:641) at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:689) at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:699) at com.accenture.ips.fhir.ingest.Test.main(Test.java:29) Caused by: 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(BaseDateTimeType.java:449) at org.hl7.fhir.dstu3.model.BaseDateTimeType.setTimeZone(BaseDateTimeType.java:378) at org.hl7.fhir.dstu3.model.BaseDateTimeType.parse(BaseDateTimeType.java:281) at org.hl7.fhir.dstu3.model.BaseDateTimeType.parse(BaseDateTimeType.java:17) at org.hl7.fhir.dstu3.model.PrimitiveType.fromStringValue(PrimitiveType.java:77) at org.hl7.fhir.dstu3.model.PrimitiveType.setValueAsString(PrimitiveType.java:134) at org.hl7.fhir.dstu3.model.BaseDateTimeType.setValueAsString(BaseDateTimeType.java:441) at ca.uhn.fhir.parser.ParserState$PrimitiveState.attributeValue(ParserState.java:2349) at ca.uhn.fhir.parser.ParserState.attributeValue(ParserState.java:117) at ca.uhn.fhir.parser.XmlParser.doXmlLoop(XmlParser.java:234) ... 6 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    No Bugmate found.