java.lang.NullPointerException: null
at io.crnk.core.engine.internal.dispatcher.controller.RelationshipsPatchController.lambda$processToManyRelationship$0(RelationshipsPatchController.java:43)
at io.crnk.core.engine.result.ImmediateResult.merge(ImmediateResult.java:50)
at io.crnk.core.engine.internal.dispatcher.controller.RelationshipsPatchController.processToManyRelationship(RelationshipsPatchController.java:30)
at io.crnk.core.engine.internal.dispatcher.controller.RelationshipsResourceUpsert.handleAsync(RelationshipsResourceUpsert.java:100)
at io.crnk.core.engine.internal.dispatcher.controller.BaseController.handle(BaseController.java:56)
at io.crnk.core.engine.internal.http.DocumentFilterChainImpl.doFilter(DocumentFilterChainImpl.java:28)
at io.crnk.core.engine.internal.http.JsonApiRequestProcessor.processAsync(JsonApiRequestProcessor.java:167)
at io.crnk.core.engine.internal.http.JsonApiRequestProcessor.processAsync(JsonApiRequestProcessor.java:131)
at io.crnk.core.engine.internal.http.HttpRequestDispatcherImpl.process(HttpRequestDispatcherImpl.java:73)
at io.crnk.servlet.CrnkFilter.doFilter(CrnkFilter.java:85)
Sending a specific
PATCH
request to a relationship link can cause theRelationshipsPatchController
to throw aNullPointerException
.version:
3.3.20200920055408
example request:
example response:
example stack trace: