-
Suggestion
-
Resolution: Fixed
-
None
-
None
The logging of error messages that are received in the REST response from Crowd by the RestCrowdClient doesn't make it clear that the error message is coming from the remote system. This is confusing and is leading to issues in support where it's hard to figure out what exactly is going on in which system.
An example from a recent FishEye support case. The customer opened a support issue with FishEye logs in which it appears that FishEye has run out of heap space:
com.atlassian.crowd.exception.OperationFailedException: Java heap space at com.atlassian.crowd.integration.rest.service.RestCrowdClient.handleCommonExceptions(RestCrowdClient.java:1084) at com.atlassian.crowd.integration.rest.service.RestCrowdClient.getNamesOfNestedUsersOfGroup(RestCrowdClient.java:677) at com.cenqua.fisheye.user.crowd.CrowdAuth$6.call(CrowdAuth.java:405) at com.cenqua.fisheye.user.crowd.CrowdAuth$6.call(CrowdAuth.java:403) at com.cenqua.fisheye.user.crowd.CrowdAuth.withTimer(CrowdAuth.java:92) at com.cenqua.fisheye.user.crowd.CrowdAuth.getUsersInGroup(CrowdAuth.java:403) at com.cenqua.fisheye.user.DefaultUserManager$16.write(DefaultUserManager.java:1057) at com.cenqua.fisheye.user.DefaultUserManager$16.write(DefaultUserManager.java:1050) at com.cenqua.fisheye.config.DB0Handle$2.write(DB0Handle.java:122) at com.cenqua.fisheye.config.DB0Handle.write(DB0Handle.java:96) at com.cenqua.fisheye.config.DB0Handle.write(DB0Handle.java:120) at com.cenqua.fisheye.user.DefaultUserManager.getUsersInGroup(DefaultUserManager.java:1050) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) at $Proxy25.getUsersInGroup(Unknown Source)
While it is actually Crowd that has run out of heap space and is letting FishEye know what is wrong. A lot of confusion could have been avoided if the log had simply said: Error message from Crowd: Java heap space
- mentioned in
-
Wiki Page Failed to load
[CWD-2675] Improve logging of remote exceptions in RestCrowdClient
Workflow | Original: JAC Suggestion Workflow [ 3388540 ] | New: JAC Suggestion Workflow 3 [ 3630620 ] |
Status | Original: RESOLVED [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: Simplified Crowd Development Workflow v2 [ 1391608 ] | New: JAC Suggestion Workflow [ 3388540 ] |
Issue Type | Original: Improvement [ 4 ] | New: Suggestion [ 10000 ] |
Workflow | Original: Crowd Development Workflow v2 [ 346318 ] | New: Simplified Crowd Development Workflow v2 [ 1391608 ] |
Link | New: This issue is related to FECRU-3181 [ FECRU-3181 ] |
Link | New: This issue is related to FECRU-3096 [ FECRU-3096 ] |
Remote Link | New: This issue links to "Wiki Page (Extranet)" [ 38055 ] |
Fix Version/s | New: 2.6.1 [ 30697 ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Technical Review [ 10028 ] | New: Resolved [ 5 ] |
Status | Original: In Progress [ 3 ] | New: Technical Review [ 10028 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | New: joe [ jwalton ] |