x First time here? Check out the FAQ
Join us a the Umbraco event of the year - get your Codegarden 14 early bird ticket today
  • Avatar460posts751karma

    Connecting Courier to SVN.

    Chris Houston started this topic June 28, 2011 @ 02:38


    After the demo at #CG11 I am trying to get a test setup of Courier working with SVN (hosted by Beanstalk using HTTPS connection) and I am getting no joy at all :(

    When I add my SVN account details into the courier.config file no tree appears in the courier section, I checked the Umbraco Log table and it showed that the TreeDataService was returning the following error:

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
    Umbraco.Courier.Core.Repository.loadSettings(XmlNode settingsXml) in d:\TeamCity6\buildAgent\work\399aef48762b5884\Umbraco.Courier.Core\Repository.cs:107
    Umbraco.Courier.Core.Storage.RepositoryStorage.GetAll() in d:\TeamCity6\buildAgent\work\399aef48762b5884\Umbraco.Courier.Core\Storage\RepositoryStorage.cs:34
    Umbraco.Courier.UI.Trees.LoadRevisions.CreateAllowedActions(List`1& actions) in d:\TeamCity6\buildAgent\work\399aef48762b5884\Umbraco.Courier.UI\Trees\LoadRevisions.cs:84
    umbraco.cms.presentation.Trees.BaseTree.Initialize() +55
    umbraco.presentation.webservices.TreeDataService.LoadAppTrees(TreeRequestParams treeParams) +270
    umbraco.presentation.webservices.TreeDataService.GetXmlTree() +190
    umbraco.presentation.webservices.TreeDataService.ProcessRequest(HttpContext context) +85
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +624
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +269

    If anyone has any ideas or if I can provide any more detailed debug info for the developers please let me know.

    I assume that the latest version is still the following build as there don't seem to be any nightly builds since June 10th?




  • Avatar51posts71karma
    Comment with ID: 81583
    Aileen posted this reply June 29, 2011 @ 03:50

    Hi Chris

    Have you managed to fix this? I had the same issue with the disappearing tree and then I saw there's a new download for svn containing the assembly Umbraco.Courier.SubversionRepository.dll. However I'm now having issues with the SharpSvn.dll assembly.

    Cheers, Aileen

  • Chris Houston posted this reply June 29, 2011 @ 04:06

    Hi Alieen,

    Well as you can see no one has responded to my forum post, I also noticed the additional file on Nightly and had issues with it not liking the SharpSVN.dll

    As my PC is running 64 bit Windows 7 I tried to download the 64 bit versions of the SharpSVN files and that made things work :)

    Cheers, Chris

  • Avatar2243posts3096karma
    Comment with ID: 81592
    Rich Green posted this reply June 29, 2011 @ 04:07

    Think Lee K had the same SharpSvn.dll problem yesterday. I'm waiting for the Courier video to come online which may shed some light on this?


  • Avatar2243posts3096karma
    Comment with ID: 81593
    Rich Green posted this reply June 29, 2011 @ 04:07

    Cross post, cheers Chris.

  • Avatar51posts71karma
    Comment with ID: 81604
    Aileen posted this reply June 29, 2011 @ 05:10

    Thanks Chris. The 64 bit version of SharpSVN worked like a charm for me - I can now see my svn repository!

  • Avatar809posts3064karma
    HQComment with ID: 81669
    Per Ploug posted this reply June 30, 2011 @ 08:25

    Ahh there were those x64 dlls, been looking for those :)

    For everything else, source and binaries should start to appear on nightly as our buildserver gets up and running (apparently it decided to hibernate for a week)


    The Umbraco.Courier.TeamDev.SampleApplication is what I used at my CG session

    and Umbraco.Courier.ConsoleApplicationSource is what I used for the keynote (the buddha one)


Please login or Sign up To post replies