| Summary: | [build][hudson] NPE in HudsonServerBehaviour.parseDuration | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Robert Munteanu <robert.munteanu> |
| Component: | Mylyn | Assignee: | Steffen Pingel <steffen.pingel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 0.7 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Thanks for reporting that. The second error is a result of the parsing error. I have added a null check and will spin a new build shortly. |
After updating to the latest version of the Hudson connector I get the following errors in the logs. !ENTRY org.eclipse.mylyn.builds.core 4 0 2010-09-08 18:18:29.944 !MESSAGE Unexpected error during invocation in server behavior !STACK 0 java.lang.NullPointerException at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.parseDuration(HudsonServerBehaviour.java:274) at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.parseTestResult(HudsonServerBehaviour.java:409) at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.getBuilds(HudsonServerBehaviour.java:119) at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession$1.run(RefreshSession.java:86) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refreshBuilds(RefreshSession.java:79) at org.eclipse.mylyn.builds.internal.core.operations.RefreshSession.refresh(RefreshSession.java:72) at org.eclipse.mylyn.builds.internal.core.operations.RefreshOperation$RefreshJob.doExecute(RefreshOperation.java:48) at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79) at org.eclipse.mylyn.builds.internal.core.operations.AbstractElementOperation.doExecute(AbstractElementOperation.java:105) at org.eclipse.mylyn.internal.builds.ui.BuildRefresher$RefreshJob.doExecute(BuildRefresher.java:41) at org.eclipse.mylyn.builds.internal.core.operations.BuildJob.run(BuildJob.java:79) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Also, trying to import unit test results brings up an error dialog which says that 'The build did not produce test results', although they are shown in the Builds view as '0 tests failing out of total 189 tests'.