JRuby

IllegalArgumentException in X509V3CertificateGenerator when executing Hoe's rake gem running on SoyLatte JDK

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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:
  • Number of attachments :
    0

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'

Activity

Hide
Alex Coles added a comment -

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]

Show
Alex Coles added a comment - 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]
Hide
Alex Coles added a comment -

Looks like an isolated issue with the BSD port of IcedTea, SoyLatte.
Cannot reproduce with OpenJDK on Ubuntu 8.10 (6b12-0ubuntu6).

Show
Alex Coles added a comment - Looks like an isolated issue with the BSD port of IcedTea, SoyLatte. Cannot reproduce with OpenJDK on Ubuntu 8.10 (6b12-0ubuntu6).
Hide
Charles Oliver Nutter added a comment -

Weird...can you run this with -X+C and re-post the trace? (it will have ruby line numbers in it). I've never seen this but I haven't tried to build a Hoe-based gem with JRuby-OpenSSL recently...

Show
Charles Oliver Nutter added a comment - Weird...can you run this with -X+C and re-post the trace? (it will have ruby line numbers in it). I've never seen this but I haven't tried to build a Hoe-based gem with JRuby-OpenSSL recently...
Hide
Alex Coles added a comment - - edited

Here's the results of running jruby -X+C -S rake gem

/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.
** README.txt is missing or in the wrong format for auto-intuiting.
   run `sow blah` and look at its text files
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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.security:770:in `block_10$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.securityBlockCallback$block_10$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.security:765:in `method__12$RUBY$initialize'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.securityInvokermethod__12$RUBY$initializeFixed2:-1: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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builder:60:in `method__5$RUBY$sign'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builderInvokermethod__5$RUBY$signFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builder:36:in `method__3$RUBY$build'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builderInvokermethod__3$RUBY$buildFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetask:86:in `block_1$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetaskBlockCallback$block_1$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1137:in `method__115$RUBY$when_writing'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__115$RUBY$when_writingOpt:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:243: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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetask:85:in `block_0$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetaskBlockCallback$block_0$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120: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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:617:in `block_10$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_10$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:98:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:612:in `method__65$RUBY$execute'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__65$RUBY$executeOpt:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:243:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:221:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:114:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:578:in `block_8$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_8$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:191:in `ensure_1$RUBY$__ensure___14'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:190:in `method__13$RUBY$mon_synchronize'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitorInvokermethod__13$RUBY$mon_synchronizeFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.AliasMethod:80:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:98:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:571:in `method__62$RUBY$invoke_with_call_chain'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__62$RUBY$invoke_with_call_chainFixed2:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:226:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:588:in `block_9$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_9$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:585:in `method__63$RUBY$invoke_prerequisites'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__63$RUBY$invoke_prerequisitesFixed2:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:226:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:577:in `block_8$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_8$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:191:in `ensure_1$RUBY$__ensure___14'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:190:in `method__13$RUBY$mon_synchronize'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitorInvokermethod__13$RUBY$mon_synchronizeFixed0:-1: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:571:in `method__62$RUBY$invoke_with_call_chain'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__62$RUBY$invoke_with_call_chainFixed2:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:226:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:564:in `method__61$RUBY$invoke'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__61$RUBY$invokeOpt:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:136:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:250:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:34:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2019:in `method__198$RUBY$invoke_task'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__198$RUBY$invoke_taskFixed1:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:221: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.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1997:in `block_62$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_62$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1997:in `block_61$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_61$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2036:in `rescue_4$RUBY$__rescue___201'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2035:in `method__200$RUBY$standard_exception_handling'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__200$RUBY$standard_exception_handlingFixed0:-1:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1991:in `method__195$RUBY$top_level'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__195$RUBY$top_levelFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1970:in `block_58$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_58$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2036:in `rescue_4$RUBY$__rescue___201'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2035:in `method__200$RUBY$standard_exception_handling'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__200$RUBY$standard_exception_handlingFixed0:-1:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1967:in `method__192$RUBY$run'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__192$RUBY$runFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.bin.rake:31:in `__file__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.bin.rake:-1:in `__file__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.bin.rake:-1:in `load'
	from org.jruby.Ruby:560:in `runScript'
	from org.jruby.Ruby:2148:in `compileAndLoadFile'
	from org.jruby.runtime.load.ExternalScript:56: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'
