Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: JRuby 1.1.5
-
Fix Version/s: JRuby 1.2
-
Component/s: Extensions, OpenSSL
-
Labels:None
-
Environment:HideMac OS X 10.5.5; SoyLatte 1.0.3 i386:
java version "1.6.0_03-p3"
Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00)
Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00, mixed mode)ShowMac OS X 10.5.5; SoyLatte 1.0.3 i386: java version "1.6.0_03-p3" Java(TM) SE Runtime Environment (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00) Java HotSpot(TM) Server VM (build 1.6.0_03-p3-landonf_19_aug_2008_14_55-b00, mixed mode)
-
Number of attachments :
Description
ava.lang.IllegalArgumentException when trying to execute a Hoe'ed "rake gem" task on SoyLatte JDK 1.0.3/JRuby,
To reproduce:
- use a Hoe'd Rakefile, e.g. the activerecord-jdbc-adapter code:
cd /activerecord-jdbc-adapter/drivers/mysql rake gem
I am encountering the following issue:
/usr/local/jruby-1.1.5/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake/gempackagetask.rb:13:Warning: Gem::manage_gems is deprecated and will be removed on or after March 2009.
WARNING: no author specified
WARNING: RDoc will not be generated (has_rdoc == false)
org.bouncycastle.x509.X509V3CertificateGenerator:-1:in `setSerialNumber': java.lang.IllegalArgumentException: serial number must be a positive integer
from org.jruby.ext.openssl.X509Cert:247:in `set_serial'
from org.jruby.ext.openssl.X509Cert:134:in `_initialize'
from org.jruby.ext.openssl.X509Cert$i_method_0_0$RUBYFRAMEDINVOKER$_initialize:-1:in `call'
from org.jruby.internal.runtime.methods.DynamicMethod:243:in `call'
from org.jruby.runtime.callsite.CachingCallSite:290:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:126:in `call'
from org.jruby.RubyClass$SpecificArityNew:555:in `call'
from org.jruby.internal.runtime.methods.DynamicMethod:152:in `call'
from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
from org.jruby.ast.CallOneArgNode:57:in `interpret'
from org.jruby.ast.DAsgnNode:107:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.ast.IfNode:108:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:153:in `yield'
from org.jruby.runtime.Block:116:in `yield'
from org.jruby.RubyArray:2065:in `collect'
from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$collect:-1:in `call'
from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:85:in `call'
from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
from org.jruby.ast.InstAsgnNode:88:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.IfNode:108:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:318:in `call'
from org.jruby.runtime.callsite.CachingCallSite:310:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:167:in `call'
from org.jruby.RubyClass$SpecificArityNew:561:in `call'
from org.jruby.internal.runtime.methods.DynamicMethod:169:in `call'
from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
from org.jruby.ast.CallTwoArgNode:59:in `interpret'
from org.jruby.ast.LocalAsgnNode:120:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.ast.IfNode:108:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:213:in `call'
from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
from org.jruby.ast.VCallNode:82:in `interpret'
from org.jruby.ast.InstAsgnNode:88:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:213:in `call'
from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
from org.jruby.ast.CallNoArgNode:61:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:190:in `yield'
from org.jruby.runtime.Block:129:in `yield'
from org.jruby.ast.YieldNode:95:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.IfNode:110:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:276:in `call'
from org.jruby.internal.runtime.methods.WrapperMethod:78:in `call'
from org.jruby.runtime.callsite.CachingCallSite:290:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:141:in `callIter'
from org.jruby.ast.FCallOneArgBlockNode:33:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:190:in `yield'
from org.jruby.runtime.BlockBody:64:in `call'
from org.jruby.runtime.Block:112:in `call'
from org.jruby.RubyProc:200:in `call'
from org.jruby.RubyProc:187:in `call'
from org.jruby.RubyProc$i_method_0_0$RUBYFRAMEDINVOKER$call:-1:in `call'
from org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock:62:in `call'
from org.jruby.internal.runtime.methods.DynamicMethod:261:in `call'
from org.jruby.internal.runtime.methods.DynamicMethod:169:in `call'
from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
from org.jruby.ast.CallTwoArgNode:59:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.CaseNode:112:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:153:in `yield'
from org.jruby.runtime.Block:116:in `yield'
from org.jruby.RubyArray:1519:in `each'
from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:85:in `call'
from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
from org.jruby.ast.FCallOneArgNode:36:in `interpret'
from org.jruby.ast.IfNode:108:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:190:in `yield'
from org.jruby.runtime.Block:129:in `yield'
from org.jruby.ast.YieldNode:95:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.EnsureNode:93:in `interpret'
from org.jruby.ast.BeginNode:80:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:234:in `call'
from org.jruby.internal.runtime.methods.AliasMethod:80:in `call'
from org.jruby.runtime.callsite.CachingCallSite:83:in `call'
from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:297:in `call'
from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
from org.jruby.ast.CallTwoArgNode:59:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:153:in `yield'
from org.jruby.runtime.Block:116:in `yield'
from org.jruby.RubyArray:1519:in `each'
from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:85:in `call'
from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:297:in `call'
from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:190:in `yield'
from org.jruby.runtime.Block:129:in `yield'
from org.jruby.ast.YieldNode:95:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.EnsureNode:93:in `interpret'
from org.jruby.ast.BeginNode:80:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:234:in `call'
from org.jruby.internal.runtime.methods.AliasMethod:80:in `call'
from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:85:in `call'
from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:297:in `call'
from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
from org.jruby.ast.FCallTwoArgNode:38:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:213:in `call'
from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
from org.jruby.ast.CallSpecialArgNode:65:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:255:in `call'
from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
from org.jruby.ast.FCallOneArgNode:36:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:153:in `yield'
from org.jruby.runtime.Block:116:in `yield'
from org.jruby.RubyArray:1519:in `each'
from org.jruby.RubyArray$i_method_0_0$RUBYFRAMEDINVOKER$each:-1:in `call'
from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:85:in `call'
from org.jruby.ast.CallNoArgBlockNode:63:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.IfNode:110:in `interpret'
from org.jruby.ast.IfNode:110:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:190:in `yield'
from org.jruby.runtime.Block:129:in `yield'
from org.jruby.ast.YieldNode:95:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.RescueNode:222:in `executeBody'
from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
from org.jruby.ast.RescueNode:107:in `interpret'
from org.jruby.ast.BeginNode:80:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:234:in `call'
from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:100:in `callIter'
from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:213:in `call'
from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
from org.jruby.ast.VCallNode:82:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.runtime.InterpretedBlock:202:in `evalBlockBody'
from org.jruby.runtime.InterpretedBlock:190:in `yield'
from org.jruby.runtime.Block:129:in `yield'
from org.jruby.ast.YieldNode:95:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.RescueNode:222:in `executeBody'
from org.jruby.ast.RescueNode:144:in `interpretWithJavaExceptions'
from org.jruby.ast.RescueNode:107:in `interpret'
from org.jruby.ast.BeginNode:80:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:234:in `call'
from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:100:in `callIter'
from org.jruby.ast.FCallNoArgBlockNode:31:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.internal.runtime.methods.DefaultMethod:165:in `interpretedCall'
from org.jruby.internal.runtime.methods.DefaultMethod:142:in `call'
from org.jruby.internal.runtime.methods.DefaultMethod:213:in `call'
from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
from org.jruby.ast.CallNoArgNode:61:in `interpret'
from org.jruby.ast.NewlineNode:101:in `interpret'
from org.jruby.ast.BlockNode:68:in `interpret'
from org.jruby.ast.RootNode:126:in `interpret'
from org.jruby.Ruby:2121:in `loadFile'
from org.jruby.runtime.load.ExternalScript:58:in `load'
from org.jruby.runtime.load.LoadService:249:in `load'
from org.jruby.RubyKernel:841:in `load'
from org.jruby.RubyKernel$s_method_0_1$RUBYFRAMEDINVOKER$load:-1:in `call'
from org.jruby.internal.runtime.methods.DynamicMethod:243:in `call'
from org.jruby.internal.runtime.methods.DynamicMethod:152:in `call'
from org.jruby.runtime.callsite.CachingCallSite:280:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:116:in `call'
from usr.local.jruby_minus_1_dot_1_dot_5.bin.rake:19:in `__file__'
from usr.local.jruby_minus_1_dot_1_dot_5.bin.rake:-1:in `__file__'
from usr.local.jruby_minus_1_dot_1_dot_5.bin.rake:-1:in `load'
from org.jruby.Ruby:560:in `runScript'
from org.jruby.Ruby:463:in `runNormally'
from org.jruby.Ruby:337:in `runFromMain'
from org.jruby.Main:214:in `run'
from org.jruby.Main:100:in `run'
from org.jruby.Main:84:in `main'
I should add that I built JRuby from source on SoyLatte (ant).
jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-04 rev 6586) [i386-java]