[ 
https://issues.apache.org/jira/browse/UNOMI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Griffon updated UNOMI-785:
--------------------------------
    Fix Version/s: unomi-1.9.1

> Avoid NPE when a profileID in session is not found
> --------------------------------------------------
>
>                 Key: UNOMI-785
>                 URL: https://issues.apache.org/jira/browse/UNOMI-785
>             Project: Apache Unomi
>          Issue Type: Bug
>            Reporter: David Griffon
>            Assignee: Jonathan Sinovassin-Naïk
>            Priority: Major
>             Fix For: unomi-1.9.1
>
>
> Currently if a profileID set on a session is not found, an NPE is thrown 
> {code}
>  Internal server error null: java.lang.NullPointerException in 
> org.apache.unomi.rest.endpoints.ContextJsonEndpoint.contextJSONAsPost(ContextJsonEndpoint.java:255
> {code}
> This task to avoid the NPE in such case (ignore the profile in the session 
> document)
> Also to improve the merge profile test to check that no session remains with 
> a merged profile. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to