-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
1.0-pre-beta-1, 1.0-beta-1
UPDATE: this seems to be happening from time to time, on Bens instance. It may not be related to auth. There is always a pattern of some JSON returned in the response, and then truncated, and then a HTML stacktrace.
Uncovered by bwalding:
Request: 500 error accessing /blue/organizations/jenkins/<job>build/activity
Page: /blue/rest/organizations/jenkins/pipelines/<job>/build/runs/
Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.kohsuke.stapler.export.MethodProperty.getValue(MethodProperty.java:66) at org.kohsuke.stapler.export.Property.safeGetValue(Property.java:145) ... 111 more Caused by: java.lang.NullPointerException at com.sonyericsson.rebuild.RebuildAction.isRebuildDisbaled(RebuildAction.java:370) at com.sonyericsson.rebuild.RebuildAction.isRebuildAvailable(RebuildAction.java:360) at com.sonyericsson.rebuild.RebuildAction.getUrlName(RebuildAction.java:186) at io.jenkins.blueocean.service.embedded.rest.ActionProxiesImpl.getUrlName(ActionProxiesImpl.java:33) at io.jenkins.blueocean.service.embedded.rest.ActionProxiesImpl.getLink(ActionProxiesImpl.java:43) at io.jenkins.blueocean.rest.hal.Links.getOrCreateSelfRef(Links.java:123) at io.jenkins.blueocean.rest.hal.Links.<init>(Links.java:52) at io.jenkins.blueocean.rest.model.Resource.getLinks(Resource.java:38) ... 116 more
The original trace came from an internal instance - bwalding can supply more information and request info on the instance if required
This points to this line: https://github.com/jenkinsci/rebuild-plugin/blob/master/src/main/java/com/sonyericsson/rebuild/RebuildAction.java#L152 possibly
Currently he is using google auth for identity, and it seems to happen after 30 minutes.
Reloading the page causes things to work again just fine.
On theory is that session is not re-established cleanly and the null is the api is trying to access things in an unauthenticated state.
Investigation required.
- is blocking
-
JENKINS-37267 Logged in dashboard listing takes > 30 seconds and absurdly large amounts of data returned
- Closed
- is duplicated by
-
JENKINS-37534 java.io.IOException: Failed to write _links
- Closed
- relates to
-
JENKINS-36941 Restarting server (or letting session timeout) will cause hidden auth failures rather than trigger reauth
- Closed