Issue Type: Bug Bug
Affects Versions: JRuby 1.7.4
Assignee: Thomas E Enebo
Created: 06/May/13 8:38 AM
Description:

With the dev versions of 1.7.4 I'm getting an NPE when doing a simple HTTP GET with Excon that I do not see with JRuby 1.7.2 or 1.7.3.

nirvdrum@melchior ~/dev/workspaces/mogotest $ irb
>> require 'excon'
=> true
>> Excon.get('https://mogotest.com/')
Excon::Errors::SocketError:  (Java::JavaLang::NullPointerException)
	from org.jruby.exceptions.RaiseException.<init>(RaiseException.java:118)
	from org.jruby.Ruby.newLightweightErrnoException(Ruby.java:3707)
	from org.jruby.Ruby.newErrnoEINPROGRESSWritableError(Ruby.java:3253)
	from org.jruby.ext.socket.RubySocket.doConnect(RubySocket.java:467)
	from org.jruby.ext.socket.RubySocket.doConnectNonblock(RubySocket.java:435)
	from org.jruby.ext.socket.RubySocket.connect_nonblock(RubySocket.java:196)
	from org.jruby.ext.socket.RubySocket$INVOKER$i$1$0$connect_nonblock.call(RubySocket$INVOKER$i$1$0$connect_nonblock.gen)
	from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
	from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
	from org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57)
	from org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
	from org.jruby.ast.IfNode.interpret(IfNode.java:116)
	from org.jruby.ast.NewlineNode.interpret(NewlineNode.java:105)
	from org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	from org.jruby.ast.RescueNode.executeBody(RescueNode.java:222)
	from org.jruby.ast.RescueNode.interpret(RescueNode.java:117)
... 260 levels...
	from org.jruby.ast.BlockNode.interpret(BlockNode.java:71)
	from org.jruby.evaluator.ASTInterpreter.INTERPRET_METHOD(ASTInterpreter.java:74)
	from org.jruby.internal.runtime.methods.InterpretedMethod.call(InterpretedMethod.java:182)
	from org.jruby.internal.runtime.methods.DefaultMethod.call(DefaultMethod.java:186)
	from org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:326)
	from org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:170)
	from home.nirvdrum.$_dot_rbenv.versions.jruby_minus_1_dot_7_dot_4_minus_dev.bin.irb.__file__(/home/nirvdrum/.rbenv/versions/jruby-1.7.4-dev/bin/irb:13)
	from home.nirvdrum.$_dot_rbenv.versions.jruby_minus_1_dot_7_dot_4_minus_dev.bin.irb.load(/home/nirvdrum/.rbenv/versions/jruby-1.7.4-dev/bin/irb)
	from org.jruby.Ruby.runScript(Ruby.java:807)
	from org.jruby.Ruby.runScript(Ruby.java:800)
	from org.jruby.Ruby.runNormally(Ruby.java:669)
	from org.jruby.Ruby.runFromMain(Ruby.java:518)
	from org.jruby.Main.doRunFromMain(Main.java:390)
	from org.jruby.Main.internalRun(Main.java:279)
	from org.jruby.Main.run(Main.java:221)
	from org.jruby.Main.main(Main.java:201)
Project: JRuby
Priority: Major Major
Reporter: Kevin Menard
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