Skip to content

NameError: uppercase package names not accessible this way (`org.objectweb.asm.ClassReader') #238

@joseairosa

Description

@joseairosa

Hi all,

When starting our app (it runs on trinidad 1.4.0 and jruby 1.7.0.preview1) we get the following error:

bundle exec jruby -v                     
jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-19 00c8c98) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [linux-amd64-java]
NameError: uppercase package names not accessible this way (`org.objectweb.asm.ClassReader')
  get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54
                      method_missing at file:/usr/local/ruby/jruby-1.7.0-preview1/lib/jruby.jar!/jruby/java/java_package_module_template.rb:32
             chained_3_rescue_line_8 at /usr/local/ruby/jruby-1.7.0-preview1/lib/ruby/shared/jruby.rb:10
                               JRuby at /usr/local/ruby/jruby-1.7.0-preview1/lib/ruby/shared/jruby.rb:8
                              (root) at /usr/local/ruby/jruby-1.7.0-preview1/lib/ruby/shared/jruby.rb:3
                             require at org/jruby/RubyKernel.java:991
                              (root) at file:/usr/local/ruby/jruby-1.7.0-preview1/lib/jruby.jar!/jruby/java/java_ext/java.io.rb:1
                             require at org/jruby/RubyKernel.java:991
                              (root) at file:/usr/local/ruby/jruby-1.7.0-preview1/lib/jruby.jar!/jruby/java/java_ext.rb:6
                             require at org/jruby/RubyKernel.java:991
                              (root) at file:/usr/local/ruby/jruby-1.7.0-preview1/lib/jruby.jar!/jruby/java.rb:41
                             require at org/jruby/RubyKernel.java:991
                              (root) at /srv/surechem-api/releases/f30db4827a62d273e8cd3b3c6ea9b53cd19d59be/vendor/bundle/jruby/1.9/gems/trinidad-1.4.0/lib/trinidad.rb:1
                             require at org/jruby/RubyKernel.java:991
                              (root) at /srv/surechem-api/releases/f30db4827a62d273e8cd3b3c6ea9b53cd19d59be/vendor/bundle/jruby/1.9/gems/trinidad-1.4.0/bin/trinidad:3
                                load at org/jruby/RubyKernel.java:1017
                              (root) at /srv/surechem-api/releases/f30db4827a62d273e8cd3b3c6ea9b53cd19d59be/vendor/bundle/jruby/1.9/bin/trinidad:23

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions