[jira] [Commented] (FOP-3059) Open JDK 11 with FOP fail on transform to PDF

2022-03-28 Thread Yakir Goaron (Jira)


[ 
https://issues.apache.org/jira/browse/FOP-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513363#comment-17513363
 ] 

Yakir Goaron commented on FOP-3059:
---

Hi 
Yes I have a full stack trace here it is :

ava.lang.IncompatibleClassChangeError: Class org.apache.fop.fo.FOTreeBuilder 
does not implement the requested interface org.xml.sax.ContentHandler
    at 
java.xml/com.sun.org.apache.xml.internal.serializer.ToSAXHandler.startDocumentInternal(ToSAXHandler.java:87)
    at 
java.xml/com.sun.org.apache.xml.internal.serializer.SerializerBase.startDocument(SerializerBase.java:1074)
    at jdk.translet/die.verwandlung.PDF_PADReport.transform()
    at 
java.xml/com.sun.org.apache.xalan.internal.xsltc.runtime.AbstractTranslet.transform(AbstractTranslet.java:624)
    at 
java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:776)
    at 
java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:370)

It is not including my code as I cannot export it.
Regarding [~ssteiner]  comment yes I did overcome this issue. But it means I 
cannot use the SAX application.

> Open JDK 11 with FOP fail on transform to PDF
> -
>
> Key: FOP-3059
> URL: https://issues.apache.org/jira/browse/FOP-3059
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.4, 2.6
>Reporter: Yakir Goaron
>Priority: Critical
>
> When using FOP with SAX factory on open JDK 11 there is an error when calling 
> the transform from java code.
> The following error shows :
> Class org.apache.fop.fo.FOTreeBuilder does not implement the requested 
> interface org.xml.sax.ContentHandler
> Although the FOTreeBuilder implement the interface it seems that due too the 
> java version it is incompatible. 
> For now I have tried with FOP 2.4 and FOP 2.6  .



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Commented] (FOP-3059) Open JDK 11 with FOP fail on transform to PDF

2022-03-28 Thread Chris Bowditch (Jira)


[ 
https://issues.apache.org/jira/browse/FOP-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17513264#comment-17513264
 ] 

Chris Bowditch commented on FOP-3059:
-

Do you have the full stack trace of the exception? Looks like the bug is with 
Saxon and not FOP. I use FOP with openJDK 11 without issues

> Open JDK 11 with FOP fail on transform to PDF
> -
>
> Key: FOP-3059
> URL: https://issues.apache.org/jira/browse/FOP-3059
> Project: FOP
>  Issue Type: Bug
>Affects Versions: 2.4, 2.6
>Reporter: Yakir Goaron
>Priority: Critical
>
> When using FOP with SAX factory on open JDK 11 there is an error when calling 
> the transform from java code.
> The following error shows :
> Class org.apache.fop.fo.FOTreeBuilder does not implement the requested 
> interface org.xml.sax.ContentHandler
> Although the FOTreeBuilder implement the interface it seems that due too the 
> java version it is incompatible. 
> For now I have tried with FOP 2.4 and FOP 2.6  .



--
This message was sent by Atlassian Jira
(v8.20.1#820001)