ByteBuffer.java:328:in `allocate': java.lang.IllegalArgumentException when
returning SOAP queries over a certain size
---------------------------------------------------------------------------------------------------------------------
Key: JRUBY-3829
URL: http://jira.codehaus.org/browse/JRUBY-3829
Project: JRuby
Issue Type: Bug
Components: OpenSSL
Affects Versions: JRuby-OpenSSL 0.5
Environment: jruby 1.3.1, jruby-openssl-0.5
Reporter: Rob Holland
We have some SOAP code using jruby-openssl which crashes when we have a
response above a certain size (it's not easy
for us to figure out what that is, but if required we can).
The full backtrace:
ByteBuffer.java:328:in `allocate': java.lang.IllegalArgumentException
from SSLSocket.java:426:in `sysread'
from
org/jruby/ext/openssl/SSLSocket$i_method_0_1$RUBYINVOKER$sysread.gen:-1:in
`call'
from JavaMethod.java:624:in `call'
from DynamicMethod.java:172:in `call'
from CachingCallSite.java:155:in `call'
from FCallTwoArgNode.java:38:in `interpret'
from ReturnNode.java:88:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:225:in `executeBody'
from RescueNode.java:147:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from IfNode.java:112:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:210:in `call'
from DefaultMethod.java:167:in `call'
from CachingCallSite.java:155:in `call'
from CallSpecialArgNode.java:69:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:210:in `call'
from DefaultMethod.java:167:in `call'
from CachingCallSite.java:155:in `call'
from CallTwoArgNode.java:59:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:225:in `executeBody'
from RescueNode.java:147:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedBlock.java:218:in `evalBlockBody'
from InterpretedBlock.java:169:in `yield'
from Block.java:194:in `yield'
from YieldNode.java:143:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from EnsureNode.java:96:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:229:in `call'
from DefaultMethod.java:175:in `call'
from CachingCallSite.java:164:in `callBlock'
from CachingCallSite.java:181:in `callIter'
from FCallTwoArgBlockNode.java:34:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from WhileNode.java:131:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:155:in `call'
from DefaultMethod.java:143:in `call'
from CachingCallSite.java:268:in `cacheAndCall'
from CachingCallSite.java:86:in `callBlock'
from CachingCallSite.java:91:in `call'
from FCallNoArgBlockPassNode.java:27:in `interpret'
from NewlineNode.java:104:in `interpret'
from IfNode.java:112:in `interpret'
from IfNode.java:114:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from RescueNode.java:225:in `executeBody'
from RescueNode.java:147:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:155:in `call'
from DefaultMethod.java:143:in `call'
from CachingCallSite.java:268:in `cacheAndCall'
from CachingCallSite.java:86:in `callBlock'
from CachingCallSite.java:91:in `call'
from CallNoArgBlockNode.java:64:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:266:in `call'
from DefaultMethod.java:191:in `call'
from CachingCallSite.java:328:in `cacheAndCall'
from CachingCallSite.java:206:in `callBlock'
from CachingCallSite.java:211:in `call'
from FCallThreeArgBlockPassNode.java:36:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedBlock.java:218:in `evalBlockBody'
from InterpretedBlock.java:169:in `yield'
from Block.java:194:in `yield'
from YieldNode.java:143:in `interpret'
from NewlineNode.java:104:in `interpret'
from RescueNode.java:225:in `executeBody'
from RescueNode.java:147:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedMethod.java:155:in `call'
from DefaultMethod.java:143:in `call'
from CachingCallSite.java:268:in `cacheAndCall'
from CachingCallSite.java:86:in `callBlock'
from CachingCallSite.java:101:in `callIter'
from FCallNoArgBlockNode.java:32:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from RescueNode.java:225:in `executeBody'
from RescueNode.java:147:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from WhileNode.java:131:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:112:in `call'
from DefaultMethod.java:117:in `call'
from CachingCallSite.java:238:in `cacheAndCall'
from CachingCallSite.java:46:in `callBlock'
from CachingCallSite.java:51:in `call'
from FCallManyArgsBlockPassNode.java:27:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:112:in `call'
from DefaultMethod.java:117:in `call'
from CachingCallSite.java:238:in `cacheAndCall'
from CachingCallSite.java:46:in `callBlock'
from CachingCallSite.java:51:in `call'
from FCallManyArgsBlockPassNode.java:27:in `interpret'
from NewlineNode.java:104:in `interpret'
from InterpretedMethod.java:247:in `call'
from DefaultMethod.java:183:in `call'
from CachingCallSite.java:318:in `cacheAndCall'
from CachingCallSite.java:197:in `call'
from CallThreeArgNode.java:61:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from WhileNode.java:131:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from RescueNode.java:225:in `executeBody'
from RescueNode.java:147:in `interpretWithJavaExceptions'
from RescueNode.java:110:in `interpret'
from BeginNode.java:83:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:247:in `call'
from DefaultMethod.java:183:in `call'
from CachingCallSite.java:318:in `cacheAndCall'
from CachingCallSite.java:197:in `call'
from FCallThreeArgNode.java:40:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:247:in `call'
from DefaultMethod.java:183:in `call'
from CachingCallSite.java:318:in `cacheAndCall'
from CachingCallSite.java:197:in `call'
from CallThreeArgNode.java:61:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:112:in `call'
from InterpretedMethod.java:124:in `call'
from DefaultMethod.java:126:in `call'
from CachingCallSite.java:248:in `cacheAndCall'
from CachingCallSite.java:37:in `call'
from FCallManyArgsNode.java:60:in `interpret'
from LocalAsgnNode.java:123:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:210:in `call'
from DefaultMethod.java:167:in `call'
from CachingCallSite.java:298:in `cacheAndCall'
from CachingCallSite.java:157:in `call'
from CallSpecialArgNode.java:69:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:210:in `call'
from DefaultMethod.java:167:in `call'
from CachingCallSite.java:298:in `cacheAndCall'
from CachingCallSite.java:157:in `call'
from FCallSpecialArgNode.java:41:in `interpret'
from NewlineNode.java:104:in `interpret'
from BlockNode.java:71:in `interpret'
from InterpretedMethod.java:173:in `call'
from DefaultMethod.java:151:in `call'
from CachingCallSite.java:278:in `cacheAndCall'
from CachingCallSite.java:117:in `call'
from ilm_util:206:in `__file__'
from ilm_util:-1:in `load'
from Ruby.java:592:in `runScript'
from Ruby.java:514:in `runNormally'
from Ruby.java:360:in `runFromMain'
from Main.java:268:in `run'
from Main.java:113:in `run'
from Main.java:97:in `main'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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