Skip to content

Instantly share code, notes, and snippets.

@mixflame
Created November 21, 2012 22:40
Show Gist options
  • Save mixflame/4128323 to your computer and use it in GitHub Desktop.
Save mixflame/4128323 to your computer and use it in GitHub Desktop.
E/AndroidRuntime(10028): FATAL EXCEPTION: main
E/AndroidRuntime(10028): org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `clear' for nil:NilClass
E/AndroidRuntime(10028): at org.jruby.RubyBasicObject.method_missing(org/jruby/RubyBasicObject.java:1660)
E/AndroidRuntime(10028): at RUBY.method_missing(file:/data/app/com.jonsoft.globalchat-1.apk!/ruboto/base.rb:29)
E/AndroidRuntime(10028): at RUBY.reload_list(file:/data/app/com.jonsoft.globalchat-1.apk!/ruboto/widget.rb:171)
E/AndroidRuntime(10028): at RUBY.reload_nicks(file:/data/app/com.jonsoft.globalchat-1.apk!/global_chat_controller.rb:123)
W/ActivityManager( 308): Force finishing activity com.jonsoft.globalchat/org.ruboto.RubotoActivity
W/ActivityManager( 308): Force finishing activity com.jonsoft.globalchat/.ServerList
@mixflame
Copy link
Author

  def reload_nicks
    # p @nicks_table
    $activity.run_on_ui_thread do
      if !@nicks_table.nil? && !@nicks.nil?
        @nicks_table.reload_list(@nicks)
      end
    end
  end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment