cdsframework / ice

Immunization Calculation Engine (ICE) Service
https://cdsframework.atlassian.net/wiki/spaces/ICE/overview
Other
12 stars 9 forks source link

[Error: null pointer: getValidShotByDoseNumber(2).getAdministrationDate()] #38

Closed vshahrda closed 2 years ago

vshahrda commented 2 years ago

Hello, I am getting this error for one of my requests.

Full response:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <soap:Fault>
            <faultcode>soap:Server</faultcode>
            <faultstring>org.omg.dss.DSSRuntimeExceptionFault: OpenCDS call to Drools.execute failed with error: [PrimaryProcess:1 - Initialize Reference Data:3] -- [PrimaryProcess:1 - Initialize Series and Seasons:11] -- [PrimaryProcess:1 - Identify Candidate Series:5] -- [PrimaryProcess:1 - Identify Candidate Doses:10] -- [PrimaryProcess:1 - Record Disease Immunity:9] -- [PrimaryProcess:1 -  Evaluate History Against All Series:6] -- [PrimaryProcess:1 - Select Best Series:8] -- [Error: null pointer: getValidShotByDoseNumber(2).getAdministrationDate()]
[Near : {... getValidShotByDoseNumber(2).ge ....}]
             ^
In Rule "SeriesSelection.SelectHibOMPSeriesIfTwoDosesHibOMPOneBefore7MonthsOtherBefore12Months" in knowledgeModule/gov.nyc.cir.ice/gov.nyc.cir^ICE^1.0.0^SeriesSelection.drl</faultstring>
        </soap:Fault>
    </soap:Body>
</soap:Envelope>

To reproduce: Execute the attached request, which would produce this error. Any idea what might be causing this?

failing-request.zip

vshahrda commented 2 years ago

failing-request.zip

vshahrda commented 2 years ago

Does anyone know how I can troubleshoot this? I'm still confused by this error.

darylbc commented 2 years ago

A fix is in place for the next release, 1.35.1. We expect to make this publicly available tomorrow.