-
-
Notifications
You must be signed in to change notification settings - Fork 925
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
Java Null Pointer exception while bundling #4465
Comments
@headius Here is the problem I had on master. If there are additional artifacts you need from the build let me know. |
Thank you! We see the problem but we're not sure of the root cause. As far as we can tell "it shouldn't happen", but obviously it is happening. A few things you could do to help:
Thanks for your help and patience! |
You could also add a try/catch for the NPE at that point in JRuby's Java code and print out the IRScope "this". That would let us know where the compiler is blowing up in Ruby code, which would help us find the root problem. |
Hold the phone! We think @enebo has managed to reproduce locally in a different way. |
Same thing, with the JIT settings
|
@hydrogen18 can you make this is working now? I believe I nailed it (I also had the NPE running bundle exec) but it hits some bootstrapping code internally where we have never completely grokked why we needed it. I am guessing some evals are rootless and it needs this empty root above it but too much info :) |
Environment
Provide at least:
Java
JRUBY_OPTS
OS details from uname
I built JRuby from
master
. Using RVM I installed 9.1.7.0, but replaced the JAR with the 9.1.8.0-SNAPSHOT jar I got from my build.Expected behavior is Ruby code runs. Actual behavior when running bundler is this:
I hacked bundler to log everything it could then did it again
I am running the latest bundler
This is happening in bundler's
eval_gemspec
function.The text was updated successfully, but these errors were encountered: