episerver / EPiServer.Labs.BlockEnhancements

Block enhancements for CMS UI.
26 stars 9 forks source link

Object reference error in 0.9.3 #61

Closed thomashigginbotham closed 4 years ago

thomashigginbotham commented 4 years ago

I upgraded to version 0.9.3 and immediately received an "Object reference not set to an instance of an object" error. If I revert back to 0.9.2, everything works as expected.

[NullReferenceException: Object reference not set to an instance of an object.] EPiServer.Labs.BlockEnhancements.InlineBlocksEditing.ContentAreaInitializableModule.Initialize(InitializationEngine context) +132 EPiServer.Framework.Initialization.Internal.<>c__DisplayClass2_0.b__0() +19 EPiServer.Framework.Initialization.Internal.ModuleNode.Execute(Action a, String key) +52 EPiServer.Framework.Initialization.Internal.ModuleNode.Initialize(InitializationEngine context) +80 EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +179

[InitializationException: Initialize action failed for Initialize on class EPiServer.Labs.BlockEnhancements.InlineBlocksEditing.ContentAreaInitializableModule, EPiServer.Labs.BlockEnhancements, Version=0.9.3.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7] EPiServer.Framework.Initialization.InitializationEngine.InitializeModules() +482 EPiServer.Framework.Initialization.InitializationEngine.ExecuteTransition(Boolean continueTransitions) +153 EPiServer.Framework.Initialization.InitializationEngine.Initialize() +40 EPiServer.Framework.Initialization.<>c.b__7_0(InitializationEngine e) +9 EPiServer.Framework.Initialization.InitializationModule.EngineExecute(HostType hostType, Action`1 engineAction) +460 EPiServer.Framework.Initialization.InitializationModule.FrameworkInitialization(HostType hostType) +170 EPiServer.Global..ctor() +43 EpiserverBase.EPiServerApplication..ctor() +5 ASP.global_asax..ctor() +38

[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) +122 System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +239 System.Activator.CreateInstance(Type type, Boolean nonPublic) +85 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1173 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +130 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +21 System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +59 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +148 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +303

[HttpException (0x80004005): Exception has been thrown by the target of an invocation.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +657 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +89 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +189

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4210.0