We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
If I run the Action View tests with rake test, I get a bunch of errors like this:
rake test
1) Error: FormHelperTest#test_number_field: Java::JavaLang::NullPointerException: org.jruby.runtime.Helpers.invokeSuper(Helpers.java:482) org.jruby.RubyRange.min(RubyRange.java:649) org.jruby.RubyRange$INVOKER$i$min.call(RubyRange$INVOKER$i$min.gen) org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroOrNBlock.call(JavaMethod.java:306) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:306) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:151) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:138) org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:189) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:306) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:122) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:151) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:138) org.jruby.RubyClass.finvoke(RubyClass.java:520) org.jruby.RubyBasicObject.send19(RubyBasicObject.java:1599) org.jruby.RubyKernel.send19(RubyKernel.java:1996) org.jruby.RubyKernel$INVOKER$s$send19.call(RubyKernel$INVOKER$s$send19.gen) org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOneOrNBlock.call(JavaMethod.java:380) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:290) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:122) org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136) org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:67) org.jruby.runtime.Block.yieldSpecific(Block.java:116) org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457) org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72) org.jruby.ir.interpreter.InterpreterEngine.processOtherOp(InterpreterEngine.java:506) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:177) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:118) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:122) org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136) org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:67) org.jruby.runtime.Block.yieldSpecific(Block.java:116) org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457) org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72) org.jruby.ir.interpreter.InterpreterEngine.processOtherOp(InterpreterEngine.java:506) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:177) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:118) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:122) org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136) org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:67) org.jruby.runtime.Block.yieldSpecific(Block.java:116) org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457) org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72) org.jruby.ir.interpreter.InterpreterEngine.processOtherOp(InterpreterEngine.java:506) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:177) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:118) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:155) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:118) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:155) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:77) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:147) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:138) org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:189) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:293) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:131) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:306) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:155) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:118) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:155) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:118) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:122) org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136) org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:152) org.jruby.runtime.BlockBody.yield(BlockBody.java:77) org.jruby.runtime.Block.yield(Block.java:147) org.jruby.RubyArray.each(RubyArray.java:1560) org.jruby.RubyArray$INVOKER$i$0$0$each.call(RubyArray$INVOKER$i$0$0$each.gen) org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:494) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:77) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:122) org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136) org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:67) org.jruby.runtime.Block.yieldSpecific(Block.java:116) org.jruby.ir.runtime.IRRuntimeHelpers.yieldSpecific(IRRuntimeHelpers.java:457) org.jruby.ir.instructions.YieldInstr.interpret(YieldInstr.java:72) org.jruby.ir.interpreter.InterpreterEngine.processOtherOp(InterpreterEngine.java:506) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:177) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:118) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:83) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:179) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:166) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:323) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:173) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:177) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:299) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:122) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.ir.runtime.IRRuntimeHelpers.instanceSuper(IRRuntimeHelpers.java:903) org.jruby.ir.instructions.InstanceSuperInstr.interpret(InstanceSuperInstr.java:69) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:122) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:122) org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136) org.jruby.runtime.IRBlockBody.doYield(IRBlockBody.java:152) org.jruby.runtime.BlockBody.yield(BlockBody.java:77) org.jruby.runtime.Block.yield(Block.java:147) org.jruby.RubyArray.collect(RubyArray.java:2286) org.jruby.RubyArray.map19(RubyArray.java:2300) org.jruby.RubyArray$INVOKER$i$0$0$map19.call(RubyArray$INVOKER$i$0$0$map19.gen) org.jruby.internal.runtime.methods.JavaMethod$JavaMethodZeroBlock.call(JavaMethod.java:494) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:122) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:109) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:273) org.jruby.runtime.callsite.CachingCallSite.callBlock(CachingCallSite.java:79) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:83) org.jruby.ir.instructions.CallBase.interpret(CallBase.java:419) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:322) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.InterpreterEngine.interpret(InterpreterEngine.java:83) org.jruby.internal.runtime.methods.InterpretedIRMethod.INTERPRET_METHOD(InterpretedIRMethod.java:179) org.jruby.internal.runtime.methods.InterpretedIRMethod.call(InterpretedIRMethod.java:166) org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:197) org.jruby.runtime.callsite.CachingCallSite.cacheAndCall(CachingCallSite.java:313) org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:163) org.jruby.ir.interpreter.InterpreterEngine.processCall(InterpreterEngine.java:290) org.jruby.ir.interpreter.StartupInterpreterEngine.interpret(StartupInterpreterEngine.java:77) org.jruby.ir.interpreter.Interpreter.INTERPRET_BLOCK(Interpreter.java:122) org.jruby.runtime.MixedModeIRBlockBody.commonYieldPath(MixedModeIRBlockBody.java:136) org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:59) org.jruby.runtime.Block.call(Block.java:106) org.jruby.RubyProc.call(RubyProc.java:334) org.jruby.RubyProc.call(RubyProc.java:240) org.jruby.Ruby.tearDown(Ruby.java:3238) org.jruby.Ruby.tearDown(Ruby.java:3211) org.jruby.Main.internalRun(Main.java:308) org.jruby.Main.run(Main.java:233) org.jruby.Main.main(Main.java:200)
However, all the tests pass just fine when I only run the tests in the file ruby -Itest /rails/actionview/test/template/form_helper_test.rb
ruby -Itest /rails/actionview/test/template/form_helper_test.rb
Let me know if I can help in anyway! I'll be happy to help debug but I'm not sure where to start :(
The text was updated successfully, but these errors were encountered:
@tgxworld Is this master of Rails or a specific version?
Sorry, something went wrong.
Opps Rails master. Sorry about that.
... this is probably no longer valid, can it get closed?
definitely no longer relevant.
No branches or pull requests
If I run the Action View tests with
rake test
, I get a bunch of errors like this:However, all the tests pass just fine when I only run the tests in the file
ruby -Itest /rails/actionview/test/template/form_helper_test.rb
Let me know if I can help in anyway! I'll be happy to help debug but I'm not sure where to start :(
The text was updated successfully, but these errors were encountered: