_rubyexception when accessing ‘event’ array in ruby code

See _rubyexception when accessing 'event' array in ruby code.