Project

General

Profile

Actions

バグ #1310

closed

通知が来た時にクラッシュすることがある

Added by ncaq エヌユル almost 6 years ago. Updated almost 6 years ago.

Status:
終了
Priority:
通常
Target version:
プラグイン名:
クラッシュする:
Yes

Description

エラーメッセージ

NoMethodError undefined method `[]' for nil:NilClass
{MIKUTTER_DIR}/core/plugin/notify/notify.rb:59:in `map'
{MIKUTTER_DIR}/core/plugin/notify/notify.rb:59:in `block (2 levels) in <top (required)>'
/usr/lib64/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/listener.rb:25:in `call'
/usr/lib64/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:97:in `block (2 levels) in call_all_listeners'
/usr/lib64/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:96:in `each'
/usr/lib64/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:96:in `block in call_all_listeners'
/usr/lib64/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:95:in `catch'
/usr/lib64/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:95:in `call_all_listeners'
/usr/lib64/ruby/gems/2.4.0/gems/pluggaloid-1.1.1/lib/pluggaloid/event.rb:39:in `block in call'
/usr/lib64/ruby/gems/2.4.0/gems/delayer-0.0.2/lib/delayer/procedure.rb:24:in `run'
/usr/lib64/ruby/gems/2.4.0/gems/delayer-0.0.2/lib/delayer/extend.rb:58:in `run_once'
/usr/lib64/ruby/gems/2.4.0/gems/delayer-0.0.2/lib/delayer/extend.rb:30:in `run'
/usr/lib64/ruby/gems/2.4.0/gems/delayer-0.0.2/lib/delayer.rb:43:in `method_missing'
{MIKUTTER_DIR}/core/plugin/gtk/delayer.rb:10:in `block in boot'
{MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:10:in `main'
{MIKUTTER_DIR}/core/plugin/gtk/mainloop.rb:10:in `mainloop'
{MIKUTTER_DIR}/mikutter.rb:69:in `boot!'
{MIKUTTER_DIR}/mikutter.rb:105:in `<main>'

簡単なバグなのでパッチを作りました.


Files

0001-fixed-nil.patch (3.29 KB) 0001-fixed-nil.patch パッチ ncaq エヌユル, 2019-01-10 13:47

再現手順

通知が来るのを待つ

Actions

Also available in: Atom PDF