ca.uhn.fhir.parser.DataFormatException

scheduled has type com.sij.fhirbug.CustomTimingDt but this is not a valid type for this element - Expected one of: [class com.sij.fhirbug.CustomTimingDt]

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web1

  • Stack trace

    • ca.uhn.fhir.parser.DataFormatException: scheduled has type com.sij.fhirbug.CustomTimingDt but this is not a valid type for this element - Expected one of: [class com.sij.fhirbug.CustomTimingDt] at ca.uhn.fhir.parser.BaseParser.throwExceptionForUnknownChildType(BaseParser.java:895) at ca.uhn.fhir.parser.BaseParser.getChildNameAndDef(BaseParser.java:436) at ca.uhn.fhir.parser.JsonParser.encodeCompositeElementChildrenToStreamWriter(JsonParser.java:615) at ca.uhn.fhir.parser.JsonParser.encodeCompositeElementToStreamWriter(JsonParser.java:764) at ca.uhn.fhir.parser.JsonParser.encodeResourceToJsonStreamWriter(JsonParser.java:900) at ca.uhn.fhir.parser.JsonParser.encodeResourceToJsonStreamWriter(JsonParser.java:803) at ca.uhn.fhir.parser.JsonParser.doEncodeResourceToWriter(JsonParser.java:214) at ca.uhn.fhir.parser.BaseParser.encodeResourceToWriter(BaseParser.java:365) at ca.uhn.fhir.parser.BaseParser.encodeResourceToString(BaseParser.java:349) at com.sij.fhirbug.CustomProcedureRequestMain.main(CustomProcedureRequestMain.java:19) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

    Write tip

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

    Users with the same issue

    We couldn't find other users who have seen this exception.