Project

Profile

Help

Bug #2680

closed

JNI DeleteLocalRef: tried to delete non local reference

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

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

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.0.0
Fixed in version:
1.0.1
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

Description

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

JNI DeleteLocalRef: tried to delete non local reference
Actions #1

Updated by O'Neil Delpratt over 8 years ago

  • Description updated (diff)
Actions #2

Updated by O'Neil Delpratt over 8 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.

Actions #3

Updated by O'Neil Delpratt over 8 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