Tyrrrz / YoutubeExplode

Abstraction layer over YouTube's internal API
MIT License
2.95k stars 493 forks source link

Dictionary Null Exception #188

Closed darkdoctor closed 5 years ago

darkdoctor commented 5 years ago

Stack Trace: at System.Collections.Generic.Dictionary2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00111] in <0a19e172e1754614ae887838efc26707>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <0a19e172e1754614ae887838efc26707>:0 at YoutubeExplode.YoutubeClient+<GetVideoPlayerSourceAsync>d__41.MoveNext () [0x000b3] in <27780f3683634259843fa14c25706d1d>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0a19e172e1754614ae887838efc26707>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0a19e172e1754614ae887838efc26707>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0a19e172e1754614ae887838efc26707>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0a19e172e1754614ae887838efc26707>:0 at YoutubeExplode.YoutubeClient+d__44.MoveNext () [0x00295] in <27780f3683634259843fa14c25706d1d>:0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <0a19e172e1754614ae887838efc26707>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <0a19e172e1754614ae887838efc26707>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <0a19e172e1754614ae887838efc26707>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <0a19e172e1754614ae887838efc26707>:0

message: Object reference not set to an instance of an object

Tyrrrz commented 5 years ago

Does this happen often?

Tyrrrz commented 5 years ago

Anyway, this is fixed in master because that dictionary is no longer there.