Registering MyBridgeObject class in HelloBridge initializeJava method solves the issue