|
Re: Jelly Errors / Debug Advice?: msg#00092java.hudson.user
Thanks for filing this as a bug, and here's how you usually debug this. First, the ultimate root cause of this is NPE in Hudson code. > java.lang.NullPointerException > at hudson.Functions.isMultiline(Functions.java:312) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Then Jelly reports that as: [WARN] JexlExpression - -Caught exception evaluating: h.isMultiline( ... so you know where (although limited) the exception happened. I guess it would be really nice if Jelly can report the file name and line number where this happened, and all the jelly script "call stack" leading up to this point --- I'll see if I can make that change. In the mean time, if you need that information, you either needs to run this in the debugger (the doc contains an explanation of how to do it.) Or often a simple grepping gets you where you have the code. Eric Crahen wrote: I'm venturing into writing plugins for the first time, so I'm just starting -- Kohsuke Kawaguchi Sun Microsystems kohsuke.kawaguchi@xxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Jelly Errors / Debug Advice?, Eric Crahen |
|---|---|
| Next by Date: | Re: Jelly Errors / Debug Advice?, Kohsuke Kawaguchi |
| Previous by Thread: | Re: Jelly Errors / Debug Advice?, Eric Crahen |
| Next by Thread: | JobProperty Questions, Eric Crahen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |