Skip to content

Instantly share code, notes, and snippets.

@raa0121
Created May 23, 2023 02:34
Show Gist options
  • Save raa0121/b9b31698db547ceca34dcfdabe5ccc92 to your computer and use it in GitHub Desktop.
Save raa0121/b9b31698db547ceca34dcfdabe5ccc92 to your computer and use it in GitHub Desktop.
web_1 | info: MoEmbed.HttpMetadataHandler[0]
web_1 | An exception thrown: System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
web_1 | ---> System.NullReferenceException: Object reference not set to an instance of an object.
web_1 | at MoEmbed.Twitter.TwitterMetadata.FetchOnce(RequestContext context) in /src/MoEmbed.Twitter/TwitterMetadata.cs:line 132
web_1 | at System.Threading.Tasks.Task`1.InnerInvoke()
web_1 | at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
web_1 | --- End of stack trace from previous location where exception was thrown ---
web_1 | at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
web_1 | --- End of stack trace from previous location where exception was thrown ---
web_1 | at MoEmbed.Models.RequestContextExtensions.ExecuteAsync(RequestContext context, Func`2 func) in /src/MoEmbed.Core/Models/RequestContextExtensions.cs:line 24
web_1 | at MoEmbed.Models.RequestContextExtensions.ExecuteAsync(RequestContext context, Func`2 func) in /src/MoEmbed.Core/Models/RequestContextExtensions.cs:line 40
web_1 | --- End of inner exception stack trace ---
web_1 | at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
web_1 | at MoEmbed.Twitter.TwitterMetadata.<FetchAsyncCore>b__18_1(Task`1 t) in /src/MoEmbed.Twitter/TwitterMetadata.cs:line 116
web_1 | at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
web_1 | at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
web_1 | --- End of stack trace from previous location where exception was thrown ---
web_1 | at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
web_1 | --- End of stack trace from previous location where exception was thrown ---
web_1 | at MoEmbed.MetadataService.GetDataAsync(ConsumerRequest request) in /src/MoEmbed.Core/MetadataService.cs:line 135
web_1 | at MoEmbed.HttpMetadataHandler.HandleAsync(HttpContext context) in /src/MoEmbed.Core/HttpMetadataHandler.cs:line 122
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment