bundler throws NullPointerException when running rake tasks #4424

Closed
mohamedhafez opened this Issue Jan 7, 2017 · 12 comments

Projects

None yet

4 participants

@mohamedhafez
Contributor

Once in a while I get the following error when I try to run rake tasks:

bundler: failed to load command: rake (/var/www/vhosts/sa/shared/bundle/jruby/2.3.0/bin/rake)
LoadError: load error: bundler/setup -- java.util.ConcurrentModificationException: null
  org/jruby/RubyKernel.java:959:in `require'
  /home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'

Environment

I'm running JRuby 9.1.6.0, Rake 11.3.0, Bundler 1.13.7, on Ubuntu 16.04

uname -a: Linux sa 4.4.0-57-generic #78-Ubuntu SMP Fri Dec 9 23:50:32 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

command line: JRUBY_OPTS=-J-Xmx2g RAILS_ENV=production bundle exec rake sa:recurring_tasks:all

@kares
Member
kares commented Jan 7, 2017 edited

would add -Xcli.debug=true -Xbacktrace.style=raw to JRUBY_OPTS to get a better stack-trace next time

@mohamedhafez
Contributor

ok so most of the time when I run this rake task with these flags, everything works and the output is as follows:

Exception `LoadError' at java/lang/Thread.java:1556 - no such file to load -- cgi/escape
Using Ext extension for JSON.
Exception `LoadError' at java/lang/Thread.java:1556 - no such file to load -- sprockets-rails
Exception `LoadError' at java/lang/Thread.java:1556 - no such file to load -- activerecord-session_store
Exception `LoadError' at java/lang/Thread.java:1556 - no such file to load -- idn
Exception `LoadError' at java/lang/Thread.java:1556 - no such file to load -- idn
Exception `Gem::LoadError' at java/lang/Thread.java:1556 - rdoc is not part of the bundle. Add it to Gemfile.
Exception `LoadError' at java/lang/Thread.java:1556 - no such file to load -- tzinfo/data
Exception `NameError' at java/lang/Thread.java:1556 - uninitialized constant Account::SubfinderAccount
Exception `NameError' at java/lang/Thread.java:1556 - uninitialized constant SubfinderAccount::Account
Exception `NameError' at java/lang/Thread.java:1556 - uninitialized constant SubfinderAccount::District
Exception `NameError' at java/lang/Thread.java:1556 - uninitialized constant Account::MobileApp
Exception `NameError' at java/lang/Thread.java:1556 - uninitialized constant Account::WebpushSubscription
Exception `NameError' at java/lang/Thread.java:1556 - uninitialized constant MobileApp::Account

I'm guessing all LoadErrors and NameErrors are just because the rake task is dynamically loading things? Anyway, the task runs to completion with out issue most of the time despite the output above. I just caught it fail though with the following output: (i run the task every 15 minutes, and I get a failure once every couple days or so)

Exception `LoadError' at java/lang/Thread.java:1556 - no such file to load -- cgi/escape
java.lang.NullPointerException
	at org.jruby.ir.dataflow.DataFlowProblem.compute_MOP_Solution(DataFlowProblem.java:56)
	at org.jruby.ir.passes.LiveVariableAnalysis.execute(LiveVariableAnalysis.java:77)
	at org.jruby.ir.passes.CompilerPass.run(CompilerPass.java:111)
	at org.jruby.ir.passes.CompilerPass.makeSureDependencyHasRunOnce(CompilerPass.java:133)
	at org.jruby.ir.passes.CompilerPass.run(CompilerPass.java:101)
	at org.jruby.ir.passes.CompilerPass.run(CompilerPass.java:125)
	at org.jruby.ir.IRScope.runCompilerPasses(IRScope.java:502)
	at org.jruby.ir.IRScope.prepareForCompilation(IRScope.java:586)
	at org.jruby.runtime.MixedModeIRBlockBody.promoteToFullBuild(MixedModeIRBlockBody.java:169)
	at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:126)
	at org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:182)
	at org.jruby.runtime.BlockBody.yield(BlockBody.java:110)
	at org.jruby.runtime.Block.yield(Block.java:167)
	at org.jruby.RubyArray.each(RubyArray.java:1734)
	at org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen)
	at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:497)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
	at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:84)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:179)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:165)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:338)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:78)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:340)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:84)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:179)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:165)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:338)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:78)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
	at org.jruby.RubyClass.finvoke(RubyClass.java:512)
	at org.jruby.RubyBasicObject.send19(RubyBasicObject.java:1662)
	at org.jruby.RubyKernel.send19(RubyKernel.java:1987)
	at org.jruby.RubyKernel$INVOKER$s$send19.call(RubyKernel$INVOKER$s$send19.gen)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:338)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
	at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
	at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:69)
	at org.jruby.runtime.Block.call(Block.java:126)
	at org.jruby.RubyProc.call(RubyProc.java:324)
	at org.jruby.internal.runtime.methods.ProcMethod.call(ProcMethod.java:63)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:196)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:340)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:78)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:340)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:78)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:340)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:112)
	at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:99)
	at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:35)
	at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
	at org.jruby.Ruby.runInterpreter(Ruby.java:862)
	at org.jruby.Ruby.loadFile(Ruby.java:2960)
	at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:243)
	at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:34)
	at org.jruby.runtime.load.LoadService.tryLoadingLibraryOrScript(LoadService.java:885)
	at org.jruby.runtime.load.LoadService.smartLoadInternal(LoadService.java:525)
	at org.jruby.runtime.load.LoadService.require(LoadService.java:396)
	at org.jruby.RubyKernel.requireCommon(RubyKernel.java:966)
	at org.jruby.RubyKernel.require19(RubyKernel.java:959)
	at org.jruby.RubyKernel$INVOKER$s$1$0$require19.call(RubyKernel$INVOKER$s$1$0$require19.gen)
	at org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:383)
	at org.jruby.internal.runtime.methods.AliasMethod.call(AliasMethod.java:61)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:338)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
	at home.web.$_dot_rvm.rubies.jruby_minus_9_dot_1_dot_6_dot_0.lib.ruby.stdlib.rubygems.core_ext.kernel_require.invokeOther82:gem_original_require(/home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
	at home.web.$_dot_rvm.rubies.jruby_minus_9_dot_1_dot_6_dot_0.lib.ruby.stdlib.rubygems.core_ext.kernel_require.RUBY$method$require$0(/home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
	at org.jruby.internal.runtime.methods.CompiledIRMethod.invokeExact(CompiledIRMethod.java:236)
	at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:106)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:163)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:338)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
	at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:78)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:144)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:130)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:192)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:318)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:340)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
	at org.jruby.RubyClass.finvoke(RubyClass.java:522)
	at org.jruby.RubyBasicObject.send19(RubyBasicObject.java:1682)
	at org.jruby.RubyBasicObject$INVOKER$i$send19.call(RubyBasicObject$INVOKER$i$send19.gen)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
	at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
	at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:90)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:214)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:200)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:208)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:358)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:324)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
	at org.jruby.ir.runtime.IRRuntimeHelpers.classSuper(IRRuntimeHelpers.java:985)
	at org.jruby.ir.instructions.ClassSuperInstr.interpret(ClassSuperInstr.java:65)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
	at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
	at org.jruby.ir.runtime.IRRuntimeHelpers.classSuper(IRRuntimeHelpers.java:985)
	at org.jruby.ir.instructions.ClassSuperInstr.interpret(ClassSuperInstr.java:65)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:90)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:214)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:200)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:208)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:358)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:195)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:324)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:132)
	at org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:148)
	at org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:80)
	at org.jruby.runtime.Block.yieldSpecific(Block.java:136)
	at org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:454)
	at org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:74)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.processOtherOp(StartupInterpreterEngine.java:187)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:111)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.INTERPRET_METHOD(MixedModeIRMethod.java:109)
	at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:95)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:298)
	at org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83)
	at org.jruby.ir.instructions.CallBase.interpret(CallBase.java:428)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:356)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.Interpreter.INTERPRET_ROOT(Interpreter.java:112)
	at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:99)
	at org.jruby.ir.interpreter.Interpreter.execute(Interpreter.java:35)
	at org.jruby.ir.IRTranslator.execute(IRTranslator.java:42)
	at org.jruby.Ruby.runInterpreter(Ruby.java:862)
	at org.jruby.Ruby.loadFile(Ruby.java:2960)
	at org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.load(LibrarySearcher.java:243)
	at org.jruby.runtime.load.LibrarySearcher$FoundLibrary.load(LibrarySearcher.java:34)
	at org.jruby.runtime.load.LoadService.load(LoadService.java:340)
	at org.jruby.RubyKernel.loadCommon(RubyKernel.java:985)
	at org.jruby.RubyKernel.load19(RubyKernel.java:977)
	at org.jruby.RubyKernel$INVOKER$s$0$1$load19.call(RubyKernel$INVOKER$s$0$1$load19.gen)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:204)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:338)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163)
	at org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:315)
	at org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:73)
	at org.jruby.ir.interpreter.Interpreter.INTERPRET_EVAL(Interpreter.java:122)
	at org.jruby.ir.interpreter.Interpreter.evalCommon(Interpreter.java:177)
	at org.jruby.ir.interpreter.Interpreter.evalWithBinding(Interpreter.java:202)
	at org.jruby.RubyKernel.evalCommon(RubyKernel.java:1031)
	at org.jruby.RubyKernel.eval19(RubyKernel.java:998)
	at org.jruby.RubyKernel$INVOKER$s$0$3$eval19.call(RubyKernel$INVOKER$s$0$3$eval19.gen)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:220)
	at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:216)
	at org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:378)
	at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:227)
	at home.web.$_dot_rvm.gems.jruby_minus_9_dot_1_dot_6_dot_0.bin.jruby_executable_hooks.invokeOther16:eval(/home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15)
	at home.web.$_dot_rvm.gems.jruby_minus_9_dot_1_dot_6_dot_0.bin.jruby_executable_hooks.RUBY$script(/home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15)
	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
	at org.jruby.ir.Compiler$1.load(Compiler.java:111)
	at org.jruby.Ruby.runScript(Ruby.java:846)
	at org.jruby.Ruby.runNormally(Ruby.java:761)
	at org.jruby.Ruby.runNormally(Ruby.java:779)
	at org.jruby.Ruby.runFromMain(Ruby.java:592)
	at org.jruby.Main.doRunFromMain(Main.java:425)
	at org.jruby.Main.internalRun(Main.java:313)
	at org.jruby.Main.run(Main.java:242)
	at org.jruby.Main.main(Main.java:204)
Exception `LoadError' at java/lang/Thread.java:1556 - load error: bundler/setup -- java.lang.NullPointerException: null
bundler: failed to load command: rake (/var/www/vhosts/www.substitutealert.com/shared/bundle/jruby/2.3.0/bin/rake)
LoadError: load error: bundler/setup -- java.lang.NullPointerException: null
  java/lang/Thread.java:1556:in `getStackTrace'
  org/jruby/runtime/backtrace/TraceType.java:246:in `getBacktraceData'
  org/jruby/runtime/backtrace/TraceType.java:47:in `getBacktrace'
  org/jruby/RubyException.java:236:in `prepareBacktrace'
  org/jruby/exceptions/RaiseException.java:216:in `preRaise'
  org/jruby/exceptions/RaiseException.java:183:in `preRaise'
  org/jruby/exceptions/RaiseException.java:111:in `<init>'
  org/jruby/Ruby.java:4182:in `newRaiseException'
  org/jruby/Ruby.java:4032:in `newLoadError'
  org/jruby/runtime/load/LoadService.java:918:in `newLoadErrorFromThrowable'
  org/jruby/runtime/load/LoadService.java:909:in `tryLoadingLibraryOrScript'
  org/jruby/runtime/load/LoadService.java:525:in `smartLoadInternal'
  org/jruby/runtime/load/LoadService.java:396:in `require'
  org/jruby/RubyKernel.java:966:in `requireCommon'
  org/jruby/RubyKernel.java:959:in `require19'
  org/jruby/RubyKernel$INVOKER$s$1$0$require19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/JavaMethod.java:383:in `call'
  org/jruby/internal/runtime/methods/AliasMethod.java:61:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  home/web/$_dot_rvm/rubies/jruby_minus_9_dot_1_dot_6_dot_0/lib/ruby/stdlib/rubygems/core_ext//home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `invokeOther82:gem_original_require'
  /home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:236:in `invokeExact'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:106:in `call'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:163:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:78:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:192:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:318:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:131:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:340:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/RubyClass.java:522:in `finvoke'
  org/jruby/RubyBasicObject.java:1682:in `send19'
  org/jruby/RubyBasicObject$INVOKER$i$send19.gen:-1:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:132:in `INTERPRET_BLOCK'
  org/jruby/runtime/MixedModeIRBlockBody.java:148:in `commonYieldPath'
  org/jruby/runtime/IRBlockBody.java:80:in `yieldSpecific'
  org/jruby/runtime/Block.java:136:in `yieldSpecific'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:454:in `yieldSpecific'
  org/jruby/ir/instructions/YieldInstr.java:74:in `interpret'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:187:in `processOtherOp'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:111:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:112:in `INTERPRET_ROOT'
  org/jruby/ir/interpreter/Interpreter.java:99:in `execute'
  org/jruby/ir/interpreter/Interpreter.java:35:in `execute'
  org/jruby/ir/IRTranslator.java:42:in `execute'
  org/jruby/Ruby.java:862:in `runInterpreter'
  org/jruby/Ruby.java:2960:in `loadFile'
  org/jruby/runtime/load/LibrarySearcher.java:243:in `load'
  org/jruby/runtime/load/LibrarySearcher.java:34:in `load'
  org/jruby/runtime/load/LoadService.java:340:in `load'
  org/jruby/RubyKernel.java:985:in `loadCommon'
  org/jruby/RubyKernel.java:977:in `load19'
  org/jruby/RubyKernel$INVOKER$s$0$1$load19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:204:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:122:in `INTERPRET_EVAL'
  org/jruby/ir/interpreter/Interpreter.java:177:in `evalCommon'
  org/jruby/ir/interpreter/Interpreter.java:202:in `evalWithBinding'
  org/jruby/RubyKernel.java:1031:in `evalCommon'
  org/jruby/RubyKernel.java:998:in `eval19'
  org/jruby/RubyKernel$INVOKER$s$0$3$eval19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:220:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:216:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:378:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:227:in `call'
  home/web/$_dot_rvm/gems/jruby_minus_9_dot_1_dot_6_dot_0/bin//home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `invokeOther16:eval'
  /home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `<main>'
  java/lang/invoke/MethodHandle.java:627:in `invokeWithArguments'
  org/jruby/ir/Compiler.java:111:in `load'
  org/jruby/Ruby.java:846:in `runScript'
  org/jruby/Ruby.java:761:in `runNormally'
  org/jruby/Ruby.java:779:in `runNormally'
  org/jruby/Ruby.java:592:in `runFromMain'
  org/jruby/Main.java:425:in `doRunFromMain'
  org/jruby/Main.java:313:in `internalRun'
  org/jruby/Main.java:242:in `run'
  org/jruby/Main.java:204:in `main'
Exception `SystemExit' at java/lang/Thread.java:1556 - LoadError: load error: bundler/setup -- java.lang.NullPointerException: null
  java/lang/Thread.java:1556:in `getStackTrace'
  org/jruby/runtime/backtrace/TraceType.java:246:in `getBacktraceData'
  org/jruby/runtime/backtrace/TraceType.java:47:in `getBacktrace'
  org/jruby/RubyException.java:236:in `prepareBacktrace'
  org/jruby/exceptions/RaiseException.java:216:in `preRaise'
  org/jruby/exceptions/RaiseException.java:183:in `preRaise'
  org/jruby/exceptions/RaiseException.java:111:in `<init>'
  org/jruby/Ruby.java:4182:in `newRaiseException'
  org/jruby/Ruby.java:4032:in `newLoadError'
  org/jruby/runtime/load/LoadService.java:918:in `newLoadErrorFromThrowable'
  org/jruby/runtime/load/LoadService.java:909:in `tryLoadingLibraryOrScript'
  org/jruby/runtime/load/LoadService.java:525:in `smartLoadInternal'
  org/jruby/runtime/load/LoadService.java:396:in `require'
  org/jruby/RubyKernel.java:966:in `requireCommon'
  org/jruby/RubyKernel.java:959:in `require19'
  org/jruby/RubyKernel$INVOKER$s$1$0$require19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/JavaMethod.java:383:in `call'
  org/jruby/internal/runtime/methods/AliasMethod.java:61:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  home/web/$_dot_rvm/rubies/jruby_minus_9_dot_1_dot_6_dot_0/lib/ruby/stdlib/rubygems/core_ext//home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `invokeOther82:gem_original_require'
  /home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:236:in `invokeExact'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:106:in `call'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:163:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:78:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:192:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:318:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:131:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:340:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/RubyClass.java:522:in `finvoke'
  org/jruby/RubyBasicObject.java:1682:in `send19'
  org/jruby/RubyBasicObject$INVOKER$i$send19.gen:-1:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:132:in `INTERPRET_BLOCK'
  org/jruby/runtime/MixedModeIRBlockBody.java:148:in `commonYieldPath'
  org/jruby/runtime/IRBlockBody.java:80:in `yieldSpecific'
  org/jruby/runtime/Block.java:136:in `yieldSpecific'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:454:in `yieldSpecific'
  org/jruby/ir/instructions/YieldInstr.java:74:in `interpret'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:187:in `processOtherOp'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:111:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:112:in `INTERPRET_ROOT'
  org/jruby/ir/interpreter/Interpreter.java:99:in `execute'
  org/jruby/ir/interpreter/Interpreter.java:35:in `execute'
  org/jruby/ir/IRTranslator.java:42:in `execute'
  org/jruby/Ruby.java:862:in `runInterpreter'
  org/jruby/Ruby.java:2960:in `loadFile'
  org/jruby/runtime/load/LibrarySearcher.java:243:in `load'
  org/jruby/runtime/load/LibrarySearcher.java:34:in `load'
  org/jruby/runtime/load/LoadService.java:340:in `load'
  org/jruby/RubyKernel.java:985:in `loadCommon'
  org/jruby/RubyKernel.java:977:in `load19'
  org/jruby/RubyKernel$INVOKER$s$0$1$load19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:204:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:122:in `INTERPRET_EVAL'
  org/jruby/ir/interpreter/Interpreter.java:177:in `evalCommon'
  org/jruby/ir/interpreter/Interpreter.java:202:in `evalWithBinding'
  org/jruby/RubyKernel.java:1031:in `evalCommon'
  org/jruby/RubyKernel.java:998:in `eval19'
  org/jruby/RubyKernel$INVOKER$s$0$3$eval19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:220:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:216:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:378:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:227:in `call'
  home/web/$_dot_rvm/gems/jruby_minus_9_dot_1_dot_6_dot_0/bin//home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `invokeOther16:eval'
  /home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `<main>'
  java/lang/invoke/MethodHandle.java:627:in `invokeWithArguments'
  org/jruby/ir/Compiler.java:111:in `load'
  org/jruby/Ruby.java:846:in `runScript'
  org/jruby/Ruby.java:761:in `runNormally'
  org/jruby/Ruby.java:779:in `runNormally'
  org/jruby/Ruby.java:592:in `runFromMain'
  org/jruby/Main.java:425:in `doRunFromMain'
  org/jruby/Main.java:313:in `internalRun'
  org/jruby/Main.java:242:in `run'
  org/jruby/Main.java:204:in `main'
Exception `SystemExit' at java/lang/Thread.java:1556 - LoadError: load error: bundler/setup -- java.lang.NullPointerException: null
  java/lang/Thread.java:1556:in `getStackTrace'
  org/jruby/runtime/backtrace/TraceType.java:246:in `getBacktraceData'
  org/jruby/runtime/backtrace/TraceType.java:47:in `getBacktrace'
  org/jruby/RubyException.java:236:in `prepareBacktrace'
  org/jruby/exceptions/RaiseException.java:216:in `preRaise'
  org/jruby/exceptions/RaiseException.java:183:in `preRaise'
  org/jruby/exceptions/RaiseException.java:111:in `<init>'
  org/jruby/Ruby.java:4182:in `newRaiseException'
  org/jruby/Ruby.java:4032:in `newLoadError'
  org/jruby/runtime/load/LoadService.java:918:in `newLoadErrorFromThrowable'
  org/jruby/runtime/load/LoadService.java:909:in `tryLoadingLibraryOrScript'
  org/jruby/runtime/load/LoadService.java:525:in `smartLoadInternal'
  org/jruby/runtime/load/LoadService.java:396:in `require'
  org/jruby/RubyKernel.java:966:in `requireCommon'
  org/jruby/RubyKernel.java:959:in `require19'
  org/jruby/RubyKernel$INVOKER$s$1$0$require19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/JavaMethod.java:383:in `call'
  org/jruby/internal/runtime/methods/AliasMethod.java:61:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  home/web/$_dot_rvm/rubies/jruby_minus_9_dot_1_dot_6_dot_0/lib/ruby/stdlib/rubygems/core_ext//home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `invokeOther82:gem_original_require'
  /home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:236:in `invokeExact'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:106:in `call'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:163:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:78:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:192:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:318:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:131:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:340:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/RubyClass.java:522:in `finvoke'
  org/jruby/RubyBasicObject.java:1682:in `send19'
  org/jruby/RubyBasicObject$INVOKER$i$send19.gen:-1:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:132:in `INTERPRET_BLOCK'
  org/jruby/runtime/MixedModeIRBlockBody.java:148:in `commonYieldPath'
  org/jruby/runtime/IRBlockBody.java:80:in `yieldSpecific'
  org/jruby/runtime/Block.java:136:in `yieldSpecific'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:454:in `yieldSpecific'
  org/jruby/ir/instructions/YieldInstr.java:74:in `interpret'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:187:in `processOtherOp'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:111:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:112:in `INTERPRET_ROOT'
  org/jruby/ir/interpreter/Interpreter.java:99:in `execute'
  org/jruby/ir/interpreter/Interpreter.java:35:in `execute'
  org/jruby/ir/IRTranslator.java:42:in `execute'
  org/jruby/Ruby.java:862:in `runInterpreter'
  org/jruby/Ruby.java:2960:in `loadFile'
  org/jruby/runtime/load/LibrarySearcher.java:243:in `load'
  org/jruby/runtime/load/LibrarySearcher.java:34:in `load'
  org/jruby/runtime/load/LoadService.java:340:in `load'
  org/jruby/RubyKernel.java:985:in `loadCommon'
  org/jruby/RubyKernel.java:977:in `load19'
  org/jruby/RubyKernel$INVOKER$s$0$1$load19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:204:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:122:in `INTERPRET_EVAL'
  org/jruby/ir/interpreter/Interpreter.java:177:in `evalCommon'
  org/jruby/ir/interpreter/Interpreter.java:202:in `evalWithBinding'
  org/jruby/RubyKernel.java:1031:in `evalCommon'
  org/jruby/RubyKernel.java:998:in `eval19'
  org/jruby/RubyKernel$INVOKER$s$0$3$eval19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:220:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:216:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:378:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:227:in `call'
  home/web/$_dot_rvm/gems/jruby_minus_9_dot_1_dot_6_dot_0/bin//home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `invokeOther16:eval'
  /home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `<main>'
  java/lang/invoke/MethodHandle.java:627:in `invokeWithArguments'
  org/jruby/ir/Compiler.java:111:in `load'
  org/jruby/Ruby.java:846:in `runScript'
  org/jruby/Ruby.java:761:in `runNormally'
  org/jruby/Ruby.java:779:in `runNormally'
  org/jruby/Ruby.java:592:in `runFromMain'
  org/jruby/Main.java:425:in `doRunFromMain'
  org/jruby/Main.java:313:in `internalRun'
  org/jruby/Main.java:242:in `run'
  org/jruby/Main.java:204:in `main'
Exception `SystemExit' at java/lang/Thread.java:1556 - LoadError: load error: bundler/setup -- java.lang.NullPointerException: null
  java/lang/Thread.java:1556:in `getStackTrace'
  org/jruby/runtime/backtrace/TraceType.java:246:in `getBacktraceData'
  org/jruby/runtime/backtrace/TraceType.java:47:in `getBacktrace'
  org/jruby/RubyException.java:236:in `prepareBacktrace'
  org/jruby/exceptions/RaiseException.java:216:in `preRaise'
  org/jruby/exceptions/RaiseException.java:183:in `preRaise'
  org/jruby/exceptions/RaiseException.java:111:in `<init>'
  org/jruby/Ruby.java:4182:in `newRaiseException'
  org/jruby/Ruby.java:4032:in `newLoadError'
  org/jruby/runtime/load/LoadService.java:918:in `newLoadErrorFromThrowable'
  org/jruby/runtime/load/LoadService.java:909:in `tryLoadingLibraryOrScript'
  org/jruby/runtime/load/LoadService.java:525:in `smartLoadInternal'
  org/jruby/runtime/load/LoadService.java:396:in `require'
  org/jruby/RubyKernel.java:966:in `requireCommon'
  org/jruby/RubyKernel.java:959:in `require19'
  org/jruby/RubyKernel$INVOKER$s$1$0$require19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/JavaMethod.java:383:in `call'
  org/jruby/internal/runtime/methods/AliasMethod.java:61:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  home/web/$_dot_rvm/rubies/jruby_minus_9_dot_1_dot_6_dot_0/lib/ruby/stdlib/rubygems/core_ext//home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `invokeOther82:gem_original_require'
  /home/web/.rvm/rubies/jruby-9.1.6.0/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55:in `require'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:236:in `invokeExact'
  org/jruby/internal/runtime/methods/CompiledIRMethod.java:106:in `call'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:163:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:78:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:144:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:130:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:192:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:318:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:131:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:340:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/RubyClass.java:522:in `finvoke'
  org/jruby/RubyBasicObject.java:1682:in `send19'
  org/jruby/RubyBasicObject$INVOKER$i$send19.gen:-1:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:985:in `classSuper'
  org/jruby/ir/instructions/ClassSuperInstr.java:65:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:90:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:214:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:200:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:208:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:358:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:195:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:324:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:132:in `INTERPRET_BLOCK'
  org/jruby/runtime/MixedModeIRBlockBody.java:148:in `commonYieldPath'
  org/jruby/runtime/IRBlockBody.java:80:in `yieldSpecific'
  org/jruby/runtime/Block.java:136:in `yieldSpecific'
  org/jruby/ir/runtime/IRRuntimeHelpers.java:454:in `yieldSpecific'
  org/jruby/ir/instructions/YieldInstr.java:74:in `interpret'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:187:in `processOtherOp'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:111:in `interpret'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:109:in `INTERPRET_METHOD'
  org/jruby/internal/runtime/methods/MixedModeIRMethod.java:95:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:298:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:79:in `callBlock'
  org/jruby/runtime/callsite/CachingCallSite.java:83:in `call'
  org/jruby/ir/instructions/CallBase.java:428:in `interpret'
  org/jruby/ir/interpreter/InterpreterEngine.java:356:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:112:in `INTERPRET_ROOT'
  org/jruby/ir/interpreter/Interpreter.java:99:in `execute'
  org/jruby/ir/interpreter/Interpreter.java:35:in `execute'
  org/jruby/ir/IRTranslator.java:42:in `execute'
  org/jruby/Ruby.java:862:in `runInterpreter'
  org/jruby/Ruby.java:2960:in `loadFile'
  org/jruby/runtime/load/LibrarySearcher.java:243:in `load'
  org/jruby/runtime/load/LibrarySearcher.java:34:in `load'
  org/jruby/runtime/load/LoadService.java:340:in `load'
  org/jruby/RubyKernel.java:985:in `loadCommon'
  org/jruby/RubyKernel.java:977:in `load19'
  org/jruby/RubyKernel$INVOKER$s$0$1$load19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:204:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:200:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:338:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:163:in `call'
  org/jruby/ir/interpreter/InterpreterEngine.java:315:in `processCall'
  org/jruby/ir/interpreter/StartupInterpreterEngine.java:73:in `interpret'
  org/jruby/ir/interpreter/Interpreter.java:122:in `INTERPRET_EVAL'
  org/jruby/ir/interpreter/Interpreter.java:177:in `evalCommon'
  org/jruby/ir/interpreter/Interpreter.java:202:in `evalWithBinding'
  org/jruby/RubyKernel.java:1031:in `evalCommon'
  org/jruby/RubyKernel.java:998:in `eval19'
  org/jruby/RubyKernel$INVOKER$s$0$3$eval19.gen:-1:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:220:in `call'
  org/jruby/internal/runtime/methods/DynamicMethod.java:216:in `call'
  org/jruby/runtime/callsite/CachingCallSite.java:378:in `cacheAndCall'
  org/jruby/runtime/callsite/CachingCallSite.java:227:in `call'
  home/web/$_dot_rvm/gems/jruby_minus_9_dot_1_dot_6_dot_0/bin//home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `invokeOther16:eval'
  /home/web/.rvm/gems/jruby-9.1.6.0/bin/jruby_executable_hooks:15:in `<main>'
  java/lang/invoke/MethodHandle.java:627:in `invokeWithArguments'
  org/jruby/ir/Compiler.java:111:in `load'
  org/jruby/Ruby.java:846:in `runScript'
  org/jruby/Ruby.java:761:in `runNormally'
  org/jruby/Ruby.java:779:in `runNormally'
  org/jruby/Ruby.java:592:in `runFromMain'
  org/jruby/Main.java:425:in `doRunFromMain'
  org/jruby/Main.java:313:in `internalRun'
  org/jruby/Main.java:242:in `run'
  org/jruby/Main.java:204:in `main'
@headius
Member
headius commented Jan 10, 2017

The NPE and your original ConcurrencyError are likely different bugs with the same cause.

The NPE occurs in one of our IR passes, which might indicate some thread unsafety in the compiler. I know @enebo has been trying to make more parts of IR immutable, so he'll be interested in this.

The ConcurrencyError, I suspect, may be due to unsafe threading code in Bundler. There is a report at bundler/bundler#5142 that led to an as-yet-unreleased patch for code that was concurrently modifying a Set, which is just backed by a not-threadsafe Hash.

You may want to report the ConcurrencyError to bundler, after confirming their fix does not resolve your issue.

The NPE...I'm not sure what to recommend. @enebo?

@enebo
Member
enebo commented Jan 10, 2017

@headius This is the concurrent compilation of a child closure and compilation of one of its parents.

The PR I submitted I think will fix this but I was concerned about any other fallout from it.

@mohamedhafez Is there a way we can run this. Our biggest problem has been trying to reproduce this problem as it is a race across threads.

@mohamedhafez
Contributor

Looking back through my logs I am actually getting both ConcurrentModificationException and NPE's on a regular basis (once every few days I get one or the other).

@enebo would you like me to run your PR, or do you mean me setting up a way of giving you guys my code + a sample database maybe for you guys to mess around with it? I'm happy to do either, though the code is proprietary and used in an active business, so if we could limit the number of people with access to it that would be great

@enebo
Member
enebo commented Jan 11, 2017

@mohamedhafez I think those two errors are different problems personally. But if you could try my PR it would, I hope, tell us whether the NPE problem is solved with it.

@mohamedhafez mohamedhafez changed the title from bundler throws java.util.ConcurrentModificationException when running rake tasks to bundler throws NullPointerException when running rake tasks Jan 11, 2017
@mohamedhafez
Contributor

@enebo sure thing, I'll try out #4392 and let you know how it goes.

(Also just fyi I changed the name of the issue to reference the NPE, I'll ignore the ConcurrentModificationExceptions until I try the fixed version of bundler)

@mohamedhafez
Contributor

Ok so I was getting a weird unrelated error with the pull request, so I just cherry-picked 70d4921 on top of the 9.1.7.0 release, I'm running that now and will be until further notice, and I'll post back if I see the NPE error

@headius
Member
headius commented Jan 17, 2017

@enebo I don't see your PR linked. Has it been merged post-9.1.8.0?

@headius
Member
headius commented Jan 17, 2017

I mean post 9.1.7.0 of course...

@mohamedhafez
Contributor

Just to update, in the 6 days of running this fix, no more NPEs! I've also been running the rake task that used to throw the error 3x more frequently, so it should have happened by now if if the problem wasn't fixed. Also I don't notice any other kind of adverse effects as far as I can tell. Strangely, I've also stopped getting the ConcurrentModificationException errors in this time period also... in any case this patch seems to have fixed this issue, I'll go ahead and close it, thanks guys!

@kares
Member
kares commented Jan 18, 2017

aasome news, thanks! marking as duplicate of #4304

@kares kares added this to the Invalid or Duplicate milestone Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment