Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.41 KB | None | 0 0
  1. 2018-07-21 22:39:07.551 +02:00 [Error] Something bad happened, ErrorMiddleware caught this
  2. System.ObjectDisposedException: Cannot access a disposed object. A common cause of this error is disposing a context that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. This may occur if you are calling Dispose() on the context, or wrapping the context in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances.
  3. Object name: 'OmbiContext'.
  4. at Microsoft.EntityFrameworkCore.DbContext.CheckDisposed()
  5. at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityType()
  6. at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.get_EntityQueryable()
  7. at Microsoft.EntityFrameworkCore.Internal.InternalDbSet`1.System.Linq.IQueryable.get_Provider()
  8. at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.AsNoTracking[TEntity](IQueryable`1 source)
  9. at Ombi.Store.Repository.SettingsJsonRepository.<GetAsync>d__8.MoveNext()
  10. --- End of stack trace from previous location where exception was thrown ---
  11. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  12. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  13. at Ombi.Settings.Settings.SettingsService`1.<<GetSettingsAsync>b__11_0>d.MoveNext() in C:\projects\requestplex\src\Ombi.Settings\Settings\SettingsService.cs:line 51
  14. --- End of stack trace from previous location where exception was thrown ---
  15. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  16. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  17. at Ombi.Helpers.CacheService.<GetOrAdd>d__3`1.MoveNext()
  18. --- End of stack trace from previous location where exception was thrown ---
  19. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  20. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  21. at Ombi.Settings.Settings.SettingsService`1.<GetSettingsAsync>d__11.MoveNext()
  22. --- End of stack trace from previous location where exception was thrown ---
  23. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  24. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  25. at Ombi.Api.OmbiHttpClient.<<GetHandler>b__8_0>d.MoveNext() in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 86
  26. --- End of stack trace from previous location where exception was thrown ---
  27. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  28. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  29. at Ombi.Helpers.CacheService.<GetOrAdd>d__3`1.MoveNext()
  30. --- End of stack trace from previous location where exception was thrown ---
  31. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  32. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  33. at Ombi.Api.OmbiHttpClient.<GetHandler>d__8.MoveNext() in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 86
  34. --- End of stack trace from previous location where exception was thrown ---
  35. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  36. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  37. at Ombi.Api.OmbiHttpClient.<Setup>d__7.MoveNext() in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 77
  38. --- End of stack trace from previous location where exception was thrown ---
  39. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  40. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  41. at Ombi.Api.OmbiHttpClient.<SendAsync>d__5.MoveNext() in C:\projects\requestplex\src\Ombi.Api\OmbiHttpClient.cs:line 61
  42. --- End of stack trace from previous location where exception was thrown ---
  43. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  44. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  45. at Ombi.Api.Api.<Request>d__6`1.MoveNext() in C:\projects\requestplex\src\Ombi.Api\Api.cs:line 38
  46. --- End of stack trace from previous location where exception was thrown ---
  47. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  48. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  49. at Ombi.Api.FanartTv.FanartTvApi.<GetMovieImages>d__7.MoveNext() in C:\projects\requestplex\src\Ombi.Api.FanartTv\FanartTvApi.cs:line 42
  50. --- End of stack trace from previous location where exception was thrown ---
  51. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  52. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  53. at Ombi.Controllers.ImagesController.<GetBackgroundImage>d__16.MoveNext() in C:\projects\requestplex\src\Ombi\Controllers\ImagesController.cs:line 197
  54. --- End of stack trace from previous location where exception was thrown ---
  55. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  56. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  57. at lambda_method(Closure , Object )
  58. at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
  59. --- End of stack trace from previous location where exception was thrown ---
  60. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  61. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  62. at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext()
  63. --- End of stack trace from previous location where exception was thrown ---
  64. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  65. at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
  66. at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  67. at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
  68. --- End of stack trace from previous location where exception was thrown ---
  69. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  70. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  71. at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextResourceFilter>d__22.MoveNext()
  72. --- End of stack trace from previous location where exception was thrown ---
  73. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  74. at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
  75. at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
  76. at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeFilterPipelineAsync>d__17.MoveNext()
  77. --- End of stack trace from previous location where exception was thrown ---
  78. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  79. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  80. at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeAsync>d__15.MoveNext()
  81. --- End of stack trace from previous location where exception was thrown ---
  82. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  83. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  84. at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
  85. --- End of stack trace from previous location where exception was thrown ---
  86. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  87. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  88. at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.<Invoke>d__3.MoveNext()
  89. --- End of stack trace from previous location where exception was thrown ---
  90. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  91. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  92. at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.<Invoke>d__6.MoveNext()
  93. --- End of stack trace from previous location where exception was thrown ---
  94. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  95. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  96. at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext()
  97. --- End of stack trace from previous location where exception was thrown ---
  98. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  99. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  100. at Ombi.ApiKeyMiddlewear.<Invoke>d__2.MoveNext() in C:\projects\requestplex\src\Ombi\ApiKeyMiddlewear.cs:line 50
  101. --- End of stack trace from previous location where exception was thrown ---
  102. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  103. at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  104. at Ombi.ErrorHandlingMiddleware.<Invoke>d__2.MoveNext() in C:\projects\requestplex\src\Ombi\ErrorHandlingMiddlewear.cs:line 24
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement