spec/java_integration/extenstions/kernel_spec.rb used to raise a NPE as a test to make sure it can be caught and it does not fail but we proceed to see the stacktrace getting printed out anyways. I changed this test to use AIOOBE and it went away. Original code is:
lambda { raise NullPointerException.new }.should raise_error(NullPointerException)