Upgrading from build 68 to 70 did not work. It crashes and provides the following:
Instead of an expected response I received the following, which usually means an internal Jenkins error:
{
"cause": null,
"localizedMessage": "hudson.model.FreeStyleProject cannot be cast to java.lang.Comparable",
"message": "hudson.model.FreeStyleProject cannot be cast to java.lang.Comparable",
"stackTrace": "[{"className": "java.util.ComparableTimSort", "fileName": "ComparableTimSort.java", "lineNumber": 290, "methodName": "countRunAndMakeAscending", "nativeMethod": false}, {"className": "java.util.ComparableTimSort", "fileName": "ComparableTimSort.java", "lineNumber": 157, "methodName": "sort", "nativeMethod": false}, {"className": "java.util.Arrays", "fileName": "Arrays.java", "lineNumber": 537, "methodName": "sort", "nativeMethod": false}, {"className": "java.util.TimSort", "fileName": "TimSort.java", "lineNumber": 178, "methodName": "sort", "nativeMethod": false}, {"className": "java.util.TimSort", "fileName": "TimSort.java", "lineNumber": 173, "methodName": "sort", "nativeMethod": false}, {"className": "java.util.Arrays", "fileName": "Arrays.java", "lineNumber": 659, "methodName": "sort", "nativeMethod": false}, {"className": "java.util.Collections", "fileName": "Collections.java", "lineNumber": 217, "methodName": "sort", "nativeMethod": false}, {"className": "com.smartcodeltd.jenkinsci.plugins.buildmonitor.BuildMonitorView", "fileName": "BuildMonitorView.java", "lineNumber": 150, "methodName": "jobViews", "nativeMethod": false}, {"className": "com.smartcodeltd.jenkinsci.plugins.buildmonitor.BuildMonitorView", "fileName": "BuildMonitorView.java", "lineNumber": 132, "methodName": "fetchJobViews", "nativeMethod": false}, {"className": "sun.reflect.NativeMethodAccessorImpl", "fileName": "NativeMethodAccessorImpl.java", "lineNumber": -2, "methodName": "invoke0", "nativeMethod": true}, {"className": "sun.reflect.NativeMethodAccessorImpl", "fileName": "NativeMethodAccessorImpl.java", "lineNumber": 57, "methodName": "invoke", "nativeMethod": false}, {"className": "sun.reflect.DelegatingMethodAccessorImpl", "fileName": "DelegatingMethodAccessorImpl.java", "lineNumber": 43, "methodName": "invoke", "nativeMethod": false}, {"className": "java.lang.reflect.Method", "fileName": "Method.java", "lineNumber": 606, "methodName": "invoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Function$InstanceFunction", "fileName": "Function.java", "lineNumber": 298, "methodName": "invoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Function", "fileName": "Function.java", "lineNumber": 161, "methodName": "bindAndInvoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Function", "fileName": "Function.java", "lineNumber": 96, "methodName": "bindAndInvokeAndServeResponse", "nativeMethod": false}, {"className": "org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher", "fileName": "MetaClass.java", "lineNumber": 465, "methodName": "doDispatch", "nativeMethod": false}, {"className": "org.kohsuke.stapler.NameBasedDispatcher", "fileName": "NameBasedDispatcher.java", "lineNumber": 53, "methodName": "dispatch", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 728, "methodName": "tryInvoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 858, "methodName": "invoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.MetaClass$12", "fileName": "MetaClass.java", "lineNumber": 390, "methodName": "dispatch", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 728, "methodName": "tryInvoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 858, "methodName": "invoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 795, "methodName": "tryInvoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 858, "methodName": "invoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 631, "methodName": "invoke", "nativeMethod": false}, {"className": "org.kohsuke.stapler.Stapler", "fileName": "Stapler.java", "lineNumber": 186, "methodName": "service", "nativeMethod": false}, {"className": "javax.servlet.http.HttpServlet", "fileName": "HttpServlet.java", "lineNumber": 848, "methodName": "service", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHolder", "fileName": "ServletHolder.java", "lineNumber": 686, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler$CachedChain", "fileName": "ServletHandler.java", "lineNumber": 1494, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.util.PluginServletFilter$1", "fileName": "PluginServletFilter.java", "lineNumber": 96, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.plugins.greenballs.GreenBallFilter", "fileName": "GreenBallFilter.java", "lineNumber": 58, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.util.PluginServletFilter$1", "fileName": "PluginServletFilter.java", "lineNumber": 99, "methodName": "doFilter", "nativeMethod": false}, {"className": "net.bull.javamelody.MonitoringFilter", "fileName": "MonitoringFilter.java", "lineNumber": 203, "methodName": "doFilter", "nativeMethod": false}, {"className": "net.bull.javamelody.MonitoringFilter", "fileName": "MonitoringFilter.java", "lineNumber": 181, "methodName": "doFilter", "nativeMethod": false}, {"className": "net.bull.javamelody.PluginMonitoringFilter", "fileName": "PluginMonitoringFilter.java", "lineNumber": 86, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter", "fileName": "HudsonMonitoringFilter.java", "lineNumber": 90, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.util.PluginServletFilter$1", "fileName": "PluginServletFilter.java", "lineNumber": 99, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.util.PluginServletFilter", "fileName": "PluginServletFilter.java", "lineNumber": 88, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler$CachedChain", "fileName": "ServletHandler.java", "lineNumber": 1482, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.csrf.CrumbFilter", "fileName": "CrumbFilter.java", "lineNumber": 48, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler$CachedChain", "fileName": "ServletHandler.java", "lineNumber": 1482, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 84, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.UnwrapSecurityExceptionFilter", "fileName": "UnwrapSecurityExceptionFilter.java", "lineNumber": 51, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "jenkins.security.ExceptionTranslationFilter", "fileName": "ExceptionTranslationFilter.java", "lineNumber": 117, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.acegisecurity.providers.anonymous.AnonymousProcessingFilter", "fileName": "AnonymousProcessingFilter.java", "lineNumber": 125, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.acegisecurity.ui.rememberme.RememberMeProcessingFilter", "fileName": "RememberMeProcessingFilter.java", "lineNumber": 142, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.acegisecurity.ui.AbstractProcessingFilter", "fileName": "AbstractProcessingFilter.java", "lineNumber": 271, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.acegisecurity.ui.basicauth.BasicProcessingFilter", "fileName": "BasicProcessingFilter.java", "lineNumber": 174, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "jenkins.security.ApiTokenFilter", "fileName": "ApiTokenFilter.java", "lineNumber": 64, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.acegisecurity.context.HttpSessionContextIntegrationFilter", "fileName": "HttpSessionContextIntegrationFilter.java", "lineNumber": 249, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.HttpSessionContextIntegrationFilter2", "fileName": "HttpSessionContextIntegrationFilter2.java", "lineNumber": 67, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter$1", "fileName": "ChainedServletFilter.java", "lineNumber": 87, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.ChainedServletFilter", "fileName": "ChainedServletFilter.java", "lineNumber": 76, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.security.HudsonFilter", "fileName": "HudsonFilter.java", "lineNumber": 164, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler$CachedChain", "fileName": "ServletHandler.java", "lineNumber": 1482, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.kohsuke.stapler.compression.CompressionFilter", "fileName": "CompressionFilter.java", "lineNumber": 46, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler$CachedChain", "fileName": "ServletHandler.java", "lineNumber": 1482, "methodName": "doFilter", "nativeMethod": false}, {"className": "hudson.util.CharacterEncodingFilter", "fileName": "CharacterEncodingFilter.java", "lineNumber": 81, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler$CachedChain", "fileName": "ServletHandler.java", "lineNumber": 1474, "methodName": "doFilter", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler", "fileName": "ServletHandler.java", "lineNumber": 499, "methodName": "doHandle", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.handler.ScopedHandler", "fileName": "ScopedHandler.java", "lineNumber": 137, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.security.SecurityHandler", "fileName": "SecurityHandler.java", "lineNumber": 533, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.session.SessionHandler", "fileName": "SessionHandler.java", "lineNumber": 231, "methodName": "doHandle", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.handler.ContextHandler", "fileName": "ContextHandler.java", "lineNumber": 1086, "methodName": "doHandle", "nativeMethod": false}, {"className": "org.eclipse.jetty.servlet.ServletHandler", "fileName": "ServletHandler.java", "lineNumber": 428, "methodName": "doScope", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.session.SessionHandler", "fileName": "SessionHandler.java", "lineNumber": 193, "methodName": "doScope", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.handler.ContextHandler", "fileName": "ContextHandler.java", "lineNumber": 1020, "methodName": "doScope", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.handler.ScopedHandler", "fileName": "ScopedHandler.java", "lineNumber": 135, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.handler.HandlerWrapper", "fileName": "HandlerWrapper.java", "lineNumber": 116, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.Server", "fileName": "Server.java", "lineNumber": 370, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.AbstractHttpConnection", "fileName": "AbstractHttpConnection.java", "lineNumber": 489, "methodName": "handleRequest", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.AbstractHttpConnection", "fileName": "AbstractHttpConnection.java", "lineNumber": 960, "methodName": "content", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler", "fileName": "AbstractHttpConnection.java", "lineNumber": 1021, "methodName": "content", "nativeMethod": false}, {"className": "org.eclipse.jetty.http.HttpParser", "fileName": "HttpParser.java", "lineNumber": 865, "methodName": "parseNext", "nativeMethod": false}, {"className": "org.eclipse.jetty.http.HttpParser", "fileName": "HttpParser.java", "lineNumber": 240, "methodName": "parseAvailable", "nativeMethod": false}, {"className": "org.eclipse.jetty.server.AsyncHttpConnection", "fileName": "AsyncHttpConnection.java", "lineNumber": 82, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.io.nio.SelectChannelEndPoint", "fileName": "SelectChannelEndPoint.java", "lineNumber": 668, "methodName": "handle", "nativeMethod": false}, {"className": "org.eclipse.jetty.io.nio.SelectChannelEndPoint$1", "fileName": "SelectChannelEndPoint.java", "lineNumber": 52, "methodName": "run", "nativeMethod": false}, {"className": "winstone.BoundedExecutorService$1", "fileName": "BoundedExecutorService.java", "lineNumber": 77, "methodName": "run", "nativeMethod": false}, {"className": "java.util.concurrent.ThreadPoolExecutor", "fileName": "ThreadPoolExecutor.java", "lineNumber": 1145, "methodName": "runWorker", "nativeMethod": false}, {"className": "java.util.concurrent.ThreadPoolExecutor$Worker", "fileName": "ThreadPoolExecutor.java", "lineNumber": 615, "methodName": "run", "nativeMethod": false}, {"className": "java.lang.Thread", "fileName": "Thread.java", "lineNumber": 744, "methodName": "run", "nativeMethod": false}]",
"suppressed": "[]"
}
This translates to the following stack trace:
at java.util.ComparableTimSort(ComparableTimSort.java:290)
at java.util.ComparableTimSort(ComparableTimSort.java:157)
at java.util.Arrays(Arrays.java:537)
at java.util.TimSort(TimSort.java:178)
at java.util.TimSort(TimSort.java:173)
at java.util.Arrays(Arrays.java:659)
at java.util.Collections(Collections.java:217)
at com.smartcodeltd.jenkinsci.plugins.buildmonitor.BuildMonitorView(BuildMonitorView.java:150)
at com.smartcodeltd.jenkinsci.plugins.buildmonitor.BuildMonitorView(BuildMonitorView.java:132)
at sun.reflect.NativeMethodAccessorImpl(NativeMethodAccessorImpl.java:-2)
at sun.reflect.NativeMethodAccessorImpl(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method(Method.java:606)
at org.kohsuke.stapler.Function$InstanceFunction(Function.java:298)
at org.kohsuke.stapler.Function(Function.java:161)
at org.kohsuke.stapler.Function(Function.java:96)
at org.kohsuke.stapler.MetaClass$JavaScriptProxyMethodDispatcher(MetaClass.java:465)
at org.kohsuke.stapler.NameBasedDispatcher(NameBasedDispatcher.java:53)
at org.kohsuke.stapler.Stapler(Stapler.java:728)
at org.kohsuke.stapler.Stapler(Stapler.java:858)
at org.kohsuke.stapler.MetaClass$12(MetaClass.java:390)
at org.kohsuke.stapler.Stapler(Stapler.java:728)
at org.kohsuke.stapler.Stapler(Stapler.java:858)
at org.kohsuke.stapler.Stapler(Stapler.java:795)
at org.kohsuke.stapler.Stapler(Stapler.java:858)
at org.kohsuke.stapler.Stapler(Stapler.java:631)
at org.kohsuke.stapler.Stapler(Stapler.java:186)
at javax.servlet.http.HttpServlet(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder(ServletHolder.java:686)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain(ServletHandler.java:1494)
at hudson.util.PluginServletFilter$1(PluginServletFilter.java:96)
at hudson.plugins.greenballs.GreenBallFilter(GreenBallFilter.java:58)
at hudson.util.PluginServletFilter$1(PluginServletFilter.java:99)
at net.bull.javamelody.MonitoringFilter(MonitoringFilter.java:203)
at net.bull.javamelody.MonitoringFilter(MonitoringFilter.java:181)
at net.bull.javamelody.PluginMonitoringFilter(PluginMonitoringFilter.java:86)
at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter(HudsonMonitoringFilter.java:90)
at hudson.util.PluginServletFilter$1(PluginServletFilter.java:99)
at hudson.util.PluginServletFilter(PluginServletFilter.java:88)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain(ServletHandler.java:1482)
at hudson.security.csrf.CrumbFilter(CrumbFilter.java:48)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain(ServletHandler.java:1482)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:84)
at hudson.security.UnwrapSecurityExceptionFilter(UnwrapSecurityExceptionFilter.java:51)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at jenkins.security.ExceptionTranslationFilter(ExceptionTranslationFilter.java:117)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter(AnonymousProcessingFilter.java:125)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter(RememberMeProcessingFilter.java:142)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at org.acegisecurity.ui.AbstractProcessingFilter(AbstractProcessingFilter.java:271)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at org.acegisecurity.ui.basicauth.BasicProcessingFilter(BasicProcessingFilter.java:174)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at jenkins.security.ApiTokenFilter(ApiTokenFilter.java:64)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at org.acegisecurity.context.HttpSessionContextIntegrationFilter(HttpSessionContextIntegrationFilter.java:249)
at hudson.security.HttpSessionContextIntegrationFilter2(HttpSessionContextIntegrationFilter2.java:67)
at hudson.security.ChainedServletFilter$1(ChainedServletFilter.java:87)
at hudson.security.ChainedServletFilter(ChainedServletFilter.java:76)
at hudson.security.HudsonFilter(HudsonFilter.java:164)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain(ServletHandler.java:1482)
at org.kohsuke.stapler.compression.CompressionFilter(CompressionFilter.java:46)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain(ServletHandler.java:1482)
at hudson.util.CharacterEncodingFilter(CharacterEncodingFilter.java:81)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain(ServletHandler.java:1474)
at org.eclipse.jetty.servlet.ServletHandler(ServletHandler.java:499)
at org.eclipse.jetty.server.handler.ScopedHandler(ScopedHandler.java:137)
at org.eclipse.jetty.security.SecurityHandler(SecurityHandler.java:533)
at org.eclipse.jetty.server.session.SessionHandler(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler(ContextHandler.java:1086)
at org.eclipse.jetty.servlet.ServletHandler(ServletHandler.java:428)
at org.eclipse.jetty.server.session.SessionHandler(SessionHandler.java:193)
at org.eclipse.jetty.server.handler.ContextHandler(ContextHandler.java:1020)
at org.eclipse.jetty.server.handler.ScopedHandler(ScopedHandler.java:135)
at org.eclipse.jetty.server.handler.HandlerWrapper(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server(Server.java:370)
at org.eclipse.jetty.server.AbstractHttpConnection(AbstractHttpConnection.java:489)
at org.eclipse.jetty.server.AbstractHttpConnection(AbstractHttpConnection.java:960)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler(AbstractHttpConnection.java:1021)
at org.eclipse.jetty.http.HttpParser(HttpParser.java:865)
at org.eclipse.jetty.http.HttpParser(HttpParser.java:240)
at org.eclipse.jetty.server.AsyncHttpConnection(AsyncHttpConnection.java:82)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint(SelectChannelEndPoint.java:668)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1(SelectChannelEndPoint.java:52)
at winstone.BoundedExecutorService$1(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker(ThreadPoolExecutor.java:615)
at java.lang.Thread(Thread.java:744)
Downgrading to build 68 restores the plugin to working order.