Project

Profile

Help

Bug #2680

JNI DeleteLocalRef: tried to delete non local reference

Added by O'Neil Delpratt over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Start date:
2016-03-18
Due date:
% Done:

100%

Found in version:
1.0.0
Fixed in version:
1.0.1

Description

The error occurs in a PHP application that does Xslt processing:

JNI DeleteLocalRef: tried to delete non local reference

History

#1 Updated by O'Neil Delpratt over 2 years ago

  • Description updated (diff)

#2 Updated by O'Neil Delpratt over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Bug fixed and committed to subversion. Patch available in the next maintenance release.

This bug occurs in the releaseStylesheet method of the XsltProcessor class. I tried changing the jni method call DeleteLocalRef to DeleteGlobalRef. But this gave unpredictable results probably because we did not call NewGlobalRef. I have removed the call on DeleteGlobalRef/DeleteLocalRef therefore depending on the garbage collection to do any clean up.

#3 Updated by O'Neil Delpratt over 2 years ago

  • Status changed from Resolved to Closed
  • Fixed in version set to 1.0.1

Bug fix applied in the Saxon/C 1.0.1 maintenance release.

Please register to edit this issue

Also available in: Atom PDF