Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0M10
-
None
-
None
-
Patch Available
Description
In Execute method of GetValuesHandler, if the array object can't be retrieved from the MapFromObjectID method, the value for it would be null.
Then, in the following JNI method, a null value passed to it would definitely result in a crash. To solve the problem, we should throw an exception to notify the upper level method that "GetValues: ReadArrayID() returned NULL".
jclass arrObjClass = jni->GetObjectClass(arrayObject);