Build 2324 - Mecurial Invalid URI

G'day,

Just opened an existing repository to find out why repo change triggers were not firing and I got the following when I tried to validate the existing configuration.

Date: Wednesday, 31 July 2013
Time: 1:05:44 PM

Message:

Unhandled Service Exception

Exception: UriFormatException
Message: Invalid URI: Invalid port specified.
Stack Trace:    at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at Continua.Modules.Builds.Repositories.PlugIns.MercurialRepositoryPlugIn.Validate(IRepositoryExecutionContext context)
   at Continua.Modules.Builds.Repositories.Repository.Validate(IRepositoryExecutionContext context)
   at Continua.Modules.Builds.Repositories.RepositoryManager.ValidatePlugin(Repository repository)
   at Continua.Modules.Builds.Repositories.RepositoryManager.Validate(Repository repository, Boolean skipPluginValidation)
   at Continua.Modules.Builds.Services.RepositoryService.Validate(RepositoryDTO dto)
   at SyncInvokeValidate(Object , Object[] , Object[] )
   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

What was the uri for the repo?

It’s from the Event log, so it hasn’t indicated the offending URI in the log, but I think it is “https://jenasys.kilnhg.com/Code/Jenasys/DotNet_Shared/Data

Hmm… can’t reproduce the error here with that url. I have added exception handling around the line where the uri was being constructed, hopefully that will tell us what the real error is.