Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

マイリストの動画にサムネールが無いとNullReferenceExceptionにより落ちる #1

Open
GitHub920 opened this issue Feb 8, 2015 · 0 comments

Comments

@GitHub920
Copy link

削除された動画のようにサムネールが存在しない動画のサムネールURLを取得しようとしたとき、
NullReferenceExceptionが発生する。
発生個所はMyList.csの以下。
Thumbnail = item.Element("video").Element("thumbnail_url").Value
豪快にThumbnail = ""としてしまうか、適当な例外ハンドリングをすることで問題が解消する。

ストアに公開されていたときは当該エラーで落ちるため一切使用できなかったのだが、暇だったのでバグ潰しで遊んだ。今となってはIEで表示できてしまうため、修正しても有難味があまりない。公開停止前に修正がなされれば少しは重宝したのだが。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant