Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-builds-dev] Builds view not working with Jenkins 1.509.4

Hi Steffen,

the URL which is called from Mylyn is
http://build/build/api/xml?wrapper=hudson&depth=1&xpath=/hudson/job&exclude=/hudson/job/build

Our server is reachable via "build" and running in Tomcat as "build.war"
- so the root URL is http://build/build

When I hit this URL in a Browser I also get a 500 internal server error,
just like Mylyn gets.

Error:
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)
...
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)
...

Greetings
-Sascha-

Am 16.10.2013 18:26, schrieb Steffen Pingel:
> I did a quick test with the latest and at least integration tests
> passed locally against 1.509.4. I have pushed a change here to update
> the test repository accordingly:
> 
>   https://git.eclipse.org/r/#/c/17424/
> 
> Can you check on the server if you see any weird errors when you
> access it from Mylyn? It might also help to set a breakpoint in
> RestfulHudsonClient to see the full URL. Mylyn appends some options to
> scope the returned data which may cause the error you are seeing.
> 
> Steffen
> 
> 
> On Wed, Oct 16, 2013 at 5:31 PM, Sascha Vogt <sascha.vogt@xxxxxxxxx> wrote:
>> Hi all,
>>
>> although this list looks rather dead (from the archives) I thought I try
>> pinging it anyway, maybe someone is listening :)
>>
>> I have an issue with the Mylyn Builds view, Jenkins 1.509.4 (LTS) and
>> Mylyn Builds Connector 1.2.0.20131006-0226.
>>
>> More details on the forums:
>> http://www.eclipse.org/forums/index.php/t/545761/
>>
>> Any feedback would be helpful ;)
>> Greetings
>> -Sascha-



Back to the top