question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ArgumentNullException: Value cannot be null.

See original GitHub issue

Hello,

Some links is ok but with some others youtube links i take this error

e.g: https://www.youtube.com/watch?v=QKm-SOOMC4c

ArgumentNullException: Value cannot be null.

Parameter name: value Newtonsoft.Json.Utilities.ValidationUtils.ArgumentNotNull (System.Object value, System.String parameterName) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Utilities/ValidationUtils.cs:38) Newtonsoft.Json.Linq.Extensions.Value[T,U] (System.Collections.Generic.IEnumerable1[T] value) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Linq/Extensions.cs:174) Newtonsoft.Json.Linq.Extensions.Value[U] (System.Collections.Generic.IEnumerable1[T] value) (at C:/Users/bhadriche/Desktop/Tag AR/Assets/JsonDotNet/JsonDotNet201Source~/Source/Newtonsoft.Json/Linq/Extensions.cs:162) YoutubeExplode.YoutubeClient+<GetPlayerConfigurationAsync>d__37.MoveNext () (at Assets/YoutubeExplode/YoutubeClient.Video.cs:80) — End of stack trace from previous location where exception was thrown — System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () (at <7d97106330684add86d080ecf65bfe69>:0) YoutubeExplode.YoutubeClient+<GetVideoMediaStreamInfosAsync>d__41.MoveNext () (at Assets/YoutubeExplode/YoutubeClient.Video.cs:362) --- End of stack trace from previous location where exception was thrown --- System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <7d97106330684add86d080ecf65bfe69>:0) System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () (at <7d97106330684add86d080ecf65bfe69>:0) YoutubePlayer.YoutubePlayer+<PlayVideoAsync>d__9.MoveNext () (at Assets/YoutubePlayer/Scripts/YoutubePlayer.cs:64) UnityEngine.Debug:LogException(Exception) YoutubePlayer.<PlayVideoAsync>d__9:MoveNext() (at Assets/YoutubePlayer/Scripts/YoutubePlayer.cs:81) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetException(Exception) YoutubeExplode.<GetVideoMediaStreamInfosAsync>d__41:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:588) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetException(Exception) YoutubeExplode.<GetPlayerConfigurationAsync>d__37:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:190) System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetResult(IHtmlDocument) YoutubeExplode.<GetVideoEmbedPageHtmlAsync>d__35:MoveNext() (at Assets/YoutubeExplode/YoutubeClient.Video.cs:58) UnityEngine.UnitySynchronizationContext:ExecuteTasks()

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
iBichacommented, Nov 18, 2019

Hi guys, I apologize for lack of activity on my side. I’ve been a bit busy, I do plan on updating this repo and improve things, but I do not have an ETA. Pull requests are more than welcome in the meantime. Cheers

0reactions
iBichacommented, Dec 11, 2020

Please reopen issue if problem persists. thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

c# - System.ArgumentNullException: Value cannot be null. ...
So as you see the method throws an ArgumentNullException instead of a NullReferenceException if source is null .
Read more >
How to Handle the ArgumentNullException in C# | Rollbar
ArgumentNullException occurs when an invalid argument is passed to a method in C#. In this case, it refers to the passing of a...
Read more >
Value cannot be null. Parameter name: dest - Unity Forum
I don't know what "ArgumentNullException: Value cannot be null. Parameter name: dest" means or how to fix it but my scene won't render....
Read more >
FIX: ArgumentNullException exception error message ...
Value cannot be null. Note This problem does not occur when the client invokes the Web service call synchronously. Resolution. A supported hotfix...
Read more >
ArgumentNullException: Value cannot be null. : r/Unity3D
ArugmentNullException s are thrown whenever an argument passed to a method is null and the method doesn't know what to do with a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found