プロジェクト

全般

プロフィール

バグ #419

完了

【バグ?】filter_show_filterでフィルターを作っているときにAPI切れでTLが取得できない時に落ちる

コスモ 虹川 さんが約12年前に追加. 約12年前に更新.

ステータス:
却下
優先度:
低め
担当者:
対象バージョン:
-
プラグイン名:
ブランチ:
クラッシュする:

説明

以下エラー:

TypeError can't convert nil into String
{MIKUTTER_DIR}/plugin/client_filter.rb:8:in `include?'
{MIKUTTER_DIR}/plugin/client_filter.rb:8:in `block (4 levels) in <top (required)>'
{MIKUTTER_DIR}/plugin/client_filter.rb:7:in `each'
{MIKUTTER_DIR}/plugin/client_filter.rb:7:in `any?'
{MIKUTTER_DIR}/plugin/client_filter.rb:7:in `block (3 levels) in <top (required)>'
{MIKUTTER_DIR}/plugin/client_filter.rb:6:in `select'
{MIKUTTER_DIR}/plugin/client_filter.rb:6:in `block (2 levels) in <top (required)>'
{MIKUTTER_DIR}/core/plugin.rb:217:in `call'
{MIKUTTER_DIR}/core/plugin.rb:217:in `block (3 levels) in filtering'
{MIKUTTER_DIR}/core/plugin.rb:263:in `block in call_routine'
{MIKUTTER_DIR}/core/plugin.rb:263:in `catch'
{MIKUTTER_DIR}/core/plugin.rb:263:in `call_routine'
{MIKUTTER_DIR}/core/plugin.rb:252:in `boot_plugin'
{MIKUTTER_DIR}/core/plugin.rb:216:in `block (2 levels) in filtering'
{MIKUTTER_DIR}/core/plugin.rb:213:in `each'
{MIKUTTER_DIR}/core/plugin.rb:213:in `inject'
{MIKUTTER_DIR}/core/plugin.rb:213:in `block in filtering'
{MIKUTTER_DIR}/core/plugin.rb:212:in `catch'
{MIKUTTER_DIR}/core/plugin.rb:212:in `filtering'
{MIKUTTER_DIR}/core/mui/gtk_timeline_utils.rb:85:in `add'
{MIKUTTER_DIR}/core/lib/uithreadonly.rb:22:in `block (2 levels) in singletonclass'
{MIKUTTER_DIR}/core/addon/friend_timeline.rb:10:in `block (2 levels) in <top (required)>'
{MIKUTTER_DIR}/core/plugin.rb:236:in `call'
{MIKUTTER_DIR}/core/plugin.rb:236:in `block in plugin_callback_loop'
{MIKUTTER_DIR}/core/plugin.rb:244:in `call'
{MIKUTTER_DIR}/core/plugin.rb:244:in `block (2 levels) in plugin_loop'
{MIKUTTER_DIR}/core/plugin.rb:263:in `block in call_routine'
{MIKUTTER_DIR}/core/plugin.rb:263:in `catch'
{MIKUTTER_DIR}/core/plugin.rb:263:in `call_routine'
{MIKUTTER_DIR}/core/plugin.rb:250:in `block in boot_plugin'
{MIKUTTER_DIR}/core/plugin.rb:250:in `new'
{MIKUTTER_DIR}/core/plugin.rb:250:in `boot_plugin'
{MIKUTTER_DIR}/core/plugin.rb:243:in `block in plugin_loop'
{MIKUTTER_DIR}/core/plugin.rb:242:in `each'
{MIKUTTER_DIR}/core/plugin.rb:242:in `plugin_loop'
{MIKUTTER_DIR}/core/plugin.rb:235:in `plugin_callback_loop'

mikutter_botのメッセージにクライアント情報が含まれていないのが原因なんでしょうかね。

toshi_a 初音 さんが約12年前に更新

  • ステータス新規 から レビュー待ち に変更

Messageには、必ずクライアント名が含まれているわけでは無いので、クライアント名の取得に失敗すると常にnilを返す仕様です、プラグイン側で戻り値をチェックするようにしてください。
それ以外の挙動が原因なら、このチケットを差し戻してください。

コスモ 虹川 さんが約12年前に更新

  • ステータスレビュー待ち から 却下 に変更

プラグイン側で戻り値のチェックをするようにしました。このチケットは却下とします。

他の形式にエクスポート: Atom PDF