Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn Builds » Builds view not working with Jenkins 1.509.4
Builds view not working with Jenkins 1.509.4 [message #1132627] Fri, 11 October 2013 09:25 Go to next message
Sascha Vogt is currently offline Sascha VogtFriend
Messages: 18
Registered: March 2011
Junior Member
Hi,

when trying to use Mylyn Builds -> Builds view with Jenkins 1.509.4 (current LTS version) I'm getting a "Server validation failed: Unexpected error: Unexpected response from Hudson server for '/build/api/xml': Internal Server Error".

Calling that URL in a Browser I'm getting a valid XML.

Does anybody experience the same issue? Is Jenkins supported at all by Mylyn Builds? I'm using the Mylyn Builds Connector 1.2.0.20131006-0226 and our Jenkins is secured.

Stacktrace in the log:
!MESSAGE Unexpected error: Unexpected response from Hudson server for '/build/api/xml': Internal Server Error
!STACK 0
org.eclipse.mylyn.internal.hudson.core.client.HudsonException: Unexpected response from Hudson server for '/build/api/xml': Internal Server Error
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.validate(HudsonOperation.java:235)
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.doValidate(HudsonOperation.java:182)
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.processAndRelease(HudsonOperation.java:220)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$5.execute(RestfulHudsonClient.java:250)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$5.execute(RestfulHudsonClient.java:1)
	at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:167)
	at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.getJobs(RestfulHudsonClient.java:284)
	at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.refreshConfiguration(HudsonServerBehaviour.java:780)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshConfigurationOperation$1.run(RefreshConfigurationOperation.java:75)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshConfigurationOperation$1.run(RefreshConfigurationOperation.java:1)
	at org.eclipse.mylyn.builds.internal.core.util.BuildRunner.run(BuildRunner.java:72)
	at org.eclipse.mylyn.builds.internal.core.operations.RefreshConfigurationOperation.doRefresh(RefreshConfigurationOperation.java:72)
	at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$Validator.run(BuildServerPart.java:118)
	at org.eclipse.mylyn.commons.repositories.ui.RepositoryLocationPart$2.run(RepositoryLocationPart.java:558)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)



Re: Builds view not working with Jenkins 1.509.4 [message #1141727 is a reply to message #1132627] Thu, 17 October 2013 06:42 Go to previous message
Sascha Vogt is currently offline Sascha VogtFriend
Messages: 18
Registered: March 2011
Junior Member
A bit more investigation showed that the view calls the following URL

http://<host>/<root-context>/api/xml?wrapper=hudson&depth=1&xpath=/hudson/job&exclude=/hudson/job/build


When I hit that URL in a browser I'm getting:

Status Code: 500
Exception: org.kohsuke.stapler.export.NotExportableException: class hudson.util.Secret doesn't have @ExportedBean
Stacktrace:

javax.servlet.ServletException: org.kohsuke.stapler.export.NotExportableException: class hudson.util.Secret doesn't have @ExportedBean
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:735)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
	at org.kohsuke.stapler.MetaClass$4.doDispatch(MetaClass.java:201)
	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53)
	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:685)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:799)
	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:587)
	at org.kohsuke.stapler.Stapler.service(Stapler.java:218)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:95)
	at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:48)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	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:124)
	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:64)
	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 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.kohsuke.stapler.compression.CompressionFilter.doFilter(CompressionFilter.java:46)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:279)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:722)
Caused by: org.kohsuke.stapler.export.NotExportableException: class hudson.util.Secret doesn't have @ExportedBean
	at org.kohsuke.stapler.export.Model.<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.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.writeNestedObjectTo(Model.java:182)
	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.writeTo(Model.java:154)
	at hudson.model.Api.doXml(Api.java:104)
	at sun.reflect.GeneratedMethodAccessor461.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:297)
	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:160)
	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:95)
	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:685)
	... 59 more
Previous Topic:Display Results from TestNG in Build-View (contribute new functionality)
Next Topic:how to get mylyn builds and jenkins connector
Goto Forum:
  


Current Time: Wed Sep 19 18:33:32 GMT 2018

Powered by FUDForum. Page generated in 0.01917 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top