Fixed .JNull case in rawObject method