PDF orientation test failing due to changed java api in PDFBOX 3.0x

Description

[java] [script] testPDFOrientation
[java] [script]
[java] [script] Errored: No matching Method for load(string) found for org.apache.pdfbox.pdmodel.PDDocument
[java] [script]
[java] [script] C:\work\lucee6\test\tags\PDF.cfc:104
[java] [script] C:\work\lucee6\test\tags\PDF.cfc:71
[java] [script] C:\work\lucee6\test_testRunner.cfc:336
[java] [script] C:\work\lucee6\test\run-tests.cfm:203
[java] [script]
[java] [script]
[java] [script] lucee.runtime.exp.NativeException: No matching Method for load(string) found for org.apache.pdfbox.pdmodel.PDDocument
[java] [script]
[java] [script] at lucee.runtime.reflection.Reflector.getMethodInstance(Reflector.java:921)
[java] [script] at lucee.runtime.java.JavaObject.call(JavaObject.java:267)
[java] [script] at lucee.runtime.java.JavaObject.call(JavaObject.java:292)
[java] [script] at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
[java] [script] at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1750)
[java] [script] at tags.pdf_cfc$cf.udfCall(/test/tags/PDF.cfc:104)
[java] [script] at lucee.runtime.type.UDFImpl.implementation(UDFImpl.java:106)
[java] [script] at lucee.runtime.type.UDFImpl._call(UDFImpl.java:344)
[java] [script] at lucee.runtime.type.UDFImpl.call(UDFImpl.java:217)
[java] [script] at lucee.runtime.type.scope.UndefinedImpl.call(UndefinedImpl.java:786)
[java] [script] at lucee.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:787)
[java] [script] at lucee.runtime.PageContextImpl.getFunction(PageContextImpl.java:1750)
[java] [script] at tags.pdf_cfc$cf.udfCall(/test/tags/PDF.cfc:71)
[java] [script]

Environment

None

relates to

Activity

Show:

Pothys - MitrahSoft 29 March 2022 at 11:41

Pothys - MitrahSoft 21 March 2022 at 13:25

Pothys - MitrahSoft 14 March 2022 at 15:32

I modified the testcase
Pull Request:

Zac Spitzer 6 February 2022 at 19:35

test disabled for now

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 6 February 2022 at 19:31
Updated 29 March 2022 at 11:43
Resolved 29 March 2022 at 11:41