Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Debugging IllegalArgumentException
Debugging IllegalArgumentException [message #551879] Mon, 09 August 2010 23:04 Go to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Hi,

I'm getting the following at the end of my build:

Doing full workspace refresh
Waiting for jobs to end

Caused by: java.lang.IllegalArgumentException
Archiving artifacts
Finished: FAILURE

Unfortunatly, there is no more information that that. I don't know why the details are getting buried. I can't see anything obviously wrong in the Hudson console but it is quite long so possible I've missed something. Any ideas about how I might go about tracking the cause down?

Miles
Re: Debugging IllegalArgumentException [message #551903 is a reply to message #551879] Tue, 10 August 2010 06:23 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Miles,

Did you try running Buckminster with the --displaystacktrace option? If you did, and that still didn't give you any
information, then I think the only option left is to attach a remote debugger. The method for doing that depends on how
your last Buckminster invocation is spawned. I usually do that by adding the following to my ant eclipse.launch macro:

<jvmarg value=" -agentlib:jdwp=transport=dt_socket,address=8000,server=y,sus pend=y "/>

HTH,
- thomas

On 08/10/2010 01:04 AM, Miles Parker wrote:
> Hi,
>
> I'm getting the following at the end of my build:
>
> Doing full workspace refresh
> Waiting for jobs to end
>
> Caused by: java.lang.IllegalArgumentException
> Archiving artifacts
> Finished: FAILURE
>
> Unfortunatly, there is no more information that that. I don't know why
> the details are getting buried. I can't see anything obviously wrong in
> the Hudson console but it is quite long so possible I've missed
> something. Any ideas about how I might go about tracking the cause down?
>
> Miles
Re: Debugging IllegalArgumentException [message #551940 is a reply to message #551903] Tue, 10 August 2010 08:58 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
I wonder if --displaystacktrace is documented, please log a doc
bugzilla.
- Henrik

Thomas Hallgren <thomas@tada.se> wrote:
> Hi Miles,
>
> Did you try running Buckminster with the --displaystacktrace option?
> If you did, and that still didn't give you any information, then I
> think the only option left is to attach a remote debugger. The method
> for doing that depends on how your last Buckminster invocation is
> spawned. I usually do that by adding the following to my ant
> eclipse.launch macro:
>
> <jvmarg
> value=" -agentlib:jdwp=transport=dt_socket,address=8000,server=y,sus pend=y "/>
>
> HTH,
> - thomas
>
> On 08/10/2010 01:04 AM, Miles Parker wrote:
>> Hi,
>>
>> I'm getting the following at the end of my build:
>>
>> Doing full workspace refresh
>> Waiting for jobs to end
>>
>> Caused by: java.lang.IllegalArgumentException
>> Archiving artifacts
>> Finished: FAILURE
>>
>> Unfortunatly, there is no more information that that. I don't know
> > why
>> the details are getting buried. I can't see anything obviously wrong
> > in
>> the Hudson console but it is quite long so possible I've missed
>> something. Any ideas about how I might go about tracking the cause
> > down?
>>
>> Miles


--
- henrik
Re: Debugging IllegalArgumentException [message #552002 is a reply to message #551940] Tue, 10 August 2010 13:37 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
On 8/10/10 10:58 AM, Henrik Lindberg wrote:
> I wonder if --displaystacktrace is documented, please log a doc
> bugzilla.
> - Henrik
>
checked - it is described in the documentation.

- henrik
Re: Debugging IllegalArgumentException [message #552063 is a reply to message #552002] Tue, 10 August 2010 16:36 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Henrik Lindberg wrote on Tue, 10 August 2010 09:37
On 8/10/10 10:58 AM, Henrik Lindberg wrote:
checked - it is described in the documentation.




I guess it's one of those "if you know it's there you don't have to look" kinds of things. Smile I think debug log level gives you a bit more as well. It would be nice to get this setup as one of the log-level options for hudson. To use this in a Hudson instance I guess you'd simply set it with setpref as the first command in your job.
Re: Debugging IllegalArgumentException [message #552066 is a reply to message #552063] Tue, 10 August 2010 16:51 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 08/10/2010 06:36 PM, Miles Parker wrote:
> Henrik Lindberg wrote on Tue, 10 August 2010 09:37
>> On 8/10/10 10:58 AM, Henrik Lindberg wrote:
>> checked - it is described in the documentation.
>
>
> I guess it's one of those "if you know it's there you don't have to
> look" kinds of things. :) I think debug log level gives you a bit more
> as well. It would be nice to get this setup as one of the log-level
> options for hudson. To use this in a Hudson instance I guess you'd
> simply set it with setpref as the first command in your job.

The loglevel is not implemented as a setpref preference I'm afraid. You need to provide it as a command line option. I
know that's not ideal (the loglevel is really an eclipse preference). An enhancement request is in order :-)

- thomas
Previous Topic:download.cloudsmith.com down?
Next Topic:SVN authentication issue fixed
Goto Forum:
  


Current Time: Sat Apr 20 15:39:57 GMT 2024

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

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

Back to the top