[
https://issues.apache.org/jira/browse/USERGRID-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15651420#comment-15651420
]
Michael Russo commented on USERGRID-1202:
-----------------------------------------
[~lynchlee] I just compiled and tested master from a fresh start without any
problems. Can you clear your maven .m2 directory for Usergrid and then do the
following:
1) Build the latest Java SDK, https://github.com/apache/usergrid-java without
the tests ( tests need to be updated because they are not stable ) {code}mvn
clean install -DskipTests{code}
2) Then build usergrid from master branch ( I did this with tests, having
cassandra dn ES up ). Everything passed successfully:
{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Usergrid Parent .................................... SUCCESS [ 3.848 s]
[INFO] Usergrid Build Tools ............................... SUCCESS [ 0.269 s]
[INFO] Usergrid Config .................................... SUCCESS [ 0.109 s]
[INFO] Usergrid Persistence ............................... SUCCESS [ 0.118 s]
[INFO] Usergrid Model ..................................... SUCCESS [ 1.840 s]
[INFO] Usergrid Common .................................... SUCCESS [ 11.359 s]
[INFO] Usergrid ActorSystem ............................... SUCCESS [ 3.543 s]
[INFO] Usergrid Collection ................................ SUCCESS [ 50.404 s]
[INFO] Usergrid Map ....................................... SUCCESS [ 18.019 s]
[INFO] Usergrid Queue ..................................... SUCCESS [ 2.501 s]
[INFO] Usergrid QueryIndex ................................ SUCCESS [ 6.768 s]
[INFO] Usergrid Test Utils ................................ SUCCESS [ 2.451 s]
[INFO] Usergrid Graph ..................................... SUCCESS [02:02 min]
[INFO] Usergrid Cache ..................................... SUCCESS [ 6.827 s]
[INFO] Usergrid Core ...................................... SUCCESS [01:33 min]
[INFO] Usergrid Services .................................. SUCCESS [09:02 min]
[INFO] Usergrid REST ...................................... SUCCESS [11:11 min]
[INFO] Usergrid Tools ..................................... SUCCESS [ 53.119 s]
[INFO] Usergrid Query Validator ........................... SUCCESS [ 24.738 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 26:56 min
[INFO] Finished at: 2016-11-09T08:44:18-08:00
[INFO] Final Memory: 75M/466M
[INFO] ------------------------------------------------------------------------
{code}
> Error returned when calling /revoketoken?token=xxx on non-existent user
> returns 500
> -----------------------------------------------------------------------------------
>
> Key: USERGRID-1202
> URL: https://issues.apache.org/jira/browse/USERGRID-1202
> Project: Usergrid
> Issue Type: Improvement
> Components: Stack
> Affects Versions: 2.2.0
> Reporter: Brandon Shelley
> Fix For: 2.2.0
>
>
> When calling PUT /revoketoken?token=xxxx on a non-existent user, e.g.:
> {code}PUT
> https://api-connectors-prod.apigee.net/appservices/api-connectors/sdksandbox/users/asdf/revoketoken?token=xxxx{code}
> This error is returned:
> {code}500 Internal Server Error
> {
> "error": "uncaught",
> "timestamp": 1452306713472,
> "duration": 0,
> "error_description": "Internal Server Error",
> "exception": "org.apache.usergrid.rest.exceptions.UncaughtException",
> "error_id": "251e782b-b679-11e5-abcb-12aee0c06a45"
> }{code}
> This should throw a 400 and the description should be improved somewhat to
> mirror USERGRID-1201
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)