Your message dated Fri, 27 Jul 2018 17:24:11 +0200
with message-id <[email protected]>
and subject line Re: Bug#899183:
has caused the Debian Bug report #899183,
regarding libpdfbox2-java:
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
899183: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=899183
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libpdfbox2-java
Version: 2.0.9-1
Severity: important
Dear Maintainer,
I get the exception below when running my Java program using
libpdfbox2-java. I tried running the program with different
JREs (down to 1.7) but the error persists. I guess the problem is
that libpdfbox2-java is compiled using Java 9. Java 9 seems to
introduce a change that breaks things even when running with
older JREs:
'because in JDK9 ByteBuffer.flip() returns a ByteBuffer... It
used to return a Buffer in JDK8.'
(see https://github.com/plasma-umass/doppio/issues/497 also
for suggestions on how to fix this at build time)
I downloaded the official jar
(http://www-us.apache.org/dist/pdfbox/2.0.9/fontbox-2.0.9.jar) and with
that one I don't see the problem.
Exception in thread "AWT-EventQueue-1" java.lang.NoSuchMethodError:
java.nio.ByteBuffer.position(I)Ljava/nio/ByteBuffer;
at org.apache.fontbox.type1.Type1Lexer.readToken(Type1Lexer.java:184)
at org.apache.fontbox.type1.Type1Lexer.<init>(Type1Lexer.java:64)
at org.apache.fontbox.type1.Type1Parser.parseASCII(Type1Parser.java:86)
at org.apache.fontbox.type1.Type1Parser.parse(Type1Parser.java:61)
at org.apache.fontbox.type1.Type1Font.createWithPFB(Type1Font.java:56)
at
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.getType1Font(FileSystemFontProvider.java:762)
at
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider.access$100(FileSystemFontProvider.java:55)
at
org.apache.pdfbox.pdmodel.font.FileSystemFontProvider$FSFontInfo.getFont(FileSystemFontProvider.java:131)
at
org.apache.pdfbox.pdmodel.font.FontMapperImpl.findFont(FontMapperImpl.java:436)
at
org.apache.pdfbox.pdmodel.font.FontMapperImpl.findFontBoxFont(FontMapperImpl.java:376)
at
org.apache.pdfbox.pdmodel.font.FontMapperImpl.getFontBoxFont(FontMapperImpl.java:350)
at
org.apache.pdfbox.pdmodel.font.PDType1Font.<init>(PDType1Font.java:146)
at
org.apache.pdfbox.pdmodel.font.PDType1Font.<clinit>(PDType1Font.java:79)
at
org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm.verifyOrCreateDefaults(PDAcroForm.java:128)
at
org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm.<init>(PDAcroForm.java:93)
...
Best wishes,
Martin.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.16.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libpdfbox2-java depends on:
ii libcommons-logging-java 1.2-2
ii libfontbox2-java 2.0.9-1
libpdfbox2-java recommends no packages.
Versions of packages libpdfbox2-java suggests:
ii libbcmail-java 1.59-1
ii libbcprov-java 1.59-1
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 2.0.11-1
I just realized that the package was already recompiled against OpenJDK
10 where this bug has been fixed. So I guess we can close this bug
report. Ubuntu users should install the latest version of libpdfbox2-java.
Markus
signature.asc
Description: OpenPGP digital signature
--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.