felleslosninger/efm-integrasjonspunkt

SR Feiler når en slår opp orgnummer som skal til PostTilVirksomhet

vatteras opened this issue · 0 comments

Slår opp et Orgnummer som er reg. som AS og skal til Post til Viksomhet.

Oppslaget: test-meldingsutveksling-app01.difi.local:9099/organization/910071696/

Responsen :
{
"timestamp": 1468312887132,
"status": 500,
"error": "Internal Server Error",
"exception": "org.springframework.http.converter.HttpMessageNotWritableException",
"message": "Could not write content: (was java.lang.NullPointerException) (through reference chain: no.difi.meldingsutveksling.serviceregistry.controller.OrganizationResource["serviceRecords"]->java.util.ArrayList[0]->no.difi.meldingsutveksling.serviceregistry.controller.ServiceRecordResource["serviceRecord"]->no.difi.meldingsutveksling.serviceregistry.servicerecord.PostVirksomhetServiceRecord["endPointURL"]); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: no.difi.meldingsutveksling.serviceregistry.controller.OrganizationResource["serviceRecords"]->java.util.ArrayList[0]->no.difi.meldingsutveksling.serviceregistry.controller.ServiceRecordResource["serviceRecord"]->no.difi.meldingsutveksling.serviceregistry.servicerecord.PostVirksomhetServiceRecord["endPointURL"])",
"path": "/organization/910071696/"
}