操作
バグ #557
完了プロフィールを開いたときに落ちることがある
プラグイン名:
ブランチ:
クラッシュする:
説明
bioが空のユーザのプロフィールを開くと落ちることがある.
実際,rev.1119 で @__oxo のプロフィールを開くと落ちた.
mikutterユーザ会のときに @wasao を開いても落ちた記憶があるけど,キャッシュの問題なのかなぜか今は再現しない.
落ちたときのエラーログです.
TypeError can't convert nil into String {MIKUTTER_DIR}/core/mui/gtk_intelligent_textview.rb:98:in `insert' {MIKUTTER_DIR}/core/mui/gtk_intelligent_textview.rb:98:in `gen_body' {MIKUTTER_DIR}/core/mui/gtk_intelligent_textview.rb:82:in `rewind' {MIKUTTER_DIR}/core/plugin/profile/profile.rb:68:in `block (3 levels) in <top (required)>' {MIKUTTER_DIR}/core/plugin/gui/profiletab.rb:33:in `user_complete' {MIKUTTER_DIR}/core/plugin/profile/profile.rb:64:in `block (2 levels) in <top (required)>' {MIKUTTER_DIR}/core/plugin/gui/dsl.rb:67:in `instance_eval' {MIKUTTER_DIR}/core/plugin/gui/dsl.rb:67:in `block in profiletab' {MIKUTTER_DIR}/core/plugin.rb:233:in `call' {MIKUTTER_DIR}/core/plugin.rb:233:in `block in event_wrap' {MIKUTTER_DIR}/core/plugin.rb:328:in `call' {MIKUTTER_DIR}/core/plugin.rb:328:in `block in plugin_callback_loop' {MIKUTTER_DIR}/core/plugin.rb:336:in `call' {MIKUTTER_DIR}/core/plugin.rb:336:in `block (2 levels) in plugin_loop' {MIKUTTER_DIR}/core/plugin.rb:348:in `block in call_routine' {MIKUTTER_DIR}/core/plugin.rb:348:in `catch' {MIKUTTER_DIR}/core/plugin.rb:348:in `call_routine' {MIKUTTER_DIR}/core/plugin.rb:342:in `block in boot_plugin' {MIKUTTER_DIR}/core/plugin.rb:342:in `new' {MIKUTTER_DIR}/core/plugin.rb:342:in `boot_plugin' {MIKUTTER_DIR}/core/plugin.rb:335:in `block in plugin_loop' {MIKUTTER_DIR}/core/plugin.rb:334:in `each' {MIKUTTER_DIR}/core/plugin.rb:334:in `plugin_loop' {MIKUTTER_DIR}/core/plugin.rb:320:in `plugin_callback_loop' {MIKUTTER_DIR}/core/plugin.rb:311:in `block in call' {MIKUTTER_DIR}/core/delayer.rb:100:in `call' {MIKUTTER_DIR}/core/delayer.rb:100:in `run' {MIKUTTER_DIR}/core/delayer.rb:44:in `block (2 levels) in run' {MIKUTTER_DIR}/core/delayer.rb:33:in `each' {MIKUTTER_DIR}/core/delayer.rb:33:in `block in run' {MIKUTTER_DIR}/core/delayer.rb:29:in `times' {MIKUTTER_DIR}/core/delayer.rb:29:in `run' {MIKUTTER_DIR}/core/plugin/gtk/delayer.rb:26:in `block (2 levels) in on_regist' {MIKUTTER_DIR}/mikutter.rb:58:in `call' {MIKUTTER_DIR}/mikutter.rb:58:in `main' {MIKUTTER_DIR}/mikutter.rb:58:in `boot!' {MIKUTTER_DIR}/mikutter.rb:76:in `<main>'
toshi_a 初音 さんが11年以上前に更新
- ステータス を 新規 から 実装待ち に変更
- 担当者 を toshi_a 初音 にセット
こちらで調査したところ、再現はできませんでした。
Twitter API 1.0の検索をとおしてしか取得できなかったユーザだと、UserオブジェクトがTwitterから送られてこないので、データが欠落している場合があるので起こりえますが、API1.1に対応した0.2.1ではちょっと特定できませんでした。ただ、バックトレースからクラッシュした原因は明白なので、hotfix-0.2.1ブランチの 0eef302 で対応しておきました。しばらく様子を見ます。
操作