Actions
Bug #2680
closed![Author: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=50&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
![Assignee: O'Neil Delpratt](https://www.gravatar.com/avatar/a0bc1766b412d8fecb16f7d304916359?rating=PG&size=22&default=https%3A%2F%2Fassets.plan.io%2Fimages%2Fdefault_avatar.png)
JNI DeleteLocalRef: tried to delete non local reference
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
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.
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
Actions