CommentViewerCollection / MultiCommentViewer

いろんな配信サイトのコメントを表示できるコメビュです
https://ryu-s.github.io/app/multicommentviewer
GNU General Public License v3.0
180 stars 44 forks source link

YouTubeの仕様変更による不具合 #175

Closed ryu-s closed 3 years ago

ryu-s commented 3 years ago

20210818_214545

ryu-s commented 3 years ago

実際のエラーログ

{"Ex":{"Name":"Microsoft.CSharp.RuntimeBinder.RuntimeBinderException","Message":"Null 非許容の値型であるため、Null を 'int' に変換できません","StackTrace":"   場所 CallSite.Target(Closure , CallSite , Object )\r\n   場所 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)\r\n   場所 YouTubeLiveSitePlugin.Next.Parser2.GetMessageParts(Object ren) 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 296\r\n   場所 YouTubeLiveSitePlugin.Next.Parser2.ParseLiveChatTextMessageRenderer(Object ren) 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 380\r\n   場所 YouTubeLiveSitePlugin.Next.Parser2.ParseAction(Object action) 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 398\r\n   場所 YouTubeLiveSitePlugin.Next.YtInitialData.GetActions() 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 116\r\n   場所 YouTubeLiveSitePlugin.Next.CommentProviderNext.<ConnectInternalAsync>d__5.MoveNext() 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\CommentProviderNext.cs:行 415\r\n--- 直前に例外がスローされた場所からのスタック トレースの終わり ---\r\n   場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   場所 YouTubeLiveSitePlugin.Next.CommentProviderNext.<ConnectAsync>d__20.MoveNext() 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\CommentProviderNext.cs:行 760\r\n--- 直前に例外がスローされた場所からのスタック トレースの終わり ---\r\n   場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   場所 MultiCommentViewer.ConnectionViewModel.<Connect>d__95.MoveNext() 場所 D:\\workspace\\MultiCommentViewer\\MultiCommentViewer\\ViewModels\\ConnectionViewModel.cs:行 335","Timestamp":"2021/08/18 03:06:37","InnerError":null,"Properties":{"Message":"Null 非許容の値型であるため、Null を 'int' に変換できません","StackTrace":"   場所 CallSite.Target(Closure , CallSite , Object )\r\n   場所 System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)\r\n   場所 YouTubeLiveSitePlugin.Next.Parser2.GetMessageParts(Object ren) 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 296\r\n   場所 YouTubeLiveSitePlugin.Next.Parser2.ParseLiveChatTextMessageRenderer(Object ren) 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 380\r\n   場所 YouTubeLiveSitePlugin.Next.Parser2.ParseAction(Object action) 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 398\r\n   場所 YouTubeLiveSitePlugin.Next.YtInitialData.GetActions() 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\Tools.cs:行 116\r\n   場所 YouTubeLiveSitePlugin.Next.CommentProviderNext.<ConnectInternalAsync>d__5.MoveNext() 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\CommentProviderNext.cs:行 415\r\n--- 直前に例外がスローされた場所からのスタック トレースの終わり ---\r\n   場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   場所 YouTubeLiveSitePlugin.Next.CommentProviderNext.<ConnectAsync>d__20.MoveNext() 場所 D:\\workspace\\MultiCommentViewer\\YouTubeLiveSitePlugin\\Next\\CommentProviderNext.cs:行 760\r\n--- 直前に例外がスローされた場所からのスタック トレースの終わり ---\r\n   場所 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   場所 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   場所 MultiCommentViewer.ConnectionViewModel.<Connect>d__95.MoveNext() 場所 D:\\workspace\\MultiCommentViewer\\MultiCommentViewer\\ViewModels\\ConnectionViewModel.cs:行 335","HelpLink":null,"Source":"Anonymously Hosted DynamicMethods Assembly"}},"Title":"","Detail":""},
ryu-s commented 3 years ago

修正完了 56c84a6607ffc141f2c90cd5914f237cde1223f3