JAL-3322 replaced invokeAndWait(r) with r.run() and fixed nullpointer error in jvl...