mirror of
https://github.com/apache/impala.git
synced 2026-01-07 18:02:33 -05:00
When JVM runs out of memory and throws an error to JNI, the error handling code uses JNI to get the exception message, resulting in a null pointer and crashing the process. This patch adds error handling code to JniUtil::GetJniExceptionMsg(). Change-Id: Ie3ed88bf8739c56a066f2402727c8204e96aa116 Reviewed-on: http://gerrit.cloudera.org:8080/8334 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Impala Public Jenkins