fixing NPE

fixing the jms transport test failures