Apache fop raises exception NoSuchMethodError: java.nio.CharBuffer.limit(I)Ljava/nio/CharBuffer on Ubuntu 19.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
fop (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
On Ubuntu 19.04 (Beta) with the latest updates I get an error when running fop
I tested it with the Hello World xml/xsl from the Apache Fop quickstart guide
https:/
$ fop -xml name.xml -xsl name2fo.xsl -pdf name.pdf
Exception in thread "main" java.lang.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
at org.apache.
$ fop -version
FOP Version 2.3
Under the hood Apache fop uses java-8-openjdk, because I tried to remove all java versions and fop prints this error, when java-8-openjdk is not available
$ /usr/bin/fop
/usr/bin/fop: 304: exec: /usr/lib/
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Disco Dingo (development branch)
Release: 19.04
Codename: disco
Status changed to 'Confirmed' because the bug affects multiple users.