Getting object reference error while setting up the ANTS 8.5

Code profiling for .NET developers.

Moderator: dom.smith

Getting object reference error while setting up the ANTS 8.5

Postby njichkar » Mon Apr 28, 2014 3:33 pm

I am trying to set up my sitecore mvc website with ants to check the performance of the site, But it continuously giving the object ref. error, below is the error stack please help me if help from any one will be highly appreciated.


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.]
Sitecore.Diagnostics.Log.Error(String message, Exception exception, Type ownerType) +126
Sitecore.Diagnostics.Log.Error(String message, Type ownerType) +54
Sitecore.Configuration.Factory.LoadAutoIncludeFiles(ConfigPatcher patcher, String folder) +743
Sitecore.Configuration.Factory.LoadAutoIncludeFiles(XmlNode element) +95
Sitecore.Configuration.Factory.GetConfiguration() +356
Sitecore.Diagnostics.LoggerFactory..cctor() +91

[TypeInitializationException: The type initializer for 'Sitecore.Diagnostics.LoggerFactory' threw an exception.]
Sitecore.Diagnostics.LoggerFactory.GetLogger(Type type) +30
Sitecore.Diagnostics.Log.Error(String message, Exception exception, Type ownerType) +86
Sitecore.Diagnostics.Log.Error(String message, Type ownerType) +54
Sitecore.Configuration.Factory.LoadAutoIncludeFiles(ConfigPatcher patcher, String folder) +743
Sitecore.Configuration.Factory.LoadAutoIncludeFiles(XmlNode element) +95
Sitecore.Configuration.Factory.GetConfiguration() +356
Sitecore.Configuration.Factory.GetConfigNode(String xpath, Boolean assert) +93
Sitecore.Configuration.Factory.CreateObject(String configPath, String[] parameters, Boolean assert) +96
Sitecore.Configuration.Factory.CreateObject(String configPath, Boolean assert) +48
Sitecore.Configuration.Factory.GetString(String configPath, Boolean assert) +47
Sitecore.IO.FileWatcher..ctor(String configReference) +193
Sitecore.IO.XslWatcher..ctor() +24

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +169
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +231
System.Activator.CreateInstance(Type type, Boolean nonPublic) +85
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1102
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +222
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +29
System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +69
System.Web.Configuration.HttpModulesSection.CreateModules() +188
System.Web.HttpApplication.InitModules() +41
System.Web.HttpApplication.InitInternal(HttpContext context, HttpApplicationState state, MethodInfo[] handlers) +799
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +309
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +126
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +534
:roll: :roll: :roll:
njichkar
 
Posts: 1
Joined: Mon Apr 28, 2014 3:19 pm

Return to ANTS Performance Profiler 8

Who is online

Users browsing this forum: No registered users and 0 guests