Running rake rdoc from within jruby-complete.jar results in "undefined method 
`key' for nil:NilClass"
-----------------------------------------------------------------------------------------------------

                 Key: JRUBY-3892
                 URL: http://jira.codehaus.org/browse/JRUBY-3892
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.3.1
            Reporter: Mario Camou
         Attachments: Rakefile

When running rake rdoc from jruby-complete.jar (or from the jruby-rake-plugin 
Maven2 plugin) :

$ java -jar jruby-complete-1.3.1.jar -S rake rdoc

the doc is generated but at the point where the 'Generating HTML' message 
should appear, the following message appears:

rake aborted!
undefined method `key' for nil:NilClass

Running with --trace gives the following:

rake aborted!
undefined method `key' for nil:NilClass
/Users/mario/.gem/gems/rake-0.8.7/lib/rake/rdoctask.rb:140:in `define'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
file:/Users/mario/.m2/repository/org/jruby/jruby-complete/1.3.1/jruby-complete-1.3.1.jar!/monitor.rb:191:in
 `mon_synchronize'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
file:/Users/mario/.m2/repository/org/jruby/jruby-complete/1.3.1/jruby-complete-1.3.1.jar!/monitor.rb:191:in
 `mon_synchronize'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2068:in 
`standard_exception_handling'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:2068:in 
`standard_exception_handling'
/Users/mario/.gem/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/Users/mario/.gem/gems/rake-0.8.7/bin/rake:31
/Users/mario/.gem/gems/rake-0.8.7/bin/rake:19:in `load'
file:/Users/mario/.m2/repository/org/jruby/jruby-complete/1.3.1/jruby-complete-1.3.1.jar!/META-INF/jruby.home/bin/rake:19
file:/Users/mario/.m2/repository/org/jruby/jruby-complete/1.3.1/jruby-complete-1.3.1.jar!/META-INF/jruby.home/bin/rake:12:in
 `load'
file:/Users/mario/.m2/repository/org/jruby/jruby-complete/1.3.1/jruby-complete-1.3.1.jar!/jruby/commands.rb:12:in
 `rake'
rake:1


-- 
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


Reply via email to