Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-23409

Crashing api at depth > 0

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Calling any Jenkins API with depth > 0 crashes

      eg: curl "http://jenkins.lan/job/ozl.master.gerrit/16275/api/json?depth=1"

          
          <!DOCTYPE html><html><head>
          
      
          <title>Jenkins [Jenkins]</title><link rel="stylesheet" type="text/css" href="/static/e8a890e0/css/style.css" /><link rel="stylesheet" type="text/css" href="/static/e8a890e0/css/color.css" /><link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/static/e8a890e0/favicon.ico" /><script>var isRunAsTest=false; var rootURL=""; var resURL="/static/e8a890e0";</script><script src="/static/e8a890e0/scripts/prototype.js" type="text/javascript"></script><script src="/static/e8a890e0/scripts/behavior.js" type="text/javascript"></script><script src='/adjuncts/e8a890e0/org/kohsuke/stapler/bind.js' type='text/javascript'></script><script src="/static/e8a890e0/scripts/yui/yahoo/yahoo-min.js"></script><script src="/static/e8a890e0/scripts/yui/dom/dom-min.js"></script><script src="/static/e8a890e0/scripts/yui/event/event-min.js"></script><script src="/static/e8a890e0/scripts/yui/animation/animation-min.js"></script><script src="/static/e8a890e0/scripts/yui/dragdrop/dragdrop-min.js"></script><script src="/static/e8a890e0/scripts/yui/container/container-min.js"></script><script src="/static/e8a890e0/scripts/yui/connection/connection-min.js"></script><script src="/static/e8a890e0/scripts/yui/datasource/datasource-min.js"></script><script src="/static/e8a890e0/scripts/yui/autocomplete/autocomplete-min.js"></script><script src="/static/e8a890e0/scripts/yui/menu/menu-min.js"></script><script src="/static/e8a890e0/scripts/yui/element/element-min.js"></script><script src="/static/e8a890e0/scripts/yui/button/button-min.js"></script><script src="/static/e8a890e0/scripts/yui/storage/storage-min.js"></script><script src="/static/e8a890e0/scripts/hudson-behavior.js" type="text/javascript"></script><script src="/static/e8a890e0/scripts/sortable.js" type="text/javascript"></script><script>crumb.init("", "");</script><link rel="stylesheet" type="text/css" href="/static/e8a890e0/scripts/yui/container/assets/container.css" /><link rel="stylesheet" type="text/css" href="/static/e8a890e0/scripts/yui/assets/skins/sam/skin.css" /><link rel="stylesheet" type="text/css" href="/static/e8a890e0/scripts/yui/container/assets/skins/sam/container.css" /><link rel="stylesheet" type="text/css" href="/static/e8a890e0/scripts/yui/button/assets/skins/sam/button.css" /><link rel="stylesheet" type="text/css" href="/static/e8a890e0/scripts/yui/menu/assets/skins/sam/menu.css" /><link title="Jenkins" rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" /><meta name="ROBOTS" content="INDEX,NOFOLLOW" /><script src="/static/e8a890e0/scripts/yui/cookie/cookie-min.js"></script></head><body id="jenkins" data-version="jenkins-1.567" class="yui-skin-sam jenkins-1.567"><a href="#skip2content" class="skiplink">Skip to content</a><table id="header" cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td id="top-panel" colspan="2"><table cellpadding="0" cellspacing="0" width="100%" border="0"><tr><td style="font-weight:bold; font-size: 2em;"><a id="jenkins-home-link" href="/"><img id="jenkins-home-icon" height="34" alt="title" width="139" src="/static/e8a890e0/images/title.png" /></a></td><td style="vertical-align: middle; text-align: right; padding-right: 1em;"><form style="position:relative;" name="search" action="/search/" class="no-json" method="get"><div id="search-box-minWidth"></div><div id="search-box-sizer"></div><div id="searchform"><input id="search-box" placeholder="search" name="q" class="has-default-text" /> <a href="http://wiki.jenkins-ci.org/display/JENKINS/Search+Box"><img height="16" alt="help for search" width="16" src="/static/e8a890e0/images/16x16/help.png" /></a><div id="search-box-completion"></div><script>createSearchBox("/search/");</script></div></form></td><td id="login-field"><span> <a style="color:inherit" href="/login?from=%2Foops"><b>log in</b></a>
          |
          <a href="/signup"><b>sign up</b></a></span></td></tr></table></td></tr><tr id="top-nav"><td id="left-top-nav" colspan="2"><link rel='stylesheet' href='/adjuncts/e8a890e0/lib/layout/breadcrumbs.css' type='text/css' /><script src='/adjuncts/e8a890e0/lib/layout/breadcrumbs.js' type='text/javascript'></script><div class="top-sticker noedge"><div class="top-sticker-inner"><div id="right-top-nav"></div><ul id="breadcrumbs"><li class="item"><a class="model-link inside" href="/">Jenkins</a></li><li class="children" href="/"></li></ul><div id="breadcrumb-menu-target"></div></div></div></td></tr></table><table id="main-table" height="70%" style="background-image: url(/static/e8a890e0/images/jenkins.png);                background-repeat: no-repeat; background-position: bottom left;" width="100%" border="0"><tr><td id="side-panel" width="20%"><div id="navigation" style="min-height: 323px; height: auto !important; height: 323px;"><div class="task">
                
      
                <a class="task-icon-link" href="http://jenkins-ci.org/"><img height="24" style="margin: 2px;" alt="" width="24" class="task-icon" src="/static/e8a890e0/images/24x24/next.png" /></a> <a class="task-link" href="http://jenkins-ci.org/">Jenkins project</a></div><div class="task">
                
      
                <a class="task-icon-link" href="http://issues.jenkins-ci.org/"><img height="24" style="margin: 2px;" alt="" width="24" class="task-icon" src="/static/e8a890e0/images/24x24/gear2.png" /></a> <a class="task-link" href="http://issues.jenkins-ci.org/">Bug tracker</a></div><div class="task">
                
      
                <a class="task-icon-link" href="http://jenkins-ci.org/content/mailing-lists"><img height="24" style="margin: 2px;" alt="" width="24" class="task-icon" src="/static/e8a890e0/images/24x24/search.png" /></a> <a class="task-link" href="http://jenkins-ci.org/content/mailing-lists">Mailing Lists</a></div><div class="task">
                
      
                <a class="task-icon-link" href="https://twitter.com/jenkinsci"><img height="24" style="margin: 2px;" alt="" width="24" class="task-icon" src="/static/e8a890e0/images/24x24/user.png" /></a> <a class="task-link" href="https://twitter.com/jenkinsci">Twitter: @jenkinsci</a></div></div></td><td id="main-panel" width="80%" height="100%"><a name="skip2content"></a><h1 style="text-align: center"><img height="179" width="154" src="/static/e8a890e0/images/rage.png" /><span style="font-size:50px"> Oops!</span></h1><div id="error-description"><p>A problem occurred while processing the request.
              Please check <a href="https://issues.jenkins-ci.org/">our bug tracker</a> to see if a similar problem has already been reported.
              If it is already reported, please vote and put a comment on it to let us gauge the impact of the problem.
              If you think this is a new issue, please file a new issue.
              When you file an issue, make sure to add the entire stack trace, along with the version of Jenkins and relevant plugins.
              <a href="http://jenkins-ci.org/content/mailing-lists">The users list</a> might be also useful in understanding what has happened.</p><h2>Stack trace</h2><pre style="margin:2em; clear:both">org.kohsuke.stapler.export.NotExportableException: class com.sonyericsson.jenkins.plugins.bfa.model.FailureCauseDisplayData doesn't have @ExportedBean
      	at org.kohsuke.stapler.export.Model.&lt;init>(Model.java:71)
      	at org.kohsuke.stapler.export.ModelBuilder.get(ModelBuilder.java:45)
      	at org.kohsuke.stapler.export.Property.writeValue(Property.java:225)
      	at org.kohsuke.stapler.export.Property.writeValue(Property.java:137)
      	at org.kohsuke.stapler.export.Property.writeTo(Property.java:114)
      	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:187)
      	at org.kohsuke.stapler.export.Property.writeValue(Property.java:232)
      	at org.kohsuke.stapler.export.Property.writeValue(Property.java:182)
      	at org.kohsuke.stapler.export.Property.writeValue(Property.java:137)
      	at org.kohsuke.stapler.export.Property.writeTo(Property.java:114)
      	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:187)
      	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
      	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
      	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
      	at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:182)
      	at org.kohsuke.stapler.export.Model.writeTo(Model.java:154)
      	at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:267)
      	at hudson.model.Api.doJson(Api.java:204)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      	at java.lang.reflect.Method.invoke(Unknown Source)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$12.dispatch(MetaClass.java:390)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:248)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1494)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
      	at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:58)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      	at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
      	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
      	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	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 jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
      	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:135)
      	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:174)
      	at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87)
      	at jenkins.security.ApiTokenFilter.doFilter(ApiTokenFilter.java:74)
      	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:67)
      	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 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1482)
      	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1474)
      	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:499)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:533)
      	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
      	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
      	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428)
      	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
      	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
      	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      	at org.eclipse.jetty.server.Server.handle(Server.java:370)
      	at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)
      	at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949)
      	at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011)
      	at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      	at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      	at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      	at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      	at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      	at java.lang.Thread.run(Unknown Source)
      </pre></div></td></tr></table><table width="100%"><tr><td id="footer"><span style="padding-right:2em; color:gray">
                Page generated:
                Jun 12, 2014 10:50:51 AM</span><span style="padding-right:2em"><a href="api/">REST API</a></span><a href="http://jenkins-ci.org/">Jenkins ver. 1.567</a></td></tr></table><div id="l10n-dialog" class="dialog"></div><div id="l10n-footer" style="display:none; float:left"><a href="#" onclick="return showTranslationDialog();"><img src="/static/e8a890e0/plugin/translation/flags.png" />
            Help us localize this page
          </a></div><script>var footer = document.getElementById('l10n-footer');
          var f = document.getElementById('footer');
          f.insertBefore(footer,f.firstChild);
          footer.style.display="block";
      
          var translation={}; 
          translation.bundles = "QHOYolxdi7EfvzhoGukf6sCVkw1s68pUiHOb1teoRpH6944GV0U3RuWmvsYQy2Y7I/+JALZ4mK94WHZ416DDASmvLEf6sVl4AFxVouKqTOB5ol4B7YAY8BfgQEtlm3CgHTIsXKPvhRvC6pHKBaHYSaZehfdZxLoY3P8KY9+MQXox0PGPGI1SEbO0sGF94ig6aqMwLGFKW++HosVYpvHICMJ5aifx0Td69aa8hZOUsveRNViHpHzxJ9iBypwUDQBDv5aXyhBH/SxWuY8FPAgaSheZ0Ib/UbG7AxyTzu+YJE8ioEoI7Q1fABxIcnfEeYGoNxCZTeuSlkVO5ozsPVtGEff79At/OY8GvpS1ARjukdHguj2dHOuGdCiF6AAGM2Qu51az7UJhEW88aFPHYM5CQg64r4rYru22IZgCZgtD9BDmOY8W53YerfrwfHolzF11oCuvjFj8myerxfV7txX9zAauXoz/Bu/QFHn0EFMEmoKKJkwJfO5ZH+1c67j9y2d4";
          translation.detectedLocale = "";
      
          function showTranslationDialog() {
            if(!translation.launchDialog)
              loadScript("/static/e8a890e0/plugin/translation/dialog.js");
            else
              translation.launchDialog();
            return false; 
          }</script></body></html>
      

        Attachments

          Issue Links

            Activity

            Hide
            iwonbigbro Craig Phillips added a comment -

            I am seeing this as well. I have had to work around the issue by scraping the HTML from the consoleFull output and picking out the anchors and spans associated with failures.

            Show
            iwonbigbro Craig Phillips added a comment - I am seeing this as well. I have had to work around the issue by scraping the HTML from the consoleFull output and picking out the anchors and spans associated with failures.
            Hide
            dspartz Daryl Spartz added a comment -

            Similar or same issue:
            http://<host>/jenkins/computer/api/json works
            http://<host>/jenkins/computer/api/json?depth=1 fails with:

            Stack trace

            javax.servlet.ServletException: org.kohsuke.stapler.export.NotExportableException: class java.io.IOException doesn't have @ExportedBean so cannot write hudson.slaves.OfflineCause$ChannelTermination.cause
            at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:778)
            at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
            at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210)
            at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
            at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
            at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
            at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210)
            at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
            at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
            at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858)
            at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631)
            at org.kohsuke.stapler.Stapler.service(Stapler.java:225)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
            at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:751)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1666)
            at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96)
            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:99)
            at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66)
            at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99)
            at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653)
            at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:91)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653)
            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 jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117)
            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 hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:114)
            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 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653)
            at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653)
            at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.servlet.filter.BouncerFilter.doFilter(BouncerFilter.java:251)
            at yjava.servlet.filter.BouncerFilter.doFilter(BouncerFilter.java:117)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1645)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.servlet.filter.SSLCrimeFilter.doFilter(SSLCrimeFilter.java:82)
            at yjava.servlet.filter.SSLCrimeFilter.doFilter(SSLCrimeFilter.java:47)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.servlet.filter.YHdrsFilter.doFilter(YHdrsFilter.java:69)
            at yjava.servlet.filter.YHdrsFilter.doFilter(YHdrsFilter.java:53)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.cookie.CookieDataFilter.doFilter(CookieDataFilter.java:447)
            at yjava.cookie.CookieDataFilter.doFilter(CookieDataFilter.java:219)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.servlet.filter.DoNotTrackFilter.doFilter(DoNotTrackFilter.java:110)
            at yjava.servlet.filter.DoNotTrackFilter.doFilter(DoNotTrackFilter.java:50)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.remote.ip.RemoteIPFilter.doFilter(RemoteIPFilter.java:104)
            at yjava.remote.ip.RemoteIPFilter.doFilter(RemoteIPFilter.java:65)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.security.yiv.servlet.InputValidationFilter.doFilter(InputValidationFilter.java:244)
            at yjava.security.yiv.servlet.InputValidationFilter.doFilter(InputValidationFilter.java:151)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49)
            at yjava.servlet.filter.StatsFilter.doFilter(StatsFilter.java:90)
            at yjava.servlet.filter.StatsFilter.doFilter(StatsFilter.java:65)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83)
            at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:351)
            at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636)
            at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:564)
            at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
            at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:554)
            at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
            at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111)
            at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:498)
            at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
            at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045)
            at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
            at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199)
            at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
            at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)
            at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159)
            at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)
            at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:309)
            at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)
            at org.eclipse.jetty.server.Server.handle(Server.java:461)
            at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:284)
            at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
            at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
            at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
            at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
            at java.lang.Thread.run(Thread.java:745)
            Caused by: org.kohsuke.stapler.export.NotExportableException: class java.io.IOException doesn't have @ExportedBean so cannot write hudson.slaves.OfflineCause$ChannelTermination.cause
            at org.kohsuke.stapler.export.Model.<init>(Model.java:73)
            at org.kohsuke.stapler.export.ModelBuilder.get(ModelBuilder.java:51)
            at org.kohsuke.stapler.export.Property.writeValue(Property.java:231)
            at org.kohsuke.stapler.export.Property.writeValue(Property.java:139)
            at org.kohsuke.stapler.export.Property.writeTo(Property.java:116)
            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:190)
            at org.kohsuke.stapler.export.Property.writeValue(Property.java:241)
            at org.kohsuke.stapler.export.Property.writeValue(Property.java:139)
            at org.kohsuke.stapler.export.Property.writeTo(Property.java:116)
            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:190)
            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:185)
            at org.kohsuke.stapler.export.Property.writeValue(Property.java:241)
            at org.kohsuke.stapler.export.Property.writeValue(Property.java:172)
            at org.kohsuke.stapler.export.Property.writeValue(Property.java:139)
            at org.kohsuke.stapler.export.Property.writeTo(Property.java:116)
            at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:190)
            at org.kohsuke.stapler.export.Model.writeTo(Model.java:157)
            at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:267)
            at hudson.model.Api.doJson(Api.java:205)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298)
            at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161)
            at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96)
            at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120)
            at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
            at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728)
            ... 100 more

            Show
            dspartz Daryl Spartz added a comment - Similar or same issue: http://<host>/jenkins/computer/api/json works http://<host>/jenkins/computer/api/json?depth=1 fails with: Stack trace javax.servlet.ServletException: org.kohsuke.stapler.export.NotExportableException: class java.io.IOException doesn't have @ExportedBean so cannot write hudson.slaves.OfflineCause$ChannelTermination.cause at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:778) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:210) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:858) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:631) at org.kohsuke.stapler.Stapler.service(Stapler.java:225) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:751) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1666) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:96) 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:99) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:66) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:99) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:88) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:91) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653) 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 jenkins.security.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:117) 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 hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:114) 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 org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653) at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1653) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.servlet.filter.BouncerFilter.doFilter(BouncerFilter.java:251) at yjava.servlet.filter.BouncerFilter.doFilter(BouncerFilter.java:117) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1645) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.servlet.filter.SSLCrimeFilter.doFilter(SSLCrimeFilter.java:82) at yjava.servlet.filter.SSLCrimeFilter.doFilter(SSLCrimeFilter.java:47) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.servlet.filter.YHdrsFilter.doFilter(YHdrsFilter.java:69) at yjava.servlet.filter.YHdrsFilter.doFilter(YHdrsFilter.java:53) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.cookie.CookieDataFilter.doFilter(CookieDataFilter.java:447) at yjava.cookie.CookieDataFilter.doFilter(CookieDataFilter.java:219) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.servlet.filter.DoNotTrackFilter.doFilter(DoNotTrackFilter.java:110) at yjava.servlet.filter.DoNotTrackFilter.doFilter(DoNotTrackFilter.java:50) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.remote.ip.RemoteIPFilter.doFilter(RemoteIPFilter.java:104) at yjava.remote.ip.RemoteIPFilter.doFilter(RemoteIPFilter.java:65) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.security.yiv.servlet.InputValidationFilter.doFilter(InputValidationFilter.java:244) at yjava.security.yiv.servlet.InputValidationFilter.doFilter(InputValidationFilter.java:151) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at yjava.servlet.FilterChainInvoker$ServletFilterChainInvoker.invoke(FilterChainInvoker.java:49) at yjava.servlet.filter.StatsFilter.doFilter(StatsFilter.java:90) at yjava.servlet.filter.StatsFilter.doFilter(StatsFilter.java:65) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:351) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1636) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:564) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:554) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1111) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:498) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1045) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:199) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98) at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:159) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98) at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:309) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98) at org.eclipse.jetty.server.Server.handle(Server.java:461) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:284) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536) at java.lang.Thread.run(Thread.java:745) Caused by: org.kohsuke.stapler.export.NotExportableException: class java.io.IOException doesn't have @ExportedBean so cannot write hudson.slaves.OfflineCause$ChannelTermination.cause at org.kohsuke.stapler.export.Model.<init>(Model.java:73) at org.kohsuke.stapler.export.ModelBuilder.get(ModelBuilder.java:51) at org.kohsuke.stapler.export.Property.writeValue(Property.java:231) at org.kohsuke.stapler.export.Property.writeValue(Property.java:139) at org.kohsuke.stapler.export.Property.writeTo(Property.java:116) at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:190) at org.kohsuke.stapler.export.Property.writeValue(Property.java:241) at org.kohsuke.stapler.export.Property.writeValue(Property.java:139) at org.kohsuke.stapler.export.Property.writeTo(Property.java:116) at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:190) at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:185) at org.kohsuke.stapler.export.Property.writeValue(Property.java:241) at org.kohsuke.stapler.export.Property.writeValue(Property.java:172) at org.kohsuke.stapler.export.Property.writeValue(Property.java:139) at org.kohsuke.stapler.export.Property.writeTo(Property.java:116) at org.kohsuke.stapler.export.Model.writeNestedObjectTo(Model.java:190) at org.kohsuke.stapler.export.Model.writeTo(Model.java:157) at org.kohsuke.stapler.ResponseImpl.serveExposedBean(ResponseImpl.java:267) at hudson.model.Api.doJson(Api.java:205) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:298) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:161) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:96) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:120) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:728) ... 100 more
            Hide
            dspartz Daryl Spartz added a comment -

            Sorry, versions where it fails:

            Jenkins ver. 1.576
            Jenkins ver. 1.577

            The URL works on Jenkins ver. 1.554.x

            Show
            dspartz Daryl Spartz added a comment - Sorry, versions where it fails: Jenkins ver. 1.576 Jenkins ver. 1.577 The URL works on Jenkins ver. 1.554.x
            Hide
            milki milki mlk added a comment - - edited

            We use http://netmelody.org/ci-eye/ and with Jenkins 1.576 and 1.577, all calls from it are failing with the same error:

            Caused by: org.kohsuke.stapler.export.NotExportableException: class java.io.IOException doesn't have @ExportedBean so cannot write hudson.slaves.OfflineCause$ChannelTermination.cause

            Our logs are filling up because the errors are generating 0.5MB/sec.

            Show
            milki milki mlk added a comment - - edited We use http://netmelody.org/ci-eye/ and with Jenkins 1.576 and 1.577, all calls from it are failing with the same error: Caused by: org.kohsuke.stapler.export.NotExportableException: class java.io.IOException doesn't have @ExportedBean so cannot write hudson.slaves.OfflineCause$ChannelTermination.cause Our logs are filling up because the errors are generating 0.5MB/sec.
            Hide
            danielbeck Daniel Beck added a comment -
            Show
            danielbeck Daniel Beck added a comment - Daryl Spartz : That's JENKINS-24452 . milki mlk : See JENKINS-24452 and JENKINS-24458 .
            Hide
            t_westling Tomas Westling added a comment -

            Fixed in 1.10.2

            Show
            t_westling Tomas Westling added a comment - Fixed in 1.10.2
            Hide
            t_westling Tomas Westling added a comment -

            Fixed in 1.10.2

            Show
            t_westling Tomas Westling added a comment - Fixed in 1.10.2

              People

              • Assignee:
                t_westling Tomas Westling
                Reporter:
                freman Shannon Wynter
              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: