we are using TeaCommerce for one of our clients. It worked well for over 1.5 years, but a few days ago it started creating strange error messages.
Everything works fine (adding products to the cart, setting address, ...) until the final order-confirmation. At that point we get the following exception:
===========================================
MESSAGE: Exception has been thrown by the target of an invocation.
STACKTRACE: at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at TeaCommerce.Presentation.TeaCommerceBase.RequestModule.invokeMethod(restExtension myExtension, Object[] paras)
INNEREXCEPTION: System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: order, orders. Line 59, position 895330. at System.Xml.XmlTextReaderImpl.Throw(String res, String arg) at System.Xml.XmlTextReaderImpl.ParseAttributes() at System.Xml.XmlTextReaderImpl.ParseElement() at System.Xml.XmlTextReaderImpl.ParseElementContent() at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r) at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o) at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) at TeaCommerce.Data.Order.get_OrdersXmlCache() at TeaCommerce.Data.Order.UpdateOrdersXmlCache() at TeaCommerce.Data.Order.Save() at TeaCommerce.Data.Order.Finalize(CallbackInfo callbackInfo) at TeaCommerce.Base.PaymentCallback(String alias, String encryptedOrderId) at TeaCommerce.Base.PaymentContinue(String alias, String encryptedOrderId)
===========================================
As mentioned before, this error has not occurred until a few days ago. The server has since been restarted, but no change on any code (neither the Umbraco backend code nor the JavaScript, Templates, XSLT, ...) has been made for several months.
We are using Umbraco 4.7. The problem occurred no matter which browser was used (firefox, chrome, opera). The Server uses Windows 2008 Server (64 bit) with IIS 7 and .Net 4.0.
Exception in PaymentContinue
Hi,
we are using TeaCommerce for one of our clients. It worked well for over 1.5 years, but a few days ago it started creating strange error messages.
Everything works fine (adding products to the cart, setting address, ...) until the final order-confirmation. At that point we get the following exception:
===========================================
MESSAGE:
Exception has been thrown by the target of an invocation.
STACKTRACE:
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at TeaCommerce.Presentation.TeaCommerceBase.RequestModule.invokeMethod(restExtension myExtension, Object[] paras)
INNEREXCEPTION:
System.Xml.XmlException: Unexpected end of file has occurred. The following elements are not closed: order, orders. Line 59, position 895330.
at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at TeaCommerce.Data.Order.get_OrdersXmlCache()
at TeaCommerce.Data.Order.UpdateOrdersXmlCache()
at TeaCommerce.Data.Order.Save()
at TeaCommerce.Data.Order.Finalize(CallbackInfo callbackInfo)
at TeaCommerce.Base.PaymentCallback(String alias, String encryptedOrderId)
at TeaCommerce.Base.PaymentContinue(String alias, String encryptedOrderId)
===========================================
As mentioned before, this error has not occurred until a few days ago. The server has since been restarted, but no change on any code (neither the Umbraco backend code nor the JavaScript, Templates, XSLT, ...) has been made for several months.
We are using Umbraco 4.7. The problem occurred no matter which browser was used (firefox, chrome, opera). The Server uses Windows 2008 Server (64 bit) with IIS 7 and .Net 4.0.
Duplicate post:
http://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/37808-Exception-in-PaymentContinue?p=0#comment136535
is working on a reply...