I modified the Category class by adding one more property. Everything was working fine until i had to modify the order pipeline for some email changes. There was a call to Category.Add in BulkImportTaskProvider so i modified that too since i had modified the Add method. Now i am getting this errot in order pipleline. Not sure what might be causing the error. Is it possible to tell with this error log where the error is coming from?
HandlingInstanceID: bcd0cd73-d311-41ed-a754-b2e7f884bb61
An exception of type 'System.NullReferenceException' occurred and was caught.
-----------------------------------------------------------------------------
03/09/2010 12:23:15
Type : System.NullReferenceException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Message : Object reference not set to an instance of an object.
Source : DotShoppingCart.Commercial.Base Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : System.String GetUserName()
Stack Trace : at DotShoppingCart.Commercial.Base.Utils.GetUserName()
at DotShoppingCart.Commercial.Core.Category.GetCategories(String host, Int32 categoryId, Int32 levelCount)
at DotShoppingCart.Commercial.Core.Category.GetAll(String host, Nullable`1 categoryIdExcludeChildren, Boolean excludeNonLeaf)
at DotShoppingCart.Commercial.Core.Category.GetAllByHost(String host)
at DotShoppingCart.Commercial.OrderPipeline.BulkImportTaskProvider.RunTask(String host, IConfigurationSource cfgSrc)
at DotShoppingCart.Commercial.OrderPipeline.TaskProvider.Proccess(String host, IConfigurationSource cfgSrc)
at DotShoppingCart.Commercial.OrderPipeline.ProcessorProvider.Run()
at DotShoppingCart.Commercial.OrderPipeline.RunnableProvider.StartRun()
Additional Info:
MachineName : SD9000
TimeStamp : 3/9/2010 8:23:15 PM
FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null AppDomainName : DotShoppingCart.Commercial.OrderPipelineService.exe
ThreadIdentity :
WindowsIdentity : NT AUTHORITY\SYSTEM
|