Project

Profile

Help

Bug #4212

closed

ClassNotFoundException: com.saxonica.ee.bytecode.GeneratedCode

Added by Pranay Deshpande over 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Build and release
Sprint/Milestone:
-
Start date:
2019-05-06
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Dear Colleagues,

This is Pranay from SAP Labs. We are using SaxonEE library for XSLT processing in our product. Where we are getting ClassNotFoundException for ‘com.saxonica.ee.bytecode.GeneratedCode’

org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[ID-vsa6585629-1556884301644-4-1], cause: java.lang.ClassNotFoundException: com.saxonica.ee.bytecode.GeneratedCode

We started getting this issue in SaxonEE-9.8 version once we started using EnterpriseTransformerFactory, but as recommended by Michael in below thread <https://saxonica.plan.io/issues/3814 > this issue is fixed in 9.9.1 version. So we also tried executing the same transformation using SaxonEE-9.9.1, but still facing the same issue. I’m currently trying to put the workaround in place i.e. configuration.getDynamicLoader().setClassLoader(Configuration.class.getClassLoader()); - as recommended in the same thread 3814

PS: We are getting this issue only if the XML payload is More than 4000 lines approx. For smaller payload, the transformation is working fine.

Meanwhile could you please provide us some insight into this problem. Is it a known issue, can we expect a fix for this in the upcoming releases, or is there any other way to avoid this.

In our stack, we have Apache Camel in our runtime, SaxonEE as XSLT processor with OSGI (Karaf and Equinox containers)

Thanks in advance Best Regards, Pranay Deshpande SAP Labs


Files

saxonlogs.txt (3.75 KB) saxonlogs.txt Pranay Deshpande, 2019-05-06 12:57
AMEX.xml (644 Bytes) AMEX.xml Source XML Juan Lopez, 2019-05-10 12:35
XMLtoCSV.xslt (11.1 KB) XMLtoCSV.xslt Transformation Juan Lopez, 2019-05-10 12:35
XMLtoCSV_CONF.xslt (3.69 KB) XMLtoCSV_CONF.xslt Library Juan Lopez, 2019-05-10 12:35
xslt error.bmp (522 KB) xslt error.bmp SAP error Juan Lopez, 2019-05-10 12:37

Please register to edit this issue

Also available in: Atom PDF