Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
NPE loading Rails console #1007
I haven't gotten a reduced test case yet, but just going from JRuby 1.7.4 to 1.7.5-dev (indy disabled in both), I'm seeing an NPE loading a Rails console. The trace looks like:
@nirvdrum I added a null check at the line in question, but I'd like to know who is setting this value to null. Can you apply this patch and tell me what output you get?
Perhaps pass -X+C in a second run if you see any thread dumps.
A second fix I'm about to commit fixes the one place I could see that I was incorrectly allowing ecopts to be null. The patch in this comment logs if any other code is setting ecopts to null. Hopefully you will see no logging output at all.