NXP-10855: fixing stack not  printed in error handling
NXP-10856 jena graph should be initialized outside a transaction