Skip to content

Instantly share code, notes, and snippets.

@fhanik
Created May 23, 2014 03:10
Show Gist options
  • Save fhanik/9a804ef79bf62123300a to your computer and use it in GitHub Desktop.
Save fhanik/9a804ef79bf62123300a to your computer and use it in GitHub Desktop.
Error that randomly happens
Running org.cloudfoundry.identity.uaa.scim.endpoints.ScimUserEndpointsMockMvcTests
MockHttpServletRequest:
HTTP Method = POST
Request URI = /oauth/token
Parameters = {grant_type=[client_credentials], client_id=[admin], scope=[clients.read clients.write clients.secret]}
Headers = {Authorization=[Basic YWRtaW46YWRtaW5zZWNyZXQ=]}
Handler:
Type = null
Async:
Was async started = false
Async result = null
Resolved Exception:
Type = null
ModelAndView:
View name = null
View = null
Model = null
FlashMap:
Attributes = null
MockHttpServletResponse:
Status = 401
Error message = null
Headers = {Cache-Control=[no-store], Pragma=[no-cache], WWW-Authenticate=[Basic realm="UAA/client", error="unauthorized", error_description="PreparedStatementCallback; bad SQL grammar [select client_id, client_secret, resource_ids, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information from oauth_client_details where client_id = ?]; nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: OAUTH_CLIENT_DETAILS"], Content-Type=[application/json;charset=UTF-8]}
Content type = application/json;charset=UTF-8
Body = {"error":"unauthorized","error_description":"PreparedStatementCallback; bad SQL grammar [select client_id, client_secret, resource_ids, scope, authorized_grant_types, web_server_redirect_uri, authorities, access_token_validity, refresh_token_validity, additional_information from oauth_client_details where client_id = ?]; nested exception is java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: OAUTH_CLIENT_DETAILS"}
Forwarded URL = null
Redirected URL = null
Cookies = []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment