Karl Baum created JRUBY-6302:
--------------------------------

             Summary: Null pointer exception trying to start up rails 3.1.3 
with jruby 1.7 and java 1.7
                 Key: JRUBY-6302
                 URL: https://jira.codehaus.org/browse/JRUBY-6302
             Project: JRuby
          Issue Type: Bug
          Components: Application Error
    Affects Versions: JRuby 1.7
         Environment: osx 10.6.8

openjdk version "1.7.0-u2-b21"
OpenJDK Runtime Environment (build 1.7.0-u2-b21-20111220)
OpenJDK 64-Bit Server VM (build 23.0-b06, mixed mode)

jruby 1.7.0.dev (ruby-1.9.3-p0) (2011-12-22 3d34ca5) (OpenJDK 64-Bit Server VM 
1.7.0-u2-b21) [darwin-amd64-java]

rails 3.1.3
            Reporter: Karl Baum


Trying to startup rails and i run into this exception:

:public is no longer used to avoid overloading Module#public, use 
:public_folder instead
        from 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/bundler/gems/resque-19b422e7c136/lib/resque/server.rb:16:in
 `Server'
LoadError: load error: /Users/karl/workspace/viewthespace/config/environment -- 
java.lang.NullPointerException: null
               require at org/jruby/RubyKernel.java:970
               require at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
       load_dependency at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
      new_constants_in at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640
      new_constants_in at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:639
       load_dependency at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223
               require at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240
  require_environment! at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/railties-3.1.3/lib/rails/application.rb:83
                (root) at 
/Library/jruby-1.7.0.dev/lib/ruby/gems/1.8/gems/railties-3.1.3/lib/rails/commands.rb:39
               require at org/jruby/RubyKernel.java:970
                (root) at script/rails:6

It may be a problem with one of my dependencies but the error message is a bit 
difficult to work with.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.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