Updated miniboxed version, still the Null pointer exception