Quantcast

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Unassigned
Components: core
Created: 11/Sep/12 8:04 AM
Description:

I just upgraded Jenkins from 1.480 to 1.481, and now I get a stacktrace when I go http://<jenkins> /computer/(master)/api/xml. If I drop back to 1.480, the problem disappears. Actually, the problem occurs with any node name, not just (master).

Status Code: 500
Exception: Failed to write offlineCauseReason
Stacktrace:

java.io.IOException: Failed to write offlineCauseReason
	at org.kohsuke.stapler.export.Property.writeTo(Property.java:119)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:179)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:176)
	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:176)
	at org.kohsuke.stapler.export.Model.writeTo(Model.java:152)
	at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:204)
	at hudson.model.Api.doXml(Api.java:91)
	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.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:288)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:151)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:90)
	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:111)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
	at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
	at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:384)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
	at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:203)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:574)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:659)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:488)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:162)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:45)
	at winstone.ServletConfiguration.execute(ServletConfiguration.java:248)
	at winstone.RequestDispatcher.forward(RequestDispatcher.java:333)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:376)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
	at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
	at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
	at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:63)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
	at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66)
	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
	at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
	at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:50)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
	at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
	at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
	at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
	at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.reflect.InvocationTargetException
	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.kohsuke.stapler.export.MethodProperty.getValue(MethodProperty.java:66)
	at org.kohsuke.stapler.export.Property.writeTo(Property.java:113)
	... 86 more
Caused by: java.lang.NullPointerException
	at hudson.model.Computer.getOfflineCauseReason(Computer.java:252)
	... 92 more
Project: Jenkins
Priority: Major Major
Reporter: mwebber
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org

Same here for /computer/api/xml.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

Sorry about this. Fixed with https://github.com/jenkinsci/jenkins/pull/565. '/computer/(master)/api/xml' output below.

////

when online:

<masterComputer>
<displayName>master</displayName>
<executor/>
<executor/>
<icon>computer.png</icon>
<idle>true</idle>
<jnlpAgent>false</jnlpAgent>
<launchSupported>true</launchSupported>
<loadStatistics/>
<manualLaunchAllowed>true</manualLaunchAllowed>
<monitorData>
<hudson.node_monitors.SwapSpaceMonitor>
<availablePhysicalMemory>266338304</availablePhysicalMemory>
<availableSwapSpace>493879296</availableSwapSpace>
<totalPhysicalMemory>8581545984</totalPhysicalMemory>
<totalSwapSpace>2147483648</totalSwapSpace>
</hudson.node_monitors.SwapSpaceMonitor>
<hudson.node_monitors.ArchitectureMonitor>Mac OS X (x86_64)</hudson.node_monitors.ArchitectureMonitor>
<hudson.node_monitors.ResponseTimeMonitor>
<average>6</average>
</hudson.node_monitors.ResponseTimeMonitor>
<hudson.node_monitors.TemporarySpaceMonitor>
<path>
/private/var/folders/mj/rjhd11f10sx43t4np9xs5fb40000gn/T
</path>
<size>185129209856</size>
</hudson.node_monitors.TemporarySpaceMonitor>
<hudson.node_monitors.DiskSpaceMonitor>
<path>/Users/aje/.jenkins</path>
<size>185129209856</size>
</hudson.node_monitors.DiskSpaceMonitor>
<hudson.node_monitors.ClockMonitor>
<diff>0</diff>
</hudson.node_monitors.ClockMonitor>
</monitorData>
<numExecutors>2</numExecutors>
<offline>false</offline>
<offlineCauseReason/>
<temporarilyOffline>false</temporarilyOffline>
</masterComputer>

when offline:

<masterComputer>
<displayName>master</displayName>
<executor/>
<executor/>
<icon>computer-x.png</icon>
<idle>true</idle>
<jnlpAgent>false</jnlpAgent>
<launchSupported>true</launchSupported>
<loadStatistics/>
<manualLaunchAllowed>true</manualLaunchAllowed>
<monitorData>
<hudson.node_monitors.SwapSpaceMonitor>
<availablePhysicalMemory>409993216</availablePhysicalMemory>
<availableSwapSpace>493879296</availableSwapSpace>
<totalPhysicalMemory>8583643136</totalPhysicalMemory>
<totalSwapSpace>2147483648</totalSwapSpace>
</hudson.node_monitors.SwapSpaceMonitor>
<hudson.node_monitors.ArchitectureMonitor>Mac OS X (x86_64)</hudson.node_monitors.ArchitectureMonitor>
<hudson.node_monitors.ResponseTimeMonitor>
<average>4</average>
</hudson.node_monitors.ResponseTimeMonitor>
<hudson.node_monitors.TemporarySpaceMonitor>
<path>
/private/var/folders/mj/rjhd11f10sx43t4np9xs5fb40000gn/T
</path>
<size>185130684416</size>
</hudson.node_monitors.TemporarySpaceMonitor>
<hudson.node_monitors.DiskSpaceMonitor>
<path>/Users/aje/.jenkins</path>
<size>185130684416</size>
</hudson.node_monitors.DiskSpaceMonitor>
<hudson.node_monitors.ClockMonitor>
<diff>0</diff>
</hudson.node_monitors.ClockMonitor>
</monitorData>
<numExecutors>2</numExecutors>
<offline>true</offline>
<offlineCause/>
<offlineCauseReason>dddd</offlineCauseReason>
<temporarilyOffline>true</temporarilyOffline>
</masterComputer>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org

The fix has been merged.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
mwebber commented on Bug JENKINS-15109

The fix is in Jenkins 1.483 (but not 1.482)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
 
Dan Savilonis edited a comment on Bug JENKINS-15109

n/a

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[JIRA] (JENKINS-15109) Stacktrace introduced in 1.481 when going to http://<jenkins> /computer/(master)/api/xml

JIRA noreply@jenkins-ci.org
In reply to this post by JIRA noreply@jenkins-ci.org
mwebber closed Bug JENKINS-15109 as Fixed
Change By: mwebber (30/Oct/12 10:59 AM)
Status: Open Closed
Resolution: Fixed
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Loading...