Issue Details (XML | Word | Printable)

Key: HUDSON-3413
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: stephenconnolly
Reporter: parisila
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hudson

Cobertura graph on dashboard has NullPointerException if some builds do not contain cobertura data

Created: 02/Apr/09 01:48 PM   Updated: 04/Apr/09 08:47 AM   Resolved: 04/Apr/09 08:47 AM
Return to search
Component/s: cobertura
Affects Version/s: current
Fix Version/s: None

Environment: Platform: All, OS: Linux
Issue Links:
Duplicate
 


 Description  « Hide

If you have historical builds without cobertura then the coburtura graph on the
dashboard is broken because of NullPointerException when getting previous
result. I deleted the builds that were done before adding coburtura and the
error went away.

INFO | jvm 1 | 2009/04/02 20:38:20 | 2009-04-02 20:38:20.014::WARN:
/hudson/job/connectfour/cobertura/graph
INFO | jvm 1 | 2009/04/02 20:38:20 | java.lang.NullPointerException
INFO | jvm 1 | 2009/04/02 20:38:20 | at
hudson.plugins.cobertura.CoberturaBuildAction.getPreviousResult(CoberturaBuildAction.java:140)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
hudson.plugins.cobertura.CoberturaBuildAction.getPreviousResult(CoberturaBuildAction.java:125)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
hudson.plugins.cobertura.CoberturaBuildAction.doGraph(CoberturaBuildAction.java:218)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
hudson.plugins.cobertura.CoberturaProjectAction.doGraph(CoberturaProjectAction.java:91)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
sun.reflect.GeneratedMethodAccessor465.invoke(Unknown Source)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
java.lang.reflect.Method.invoke(Method.java:585)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:156)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
org.kohsuke.stapler.Function.bindAndInvoke(Function.java:76)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:73)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30)
INFO | jvm 1 | 2009/04/02 20:38:20 | at
org.kohsuke.stapler.Stapler.invoke(Stapler.java:436)



Sort Order: Ascending order - Click to sort in descending order
mindless made changes - 04/Apr/09 08:47 AM
Field Original Value New Value
Link This issue duplicates HUDSON-2851 [ HUDSON-2851 ]
mindless made changes - 04/Apr/09 08:47 AM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Duplicate [ 3 ]