grosser / parallel_tests

Ruby: 2 CPUs = 2x Testing Speed for RSpec, Test::Unit and Cucumber
3.38k stars 495 forks source link

NullPointerException when running on Jruby and cucumber 2 #471

Open westlakem opened 8 years ago

westlakem commented 8 years ago

I get a pipe open null pointer exception after running

jruby -S parallel_cucumber features -n 12 -o "-p profile1 -p profile2"

12 processes for 296 features, ~ 24 features per process PopenExecutor.java:556:in pipeOpen': java.lang.NullPointerException from PopenExecutor.java:299:inpopen' from RubyKernel.java:300:in open19' from RubyKernel$INVOKER$s$0$3$open19.gen:-1:incall' from CachingCallSite.java:77:in callBlock' from CachingCallSite.java:83:incall' from CallBase.java:419:in interpret' from InterpreterEngine.java:321:inprocessCall' from StartupInterpreterEngine.java:77:in interpret' from MixedModeIRMethod.java:128:inINTERPRET_METHOD' from MixedModeIRMethod.java:114:in call' from CachingCallSite.java:77:incallBlock' from CachingCallSite.java:83:in call' from CallBase.java:419:ininterpret' from InterpreterEngine.java:321:in processCall' from StartupInterpreterEngine.java:77:ininterpret' from MixedModeIRMethod.java:128:in INTERPRET_METHOD' from MixedModeIRMethod.java:114:incall' from CachingCallSite.java:77:in callBlock' from CachingCallSite.java:83:incall' from CallBase.java:419:in interpret' from InterpreterEngine.java:321:inprocessCall' from StartupInterpreterEngine.java:77:in interpret' from MixedModeIRMethod.java:128:inINTERPRET_METHOD' from MixedModeIRMethod.java:114:in call' from CachingCallSite.java:77:incallBlock' from CachingCallSite.java:83:in `call'

westlakem commented 8 years ago

I downgraded Jruby 9.0.4.0 to jruby 1.7.23 and it works properly, but now I don't have the ruby 2.2 support that is in Jruby 9.x.x.x

grosser commented 8 years ago

Please try to add a testcase / make the tests run on jruby 9 ... I don't use it / don't know how to debug it, so any help would be awesome :)

On Wed, Dec 9, 2015 at 7:45 AM, westlakem notifications@github.com wrote:

I downgraded Jruby 9.0.4.0 to jruby 1.7.23 and it works properly, but now I don't have the ruby 2.2 support that is in Jruby 9.x.x.x

— Reply to this email directly or view it on GitHub https://github.com/grosser/parallel_tests/issues/471#issuecomment-163298072 .