-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCIM with certain values causes 500 Server Error #372
Comments
@fbenke Please put complete request details (POSTing for an existing record?), JSON payload, and Gluu version. Could not work it out with incomplete details. Thanks. |
@uboznikov Server stacktrace
|
@uboznikov POST to https://idp.gluu.org/identity/seam/resource/restv1/scim/v2/Users/ Body
Header: Content-Type: application/json Observed on dev idp: Looks like the cause is the |
@fbenke Missing is:
User payload will not be deserialized without this as this is mandatory by the spec. Same issue with this one: SCIM User Creation. |
@uboznikov Not solved. As mentioned before, the determining factor is the chosen
|
Could you check if there is already an existing userName? |
@uboznikov Confirmed. This is because the username existed already. I'd recommend to dedicate a proper error code and message in these cases. Looks like my data input provoked an unhandled exception and 500 error. |
Looks like this happens when posting to
https://idp.gluu.org/identity/seam/resource/restv1/scim/v2/Users/
using email, first name and last name of an already existing idp record.Last observed on dev id on 11/22/2016.
Error writing to idp: 500 <html><head><title>Apache Tomcat/7.0.65 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.gluu.oxtrust.model.scim2.ErrorResponse["scimType"])</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>org.codehaus.jackson.map.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: org.gluu.oxtrust.model.scim2.ErrorResponse["scimType"])</u></p><p><b>description</b> <u>The server encountered an internal error that prevented it from fulfilling this request.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.65</h3></body></html>
The text was updated successfully, but these errors were encountered: