Advertisement
Guest User

CKANFail

a guest
Oct 20th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.51 KB | None | 0 0
  1. $ ckan
  2.  
  3. Unhandled Exception:
  4. Autofac.Core.DependencyResolutionException: An exception was thrown while activating CKAN.Configuration.JsonConfiguration. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor()' on type 'JsonConfiguration'. ---> Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'System.Collections.Generic.IDictionary`2[System.String,System.String]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
  5. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
  6. Path 'AuthTokens', line 32, position 17.
  7. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) [0x00058] in <4e761fcc12274ad085987d4e4301546f>:0
  8. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x00012] in <4e761fcc12274ad085987d4e4301546f>:0
  9. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in <4e761fcc12274ad085987d4e4301546f>:0
  10. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00069] in <4e761fcc12274ad085987d4e4301546f>:0
  11. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00280] in <4e761fcc12274ad085987d4e4301546f>:0
  12. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in <4e761fcc12274ad085987d4e4301546f>:0
  13. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <4e761fcc12274ad085987d4e4301546f>:0
  14. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <4e761fcc12274ad085987d4e4301546f>:0
  15. at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <4e761fcc12274ad085987d4e4301546f>:0
  16. at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  17. at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <4e761fcc12274ad085987d4e4301546f>:0
  18. at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  19. at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  20. at CKAN.Configuration.JsonConfiguration.LoadConfig () [0x0001f] in <4e761fcc12274ad085987d4e4301546f>:0
  21. at CKAN.Configuration.JsonConfiguration..ctor () [0x00028] in <4e761fcc12274ad085987d4e4301546f>:0
  22. at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object[])
  23. at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () [0x0008f] in <4e761fcc12274ad085987d4e4301546f>:0
  24. --- End of inner exception stack trace ---
  25. at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () [0x00113] in <4e761fcc12274ad085987d4e4301546f>:0
  26. at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) [0x000b2] in <4e761fcc12274ad085987d4e4301546f>:0
  27. at Autofac.Core.Resolving.InstanceLookup.Activate (System.Collections.Generic.IEnumerable`1[T] parameters, System.Object& decoratorTarget) [0x0002c] in <4e761fcc12274ad085987d4e4301546f>:0
  28. --- End of inner exception stack trace ---
  29. at Autofac.Core.Resolving.InstanceLookup.Activate (System.Collections.Generic.IEnumerable`1[T] parameters, System.Object& decoratorTarget) [0x00071] in <4e761fcc12274ad085987d4e4301546f>:0
  30. at Autofac.Core.Resolving.InstanceLookup+<>c__DisplayClass6_0.<Execute>b__0 () [0x00011] in <4e761fcc12274ad085987d4e4301546f>:0
  31. at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare (System.Guid id, System.Func`1[TResult] creator) [0x00045] in <4e761fcc12274ad085987d4e4301546f>:0
  32. at Autofac.Core.Resolving.InstanceLookup.Execute () [0x00065] in <4e761fcc12274ad085987d4e4301546f>:0
  33. at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00071] in <4e761fcc12274ad085987d4e4301546f>:0
  34. at Autofac.Core.Resolving.ResolveOperation.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  35. at Autofac.Core.Resolving.ResolveOperation.Execute (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00016] in <4e761fcc12274ad085987d4e4301546f>:0
  36. at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00041] in <4e761fcc12274ad085987d4e4301546f>:0
  37. at Autofac.Core.Container.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  38. at Autofac.ResolutionExtensions.TryResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, System.Collections.Generic.IEnumerable`1[T] parameters, System.Object& instance) [0x00023] in <4e761fcc12274ad085987d4e4301546f>:0
  39. at Autofac.ResolutionExtensions.ResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00030] in <4e761fcc12274ad085987d4e4301546f>:0
  40. at Autofac.ResolutionExtensions.Resolve (Autofac.IComponentContext context, System.Type serviceType, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00007] in <4e761fcc12274ad085987d4e4301546f>:0
  41. at Autofac.ResolutionExtensions.Resolve[TService] (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  42. at Autofac.ResolutionExtensions.Resolve[TService] (Autofac.IComponentContext context) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  43. at CKAN.KSPManager..ctor (CKAN.IUser user, CKAN.Configuration.IConfiguration configuration) [0x00026] in <4e761fcc12274ad085987d4e4301546f>:0
  44. at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00247] in <4e761fcc12274ad085987d4e4301546f>:0
  45. at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x000a1] in <4e761fcc12274ad085987d4e4301546f>:0
  46. [ERROR] FATAL UNHANDLED EXCEPTION: Autofac.Core.DependencyResolutionException: An exception was thrown while activating CKAN.Configuration.JsonConfiguration. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor()' on type 'JsonConfiguration'. ---> Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'System.Collections.Generic.IDictionary`2[System.String,System.String]' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
  47. To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
  48. Path 'AuthTokens', line 32, position 17.
  49. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract) [0x00058] in <4e761fcc12274ad085987d4e4301546f>:0
  50. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.Object existingValue, System.String id) [0x00012] in <4e761fcc12274ad085987d4e4301546f>:0
  51. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0007f] in <4e761fcc12274ad085987d4e4301546f>:0
  52. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00069] in <4e761fcc12274ad085987d4e4301546f>:0
  53. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00280] in <4e761fcc12274ad085987d4e4301546f>:0
  54. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00161] in <4e761fcc12274ad085987d4e4301546f>:0
  55. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <4e761fcc12274ad085987d4e4301546f>:0
  56. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000db] in <4e761fcc12274ad085987d4e4301546f>:0
  57. at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00054] in <4e761fcc12274ad085987d4e4301546f>:0
  58. at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  59. at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <4e761fcc12274ad085987d4e4301546f>:0
  60. at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  61. at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  62. at CKAN.Configuration.JsonConfiguration.LoadConfig () [0x0001f] in <4e761fcc12274ad085987d4e4301546f>:0
  63. at CKAN.Configuration.JsonConfiguration..ctor () [0x00028] in <4e761fcc12274ad085987d4e4301546f>:0
  64. at (wrapper dynamic-method) System.Object.lambda_method(System.Runtime.CompilerServices.Closure,object[])
  65. at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () [0x0008f] in <4e761fcc12274ad085987d4e4301546f>:0
  66. --- End of inner exception stack trace ---
  67. at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate () [0x00113] in <4e761fcc12274ad085987d4e4301546f>:0
  68. at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) [0x000b2] in <4e761fcc12274ad085987d4e4301546f>:0
  69. at Autofac.Core.Resolving.InstanceLookup.Activate (System.Collections.Generic.IEnumerable`1[T] parameters, System.Object& decoratorTarget) [0x0002c] in <4e761fcc12274ad085987d4e4301546f>:0
  70. --- End of inner exception stack trace ---
  71. at Autofac.Core.Resolving.InstanceLookup.Activate (System.Collections.Generic.IEnumerable`1[T] parameters, System.Object& decoratorTarget) [0x00071] in <4e761fcc12274ad085987d4e4301546f>:0
  72. at Autofac.Core.Resolving.InstanceLookup+<>c__DisplayClass6_0.<Execute>b__0 () [0x00011] in <4e761fcc12274ad085987d4e4301546f>:0
  73. at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare (System.Guid id, System.Func`1[TResult] creator) [0x00045] in <4e761fcc12274ad085987d4e4301546f>:0
  74. at Autofac.Core.Resolving.InstanceLookup.Execute () [0x00065] in <4e761fcc12274ad085987d4e4301546f>:0
  75. at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance (Autofac.Core.ISharingLifetimeScope currentOperationScope, Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00071] in <4e761fcc12274ad085987d4e4301546f>:0
  76. at Autofac.Core.Resolving.ResolveOperation.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  77. at Autofac.Core.Resolving.ResolveOperation.Execute (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00016] in <4e761fcc12274ad085987d4e4301546f>:0
  78. at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00041] in <4e761fcc12274ad085987d4e4301546f>:0
  79. at Autofac.Core.Container.ResolveComponent (Autofac.Core.IComponentRegistration registration, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  80. at Autofac.ResolutionExtensions.TryResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, System.Collections.Generic.IEnumerable`1[T] parameters, System.Object& instance) [0x00023] in <4e761fcc12274ad085987d4e4301546f>:0
  81. at Autofac.ResolutionExtensions.ResolveService (Autofac.IComponentContext context, Autofac.Core.Service service, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00030] in <4e761fcc12274ad085987d4e4301546f>:0
  82. at Autofac.ResolutionExtensions.Resolve (Autofac.IComponentContext context, System.Type serviceType, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00007] in <4e761fcc12274ad085987d4e4301546f>:0
  83. at Autofac.ResolutionExtensions.Resolve[TService] (Autofac.IComponentContext context, System.Collections.Generic.IEnumerable`1[T] parameters) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  84. at Autofac.ResolutionExtensions.Resolve[TService] (Autofac.IComponentContext context) [0x00000] in <4e761fcc12274ad085987d4e4301546f>:0
  85. at CKAN.KSPManager..ctor (CKAN.IUser user, CKAN.Configuration.IConfiguration configuration) [0x00026] in <4e761fcc12274ad085987d4e4301546f>:0
  86. at CKAN.CmdLine.MainClass.Execute (CKAN.KSPManager manager, CKAN.CmdLine.CommonOptions opts, System.String[] args) [0x00247] in <4e761fcc12274ad085987d4e4301546f>:0
  87. at CKAN.CmdLine.MainClass.Main (System.String[] args) [0x000a1] in <4e761fcc12274ad085987d4e4301546f>:0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement