You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pyjnius throws JavaException when it detects a JVM exception. However python's JavaException does not contain any information about JVM exception that caused it. Even though pyjnius invokes JNI->ExceptionDescribe (which prints it to stderr), still at times it is hard to correlate and it would be a lot more informative to actually include at least JVM exception message in python exception.
In my local shadow I have the following code (jnius_utils.py):
Pyjnius throws JavaException when it detects a JVM exception. However python's JavaException does not contain any information about JVM exception that caused it. Even though pyjnius invokes JNI->ExceptionDescribe (which prints it to stderr), still at times it is hard to correlate and it would be a lot more informative to actually include at least JVM exception message in python exception.
In my local shadow I have the following code (jnius_utils.py):
cdef void check_exception(JNIEnv *j_env) except *:
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: