Hi Matthew, this is a known issue with 3.0.1, see [1] for further details.
The upcoming version 3.0.2 includes a fix. Unless nothing unforeseen happens, the new version will be available in about 2 days from now.
Andreas [1] https://issues.apache.org/jira/browse/PDFBOX-5758 Am 12.03.24 um 17:40 schrieb Matthew Hardy:
Hello, We've recently upgraded to pdfbox 3.0.1. When attempting to instantiate an empty PDDocument, we receive the following error. Caused by: java.lang.NullPointerException: Cannot invoke "org.apache.commons.logging.Log.error(Object, java.lang.Throwable)" because "org.apache.pdfbox.io.IOUtils.LOG" is null at deployment.aeroxchange-edi.ear//org.apache.pdfbox.io.IOUtils.unmapper(IOUtils.java:278) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at deployment.aeroxchange-edi.ear//org.apache.pdfbox.io.IOUtils.<clinit>(IOUtils.java:64) This is a Jakarta EE 10 EJB maven project, running on Java 17 in Wildfly 30.0.1.Final. commons-logging 1.2 has been added as a dependency. Any help would be greatly appreciated! Matt Hardy Software Developer Perform Air International 463 South Hamilton Court Gilbert, Arizona 85233 Phone: (480) 610-3500 Fax: (480) 610-3501 matt.ha...@performair.com<mailto:matt.ha...@performair.com> www.PerformAir.com<http://www.performair.com/>
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org