jasonfagerberg-toast opened a new pull request, #694:
URL: https://github.com/apache/directory-scimple/pull/694

   When you attempt to replace an entire extension schema (using 
EnterpriseSchema as an example here), scimple throws a Null Pointer exception
   
   ```
   java.lang.NullPointerException
        at 
org.apache.directory.scim.core.repository.DefaultPatchHandler.apply(DefaultPatchHandler.java:135)
        at 
org.apache.directory.scim.core.repository.DefaultPatchHandler.apply(DefaultPatchHandler.java:118)
        at 
org.apache.directory.scim.core.repository.PatchHandlerTest.applyReplaceEntireEnterpriseExtension(PatchHandlerTest.java:327)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
   ```
   
   This is because it is not treating it as an entire resource replacement but 
an exact path 
   
   
![image](https://github.com/user-attachments/assets/58b134bc-668d-426a-99f8-90e89b7ce31d)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@directory.apache.org
For additional commands, e-mail: dev-h...@directory.apache.org

Reply via email to