Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined method `size' for nil:NilClass on JRuby #28

Closed
ndrluis opened this issue Oct 29, 2013 · 7 comments
Closed

undefined method `size' for nil:NilClass on JRuby #28

ndrluis opened this issue Oct 29, 2013 · 7 comments

Comments

@ndrluis
Copy link
Contributor

ndrluis commented Oct 29, 2013

NoMethodError: undefined method `size' for nil:NilClass
  check_first_rule at C:/jruby-1.7.4/lib/ruby/gems/shared/gems/sandi_meter-1.0.3/lib/sandi_meter/calculator.rb:102
        calculate! at C:/jruby-1.7.4/lib/ruby/gems/shared/gems/sandi_meter-1.0.3/lib/sandi_meter/calculator.rb:23
              scan at C:/jruby-1.7.4/lib/ruby/gems/shared/gems/sandi_meter-1.0.3/lib/sandi_meter/file_scanner.rb:20
           execute at C:/jruby-1.7.4/lib/ruby/gems/shared/gems/sandi_meter-1.0.3/lib/sandi_meter/cli.rb:76
            (root) at C:/jruby-1.7.4/lib/ruby/gems/shared/gems/sandi_meter-1.0.3/bin/sandi_meter:5
              load at org/jruby/RubyKernel.java:1073
            (root) at C:\jruby-1.7.4\bin\sandi_meter:23
@makaroni4
Copy link
Owner

Hi @andreanastacio!

Could you please provide a code you scan that causes this error?

@ndrluis
Copy link
Contributor Author

ndrluis commented Oct 29, 2013

@makaroni4
Copy link
Owner

@andreanastacio got the bug, I will try to investigate it, thank you for the report 👍

@ndrluis
Copy link
Contributor Author

ndrluis commented Oct 29, 2013

@makaroni4 Depends on jruby/jruby/issues/1187

@makaroni4
Copy link
Owner

@andreanastacio how about PR? 😃

@makaroni4
Copy link
Owner

We need a workaround for jruby/jruby#1187. Any ideas?

And Happy New Year! 🎅

@makaroni4
Copy link
Owner

Closing this one if favor of #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants