Skip to content

Instantly share code, notes, and snippets.

@sebastianhaas
Created September 3, 2015 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebastianhaas/992c5eee016bca064341 to your computer and use it in GitHub Desktop.
Save sebastianhaas/992c5eee016bca064341 to your computer and use it in GitHub Desktop.
Stack trace couchbase.lite exception
SetUp : Autofac.Core.DependencyResolutionException : An exception was thrown while invoking the constructor 'Void .ctor()' on type 'CouchbaseLiteLibraryFactory'. ---> An exception was thrown by the type initializer for Couchbase.Lite.Manager (See inner exception for details.)
----> System.TypeInitializationException : An exception was thrown by the type initializer for Couchbase.Lite.Manager
----> System.TypeInitializationException : An exception was thrown by the type initializer for Couchbase.Lite.ManagerOptions
----> System.TypeInitializationException : An exception was thrown by the type initializer for System.Net.ServicePointManager
----> System.Configuration.ConfigurationErrorsException : Error Initializing the configuration system.
----> System.Threading.ThreadAbortException : Thread was being aborted
TearDown : System.NullReferenceException : Object reference not set to an instance of an object
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () [0x00107] in <filename unknown>:0
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (IComponentContext context, IEnumerable`1 parameters) [0x000b8] in <filename unknown>:0
at Autofac.Core.Resolving.InstanceLookup.Activate (IEnumerable`1 parameters) [0x0001a] in <filename unknown>:0
at Autofac.Core.Resolving.InstanceLookup.Execute () [0x0002e] in <filename unknown>:0
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) [0x0005e] in <filename unknown>:0
at Autofac.Core.Resolving.ResolveOperation.ResolveComponent (IComponentRegistration registration, IEnumerable`1 parameters) [0x00000] in <filename unknown>:0
at Autofac.Core.Resolving.ResolveOperation.Execute (IComponentRegistration registration, IEnumerable`1 parameters) [0x00000] in <filename unknown>:0
--TypeInitializationException
at PhonicScore.LibraryCouchbaseLite.CouchbaseLiteLibraryFactory..ctor () [0x00007] in /Users/sebastian/Documents/Development/PhonicScore/_Common/Library/CouchbaseLiteLibraryFactory.cs:20
at (wrapper dynamic-method) object.lambda_method (System.Runtime.CompilerServices.Closure,object[]) <IL 0x00000, 0x0003b>
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () <IL 0x00077, 0x00245>
--TypeInitializationException
at Couchbase.Lite.Manager..cctor () [0x00019] in <filename unknown>:0
--TypeInitializationException
at Couchbase.Lite.ManagerOptions.RestoreDefaults () [0x00065] in <filename unknown>:0
at Couchbase.Lite.ManagerOptions..ctor () [0x00006] in <filename unknown>:0
at Couchbase.Lite.ManagerOptions..cctor () [0x00000] in <filename unknown>:0
--ConfigurationErrorsException
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00025] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:52
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:61
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:159
at System.Net.ServicePointManager..cctor () [0x00040] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System/System.Net/ServicePointManager.cs:165
--ThreadAbortException
at (wrapper managed-to-native) System.Array:FastCopy (System.Array,int,System.Array,int,int)
at System.Array.Copy (System.Array sourceArray, Int32 sourceIndex, System.Array destinationArray, Int32 destinationIndex, Int32 length) [0x00077] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/corlib/System/Array.cs:930
at Mono.Xml2.XmlTextReader.ReadTextReader (Int32 remained) [0x0012d] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1215
at Mono.Xml2.XmlTextReader.PeekChar () [0x00047] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1141
at Mono.Xml2.XmlTextReader.ReadChar () [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1149
at Mono.Xml2.XmlTextReader.ReadAttributeValueTokens (Int32 dummyQuoteChar) [0x0009a] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1855
at Mono.Xml2.XmlTextReader.ReadAttributes (Boolean isXmlDecl) [0x00093] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1760
at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00086] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1348
at Mono.Xml2.XmlTextReader.ReadContent () [0x00133] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1280
at Mono.Xml2.XmlTextReader.Read () [0x00141] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader.cs:572
at System.Xml.XmlTextReader.Read () [0x0006b] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader2.cs:563
at System.Xml.XmlReader.Skip () [0x0002b] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlReader.cs:1324
at System.Xml.XmlTextReader.Skip () [0x00000] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.XML/System.Xml/XmlTextReader2.cs:633
at System.Configuration.SectionGroupInfo.ReadConfig (System.Configuration.Configuration cfg, System.String streamName, System.Xml.XmlReader reader) [0x00115] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:182
at System.Configuration.SectionGroupInfo.ReadConfig (System.Configuration.Configuration cfg, System.String streamName, System.Xml.XmlReader reader) [0x001ca] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/SectionGroupInfo.cs:210
at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x000de] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/Configuration.cs:565
at System.Configuration.Configuration.Load () [0x00052] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/Configuration.cs:528
at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00065] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/Configuration.cs:137
at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x0005c] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/Configuration.cs:96
at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x0003b] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/Configuration.cs:91
at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x0000e] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/InternalConfigurationFactory.cs:41
at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal (ConfigurationUserLevel userLevel, System.Reflection.Assembly calling_assembly, System.String exePath) [0x00102] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:119
at System.Configuration.ClientConfigurationSystem.get_Configuration () [0x00011] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:49
--TearDown
at PhonicScore.Tests.Library.TestScore.TearDown () [0x00007] in /Users/sebastian/Documents/Development/PhonicScore/_Common/Tests/Library_Tests/TestScore.cs:38
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00054] in /private/tmp/source-mono-mac-4.0.0-branch-c5sr3/bockbuild-mono-4.0.0-branch/profiles/mono-mac-xamarin/build-root/mono-4.0.3/mcs/class/corlib/System.Reflection/MonoMethod.cs:230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment