Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre2
Assignee: Unassigned
Components: Encoding
Created: 30/Aug/12 11:10 AM
Description:
jruby-1.7.0.preview2 :003 > ::Mongoid::Sessions.default.drop
Encoding::UndefinedConversionError: Input length = 1
	from org/jruby/RubyIO.java:1400:in `write'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/connection.rb:229:in `write'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/connection.rb:235:in `handle_socket_errors'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/connection.rb:229:in `write'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/connection.rb:146:in `write'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/connection.rb:169:in `with_connection'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/connection.rb:145:in `write'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:517:in `flush'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:123:in `ensure_connected'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:516:in `flush'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:531:in `logging'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:515:in `flush'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:504:in `process'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:70:in `command'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/node.rb:366:in `refresh'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/cluster.rb:112:in `refresh'
... 4 levels...
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/session/context.rb:108:in `with_node'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/session/context.rb:50:in `command'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/database.rb:89:in `drop'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/session.rb:305:in `with'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/database.rb:88:in `drop'
	from /Users/tim/.rvm/gems/jruby-head/gems/moped-1.2.1/lib/moped/session.rb:130:in `drop'
	from (irb):3:in `evaluate'
	from org/jruby/RubyKernel.java:1064:in `eval'
	from org/jruby/RubyKernel.java:1389:in `loop'
	from org/jruby/RubyKernel.java:1172:in `catch'
	from org/jruby/RubyKernel.java:1172:in `catch'
	from /Users/tim/.rvm/gems/jruby-head/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in `start'
	from /Users/tim/.rvm/gems/jruby-head/gems/railties-3.2.8/lib/rails/commands/console.rb:8:in `start'
	from /Users/tim/.rvm/gems/jruby-head/gems/railties-3.2.8/lib/rails/commands.rb:41:in `(root)'
	from org/jruby/RubyKernel.java:1018:in `require'
	from script/rails:6:in `(root)'jruby-1.7.0.preview2 :004 > 

$ jruby -v
jruby 1.7.0.preview2 (1.9.3p203) 2012-08-30 b16f8c3 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_05-b06 [darwin-x86_64]
Environment: Mac OS X 10.7.4 Java 1.7.0_05
Project: JRuby
Priority: Major Major
Reporter: Tim Olsen
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to