[AMQ-9258] Add NPE guards to kahadb test that intermittently fails on slower CI servers (#1006)

1 file changed