build time trend page when no builds run yet

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

build time trend page when no builds run yet

Wolfram Kroll-2
Hi hudson developers,

when there's no build run so far for a project and I click on build time
trend (just to stress hudson ;-) I get the trend page with a broken
image icon and the traces below. This should get caught or disabled.

Wolfram

---------------------------------------------
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

javax.servlet.ServletException
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:233)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
        org.kohsuke.stapler.Stapler.service(Stapler.java:68)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

root cause

java.lang.NullPointerException
        hudson.model.Job.doBuildTimeGraphMap(Job.java:571)
        sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
        sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        java.lang.reflect.Method.invoke(Method.java:585)
        org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
        org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
        org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
        org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
        org.kohsuke.stapler.Stapler.service(Stapler.java:68)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
        org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)

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

Reply | Threaded
Open this post in threaded view
|

Re: build time trend page when no builds run yet

Kohsuke Kawaguchi-2

Thanks. This kind of testing is really appreciated. Just committed a fix
in 1.73

Wolfram Kroll wrote:

> Hi hudson developers,
>
> when there's no build run so far for a project and I click on build time
> trend (just to stress hudson ;-) I get the trend page with a broken
> image icon and the traces below. This should get caught or disabled.
>
> Wolfram
>
> ---------------------------------------------
> HTTP Status 500 -
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that prevented
> it from fulfilling this request.
>
> exception
>
> javax.servlet.ServletException
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:233)
> org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
> org.kohsuke.stapler.Stapler.service(Stapler.java:68)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
>
> root cause
>
> java.lang.NullPointerException
> hudson.model.Job.doBuildTimeGraphMap(Job.java:571)
> sun.reflect.GeneratedMethodAccessor1160.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> java.lang.reflect.Method.invoke(Method.java:585)
> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:50)
> org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:59)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:207)
> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:224)
> org.kohsuke.stapler.Stapler.invoke(Stapler.java:169)
> org.kohsuke.stapler.Stapler.service(Stapler.java:68)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>

--
Kohsuke Kawaguchi
Sun Microsystems                   [hidden email]

smime.p7s (4K) Download Attachment