Community
Participate
Working Groups
Steps: 1. Create Hudson server 2. Validate without entering URL !ENTRY org.eclipse.mylyn.commons.team 4 0 2011-02-17 14:27:37.270 !MESSAGE Unexpected error during repository validation. !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.mylyn.commons.ui.team.RepositoryLocationPart$2.run(RepositoryLocationPart.java:587) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: java.lang.NullPointerException at org.eclipse.mylyn.commons.net.WebUtil.getHost(WebUtil.java:432) at org.eclipse.mylyn.commons.net.WebUtil.createHostConfiguration(WebUtil.java:285) at org.eclipse.mylyn.commons.http.CommonHttpClient.getHostConfiguration(CommonHttpClient.java:79) at org.eclipse.mylyn.commons.http.HttpOperation.execute(HttpOperation.java:63) at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$8.execute(RestfulHudsonClient.java:413) at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient$8.execute(RestfulHudsonClient.java:1) at org.eclipse.mylyn.internal.hudson.core.client.HudsonOperation.run(HudsonOperation.java:32) at org.eclipse.mylyn.internal.hudson.core.client.RestfulHudsonClient.validate(RestfulHudsonClient.java:426) at org.eclipse.mylyn.internal.hudson.core.HudsonServerBehaviour.validate(HudsonServerBehaviour.java:846) at org.eclipse.mylyn.builds.internal.core.BuildServer.validate(BuildServer.java:450) at org.eclipse.mylyn.builds.ui.spi.BuildServerPart$Validator.run(BuildServerPart.java:113) at org.eclipse.mylyn.commons.ui.team.RepositoryLocationPart$2.run(RepositoryLocationPart.java:582) ... 1 more
Added null check for location url.
Created attachment 189237 [details] mylyn/context/zip