pothos-java: init result variable to fix assert