Fixed issue in report flow jni method