diff --git a/jni/NativeFormats/JavaNativeFormatPlugin.cpp b/jni/NativeFormats/JavaNativeFormatPlugin.cpp index 0c391dff9..c60875315 100644 --- a/jni/NativeFormats/JavaNativeFormatPlugin.cpp +++ b/jni/NativeFormats/JavaNativeFormatPlugin.cpp @@ -34,7 +34,7 @@ static shared_ptr findCppPlugin(JNIEnv *env, jobject base) { env->DeleteLocalRef(fileTypeJava); shared_ptr plugin = PluginCollection::Instance().pluginByType(fileTypeCpp); if (plugin.isNull()) { - AndroidUtil::throwRuntimeException(env, "Native FormatPlugin instance is NULL for type " + fileTypeCpp); + AndroidUtil::throwRuntimeException("Native FormatPlugin instance is NULL for type " + fileTypeCpp); } return plugin; }