Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Sean Dooley 289 posts 528 karma points
    Aug 17, 2012 @ 16:42
    Sean Dooley
    0

    GetBasket() Object reference not set to an instance of an object

    Currently experiencing an issue when attempting to run a site locally (via Visual Studio).

    Below is the Umbraco Debug and Trace output

    InnerException An error occurred during a call to extension function 'GetBasket'. See InnerException for a complete description of the error.
    An error occurred during a call to extension function 'GetBasket'. See InnerException for a complete description of the error.
    at System.Xml.Xsl.Runtime.XmlExtensionFunction.Invoke(Object extObj, Object[] args)
    at System.Xml.Xsl.Runtime.XmlQueryContext.InvokeXsltLateBoundFunction(String name, String namespaceUri, IList`1[] args)
    at System.Xml.Xsl.CompiledQuery.Query.basket(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime) in C:\inetpub\wwwroot\collection\xslt\SmallCart[XSLT].xslt:line 16
    at System.Xml.Xsl.CompiledQuery.Query.Execute(XmlQueryRuntime {urn:schemas-microsoft-com:xslt-debug}runtime)
    at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer)
    at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, TextWriter results)
    at umbraco.macro.GetXsltTransformResult(XmlDocument macroXML, XslCompiledTransform xslt, Dictionary`2 parameters)
    at umbraco.macro.loadMacroXSLT(macro macro, MacroModel model, Hashtable pageElements) 0.0882938409832357 0.000862
    umbracoMacro InnerException Object reference not set to an instance of an object.
    Object reference not set to an instance of an object.
    at UCommerce.Infrastructure.ObjectFactory.GetContainer(CommerceConfigurationProvider commerceConfiguration)
    at UCommerce.Infrastructure.ObjectFactory.get_Container()
    at UCommerce.Xslt.TransactionLibrary.GetBasket(Boolean create)
    at UCommerce.Xslt.Library.<GetBasket>b__63()
    at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)

    Below is the error log in the umbracoLog

    Object reference not set to an instance of an object. Castle.Windsor.WindsorContainer GetContainer(UCommerce.Infrastructure.Configuration.CommerceConfigurationProvider)    at UCommerce.Infrastructure.ObjectFactory.GetContainer(CommerceConfigurationProvider commerceConfiguration)     at UCommerce.Infrastructure.ObjectFactory.get_Container()     at UCommerce.Xslt.TransactionLibrary.GetBasket(Boolean create)     at UCommerce.Xslt.Library.<GetBasket>b__63()     at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)

    Any ideas?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Aug 29, 2012 @ 10:13
    Søren Spelling Lund
    0

    Which version of uCommerce are you working with?

    It would seem that uCommerce can't find the components.config file. Could you check and see whether the path listed in web.config matches your current setup?

Please Sign in or register to post replies

Write your reply to:

Draft