Show
Alex Coles added a comment - - edited Here's the results of running jruby -X+C -S rake gem
/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.
** README.txt is missing or in the wrong format for auto-intuiting.
   run `sow blah` and look at its text files
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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.security:770:in `block_10$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.securityBlockCallback$block_10$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.security:765:in `method__12$RUBY$initialize'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.securityInvokermethod__12$RUBY$initializeFixed2:-1: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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builder:60:in `method__5$RUBY$sign'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builderInvokermethod__5$RUBY$signFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builder:36:in `method__3$RUBY$build'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.site_ruby.$1_dot_8.rubygems.builderInvokermethod__3$RUBY$buildFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetask:86:in `block_1$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetaskBlockCallback$block_1$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1137:in `method__115$RUBY$when_writing'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__115$RUBY$when_writingOpt:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:243: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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetask:85:in `block_0$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake.gempackagetaskBlockCallback$block_0$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120: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 usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:617:in `block_10$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_10$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:98:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:612:in `method__65$RUBY$execute'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__65$RUBY$executeOpt:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:243:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:221:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:114:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:578:in `block_8$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_8$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:191:in `ensure_1$RUBY$__ensure___14'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:190:in `method__13$RUBY$mon_synchronize'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitorInvokermethod__13$RUBY$mon_synchronizeFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.AliasMethod:80:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:98:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:571:in `method__62$RUBY$invoke_with_call_chain'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__62$RUBY$invoke_with_call_chainFixed2:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:226:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:588:in `block_9$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_9$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:585:in `method__63$RUBY$invoke_prerequisites'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__63$RUBY$invoke_prerequisitesFixed2:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:226:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:577:in `block_8$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_8$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:191:in `ensure_1$RUBY$__ensure___14'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitor:190:in `method__13$RUBY$mon_synchronize'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.$1_dot_8.monitorInvokermethod__13$RUBY$mon_synchronizeFixed0:-1: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:571:in `method__62$RUBY$invoke_with_call_chain'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__62$RUBY$invoke_with_call_chainFixed2:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:226:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:300:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:157:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:564:in `method__61$RUBY$invoke'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__61$RUBY$invokeOpt:-1:in `call'
	from org.jruby.internal.runtime.methods.DynamicMethod:136:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:250:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:34:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2019:in `method__198$RUBY$invoke_task'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__198$RUBY$invoke_taskFixed1:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:221: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.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1997:in `block_62$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_62$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:100: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:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1997:in `block_61$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_61$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2036:in `rescue_4$RUBY$__rescue___201'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2035:in `method__200$RUBY$standard_exception_handling'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__200$RUBY$standard_exception_handlingFixed0:-1:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1991:in `method__195$RUBY$top_level'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__195$RUBY$top_levelFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1970:in `block_58$RUBY$__block__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeBlockCallback$block_58$RUBY$__block__xx1:-1:in `call'
	from org.jruby.runtime.CompiledBlock:120:in `yield'
	from org.jruby.runtime.Block:120:in `yield'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2036:in `rescue_4$RUBY$__rescue___201'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:2035:in `method__200$RUBY$standard_exception_handling'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__200$RUBY$standard_exception_handlingFixed0:-1:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:270:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:100:in `callIter'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rake:1967:in `method__192$RUBY$run'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.lib.rakeInvokermethod__192$RUBY$runFixed0:-1:in `call'
	from org.jruby.internal.runtime.methods.CompiledMethod:216:in `call'
	from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
	from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.bin.rake:31:in `__file__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.bin.rake:-1:in `__file__'
	from usr.local.jruby_minus_1_dot_1_dot_5.lib.ruby.gems.$1_dot_8.gems.rake_minus_0_dot_8_dot_3.bin.rake:-1:in `load'
	from org.jruby.Ruby:560:in `runScript'
	from org.jruby.Ruby:2148:in `compileAndLoadFile'
	from org.jruby.runtime.load.ExternalScript:56: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'
Hide
Alex Coles added a comment -

This issue may well be invalid:

  • I managed to reproduce the same stack trace on the latest JDK 5 (32-bit) available for Leopard 10.5.6.
  • I believe it was down to some weirdness with Hoe's "generate_key" task:
  • I had generated keys, but for some reason one key of referenced key set (public/private) specifed in the ~/.hoerc file did not exist.
  • Thus subsequent calls to "rake package" were producing a stack trace similar to above.
  • Removing references to signing keys from my ~/.hoerc file eliminated this issue.
Show
Alex Coles added a comment - This issue may well be invalid:
  • I managed to reproduce the same stack trace on the latest JDK 5 (32-bit) available for Leopard 10.5.6.
  • I believe it was down to some weirdness with Hoe's "generate_key" task:
  • I had generated keys, but for some reason one key of referenced key set (public/private) specifed in the ~/.hoerc file did not exist.
  • Thus subsequent calls to "rake package" were producing a stack trace similar to above.
  • Removing references to signing keys from my ~/.hoerc file eliminated this issue.
Hide
Thomas E Enebo added a comment -

Marking not a bug by request of original author

Show
Thomas E Enebo added a comment - Marking not a bug by request of original author

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: