You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried adding RR via nuget and manually, both attempts end up with the following error when accessing the website:
{"The type initializer for 'RequestReduce.IOC.RRContainer' threw an exception."}
Stack:
at RequestReduce.IOC.RRContainer.get_Current()
at RequestReduce.Module.RequestReduceModule.HandleRRContent(HttpContextBase httpContext, Boolean postAuth) in c:\RequestReduce\RequestReduce\Module\RequestReduceModule.cs:line 25
at RequestReduce.Module.RequestReduceModule.b__2(Object sender, EventArgs e) in c:\RequestReduce\RequestReduce\Module\RequestReduceModule.cs:line 19
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner exception:
Object reference not set to an instance of an object.
Stack:
at StructureMap.TypeRules.TypeExtensions.IsInNamespace(Type type, String nameSpace) in c:\code\structuremap\Source\StructureMap\TypeExtensions.cs:line 77
at StructureMap.Graph.AssemblyScanner.<>c__DisplayClass8.b__7(Type type) in c:\code\structuremap\Source\StructureMap\Graph\AssemblyScanner.cs:line 151
at StructureMap.Graph.CompositePredicate1.<>c__DisplayClass7.<Add>b__3(Func2 predicate) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 17
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at StructureMap.Graph.CompositePredicate1.<Add>b__2(T x) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 17 at StructureMap.Graph.CompositePredicate1.MatchesAny(T target) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 36
at StructureMap.Graph.CompositePredicate1.DoesNotMatcheAny(T target) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 46 at StructureMap.Graph.CompositeFilter1.Matches(T target) in c:\code\structuremap\Source\StructureMap\Graph\CompositeFilter.cs:line 13
at System.Linq.Enumerable.WhereArrayIterator1.MoveNext() at System.Linq.Enumerable.<SelectManyIterator>d__142.MoveNext()
at StructureMap.StringExtensions.Each[T](IEnumerable1 enumerable, Action1 action) in c:\code\structuremap\Source\StructureMap\Extensions.cs:line 10
at StructureMap.Graph.AssemblyScanner.ScanForAll(PluginGraph pluginGraph) in c:\code\structuremap\Source\StructureMap\Graph\AssemblyScanner.cs:line 241
at StructureMap.Graph.PluginGraph.b__2(AssemblyScanner scanner) in c:\code\structuremap\Source\StructureMap\Graph\PluginGraph.cs:line 119
at System.Collections.Generic.List1.ForEach(Action1 action)
at StructureMap.Graph.PluginGraph.Seal() in c:\code\structuremap\Source\StructureMap\Graph\PluginGraph.cs:line 119
at StructureMap.PluginGraphBuilder.Build() in c:\code\structuremap\Source\StructureMap\PluginGraphBuilder.cs:line 70
at StructureMap.ConfigurationExpression.BuildGraph() in c:\code\structuremap\Source\StructureMap\ConfigurationExpression.cs:line 81
at StructureMap.Container.Configure(Action`1 configure) in c:\code\structuremap\Source\StructureMap\Container.cs:line 325
at RequestReduce.IOC.RRContainer.LoadAllReducers(IContainer initContainer) in c:\RequestReduce\RequestReduce\IOC\RRContainer.cs:line 66
at RequestReduce.IOC.RRContainer.InitContainer() in c:\RequestReduce\RequestReduce\IOC\RRContainer.cs:line 57
at RequestReduce.IOC.RRContainer..cctor() in c:\RequestReduce\RequestReduce\IOC\RRContainer.cs:line 21
Couldn't find a similar issue online.
The text was updated successfully, but these errors were encountered:
I tried adding RR via nuget and manually, both attempts end up with the following error when accessing the website:
{"The type initializer for 'RequestReduce.IOC.RRContainer' threw an exception."}
Stack:
at RequestReduce.IOC.RRContainer.get_Current()
at RequestReduce.Module.RequestReduceModule.HandleRRContent(HttpContextBase httpContext, Boolean postAuth) in c:\RequestReduce\RequestReduce\Module\RequestReduceModule.cs:line 25
at RequestReduce.Module.RequestReduceModule.b__2(Object sender, EventArgs e) in c:\RequestReduce\RequestReduce\Module\RequestReduceModule.cs:line 19
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Inner exception:
Object reference not set to an instance of an object.
Stack:
at StructureMap.TypeRules.TypeExtensions.IsInNamespace(Type type, String nameSpace) in c:\code\structuremap\Source\StructureMap\TypeExtensions.cs:line 77
at StructureMap.Graph.AssemblyScanner.<>c__DisplayClass8.b__7(Type type) in c:\code\structuremap\Source\StructureMap\Graph\AssemblyScanner.cs:line 151
at StructureMap.Graph.CompositePredicate
1.<>c__DisplayClass7.<Add>b__3(Func
2 predicate) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 17at System.Linq.Enumerable.Any[TSource](IEnumerable
1 source, Func
2 predicate)at StructureMap.Graph.CompositePredicate
1.<Add>b__2(T x) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 17 at StructureMap.Graph.CompositePredicate
1.MatchesAny(T target) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 36at StructureMap.Graph.CompositePredicate
1.DoesNotMatcheAny(T target) in c:\code\structuremap\Source\StructureMap\Graph\CompositePredicate.cs:line 46 at StructureMap.Graph.CompositeFilter
1.Matches(T target) in c:\code\structuremap\Source\StructureMap\Graph\CompositeFilter.cs:line 13at System.Linq.Enumerable.WhereArrayIterator
1.MoveNext() at System.Linq.Enumerable.<SelectManyIterator>d__14
2.MoveNext()at StructureMap.StringExtensions.Each[T](IEnumerable
1 enumerable, Action
1 action) in c:\code\structuremap\Source\StructureMap\Extensions.cs:line 10at StructureMap.Graph.AssemblyScanner.ScanForAll(PluginGraph pluginGraph) in c:\code\structuremap\Source\StructureMap\Graph\AssemblyScanner.cs:line 241
at StructureMap.Graph.PluginGraph.b__2(AssemblyScanner scanner) in c:\code\structuremap\Source\StructureMap\Graph\PluginGraph.cs:line 119
at System.Collections.Generic.List
1.ForEach(Action
1 action)at StructureMap.Graph.PluginGraph.Seal() in c:\code\structuremap\Source\StructureMap\Graph\PluginGraph.cs:line 119
at StructureMap.PluginGraphBuilder.Build() in c:\code\structuremap\Source\StructureMap\PluginGraphBuilder.cs:line 70
at StructureMap.ConfigurationExpression.BuildGraph() in c:\code\structuremap\Source\StructureMap\ConfigurationExpression.cs:line 81
at StructureMap.Container.Configure(Action`1 configure) in c:\code\structuremap\Source\StructureMap\Container.cs:line 325
at RequestReduce.IOC.RRContainer.LoadAllReducers(IContainer initContainer) in c:\RequestReduce\RequestReduce\IOC\RRContainer.cs:line 66
at RequestReduce.IOC.RRContainer.InitContainer() in c:\RequestReduce\RequestReduce\IOC\RRContainer.cs:line 57
at RequestReduce.IOC.RRContainer..cctor() in c:\RequestReduce\RequestReduce\IOC\RRContainer.cs:line 21
Couldn't find a similar issue online.
The text was updated successfully, but these errors were encountered: