Emma graph throwing exception

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Emma graph throwing exception

Richard Bair-2
Hi Kohsuke,

No rest for the weary :-).

I've managed to get most of my weekly build configured (http://
swinglabs.org/hudson). I have Emma generating all the proper reports,  
including HTML and XML reports. However, I'm getting a bunch of  
exceptions in my server log files when I try to view the emma report.  
Here's the dump:

//swinglabs.org/hudson/job/SwingX%20Weekly%20Build/emma/graph
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.kohsuke.stapler.Function$InstanceFunction.invoke
(Function.java:50)
        at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
        at org.kohsuke.stapler.NameBasedDispatcher.dispatch
(NameBasedDispatcher.java:30)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:300)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
        at org.kohsuke.stapler.NameBasedDispatcher.dispatch
(NameBasedDispatcher.java:30)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        at org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
        at org.kohsuke.stapler.Stapler.service(Stapler.java:68)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         [....]
Caused by: java.lang.NoSuchMethodError: hudson.util.ChartUtil
$NumberOnlyBuildLabel.<init>(Lhudson/model/Build;)V
        at hudson.plugins.emma.CoverageObject.doGraph(CoverageObject.java:111)
        at hudson.plugins.emma.EmmaProjectAction.doGraph
(EmmaProjectAction.java:52)
        ... 40 more

I'm using build 1.79 of Hudson, and 1.2 of Emma.

Thanks
Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Richard Bair-2
BTW, it would be really cool if the Emma plugin had an option to show  
the full details, ie: the output of the HTML report for Emma.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Kohsuke Kawaguchi-2
In reply to this post by Richard Bair-2

Maybe I just need to post a new version. Let me do that right now.

Richard Bair wrote:

> Hi Kohsuke,
>
> No rest for the weary :-).
>
> I've managed to get most of my weekly build configured (http://
> swinglabs.org/hudson). I have Emma generating all the proper reports,  
> including HTML and XML reports. However, I'm getting a bunch of  
> exceptions in my server log files when I try to view the emma report.  
> Here's the dump:
>
> //swinglabs.org/hudson/job/SwingX%20Weekly%20Build/emma/graph
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.kohsuke.stapler.Function$InstanceFunction.invoke
> (Function.java:50)
> at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
> at org.kohsuke.stapler.NameBasedDispatcher.dispatch
> (NameBasedDispatcher.java:30)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:300)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
> at org.kohsuke.stapler.NameBasedDispatcher.dispatch
> (NameBasedDispatcher.java:30)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>          [....]
> Caused by: java.lang.NoSuchMethodError: hudson.util.ChartUtil
> $NumberOnlyBuildLabel.<init>(Lhudson/model/Build;)V
> at hudson.plugins.emma.CoverageObject.doGraph(CoverageObject.java:111)
> at hudson.plugins.emma.EmmaProjectAction.doGraph
> (EmmaProjectAction.java:52)
> ... 40 more
>
> I'm using build 1.79 of Hudson, and 1.2 of Emma.
>
> Thanks
> Richard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Kohsuke Kawaguchi-2
In reply to this post by Richard Bair-2
Richard Bair wrote:
> BTW, it would be really cool if the Emma plugin had an option to show  
> the full details, ie: the output of the HTML report for Emma.

I'm really looking for someone who could own the emma plugin and make
progress like this.

HTML report is bit tricky to handle for Hudson, because it's not machine
consumable.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Kohsuke Kawaguchi-2
In reply to this post by Richard Bair-2

Emma plugin 1.3 posted.

Richard Bair wrote:

> Hi Kohsuke,
>
> No rest for the weary :-).
>
> I've managed to get most of my weekly build configured (http://
> swinglabs.org/hudson). I have Emma generating all the proper reports,  
> including HTML and XML reports. However, I'm getting a bunch of  
> exceptions in my server log files when I try to view the emma report.  
> Here's the dump:
>
> //swinglabs.org/hudson/job/SwingX%20Weekly%20Build/emma/graph
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.kohsuke.stapler.Function$InstanceFunction.invoke
> (Function.java:50)
> at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
> at org.kohsuke.stapler.NameBasedDispatcher.dispatch
> (NameBasedDispatcher.java:30)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:300)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
> at org.kohsuke.stapler.NameBasedDispatcher.dispatch
> (NameBasedDispatcher.java:30)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
> at org.kohsuke.stapler.Stapler.service(Stapler.java:68)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
>          [....]
> Caused by: java.lang.NoSuchMethodError: hudson.util.ChartUtil
> $NumberOnlyBuildLabel.<init>(Lhudson/model/Build;)V
> at hudson.plugins.emma.CoverageObject.doGraph(CoverageObject.java:111)
> at hudson.plugins.emma.EmmaProjectAction.doGraph
> (EmmaProjectAction.java:52)
> ... 40 more
>
> I'm using build 1.79 of Hudson, and 1.2 of Emma.
>
> Thanks
> Richard
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Kohsuke Kawaguchi-2
In reply to this post by Kohsuke Kawaguchi-2
Kohsuke Kawaguchi wrote:
> Maybe I just need to post a new version. Let me do that right now.

Posted.

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Richard Bair-2
In reply to this post by Kohsuke Kawaguchi-2
> Richard Bair wrote:
>> BTW, it would be really cool if the Emma plugin had an option to  
>> show  the full details, ie: the output of the HTML report for Emma.
>
> I'm really looking for someone who could own the emma plugin and  
> make progress like this.

I don't think I could go so far as owning it, but maybe I'll give a  
go at hacking it. I'm not familiar with Maven, or Jelly, so this may  
be a bit of work :-).

> HTML report is bit tricky to handle for Hudson, because it's not  
> machine consumable.

I'm thinking that I could just do it like the JavaDoc integration.  
The HTML file is already produced, the emma plugin just needs to have  
a handy hyperlink to the proper workspace directory. In my case, to  
ws/dist/coverage/index.html.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Kohsuke Kawaguchi-2
Richard Bair wrote:

>> Richard Bair wrote:
>>> BTW, it would be really cool if the Emma plugin had an option to  
>>> show  the full details, ie: the output of the HTML report for Emma.
>>
>> I'm really looking for someone who could own the emma plugin and  
>> make progress like this.
>
> I don't think I could go so far as owning it, but maybe I'll give a  
> go at hacking it. I'm not familiar with Maven, or Jelly, so this may  
> be a bit of work :-).
Yeah, that would be wonderful. Let me know your java.net ID so that I
can get you the commit access.


>> HTML report is bit tricky to handle for Hudson, because it's not  
>> machine consumable.
>
> I'm thinking that I could just do it like the JavaDoc integration.  
> The HTML file is already produced, the emma plugin just needs to have  
> a handy hyperlink to the proper workspace directory. In my case, to  
> ws/dist/coverage/index.html.

Yeah, that could be a good start.


--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Emma graph throwing exception

Richard Bair-2
In reply to this post by Kohsuke Kawaguchi-2
>> Maybe I just need to post a new version. Let me do that right now.
>
> Posted.

Sweet! That fixed it.

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]