Closed Robinfr closed 1 year ago
COSVisitorException is a checked exception, and thus causes the compilation to fail. We checked the related library (pdfbox) and this exception was present in the 1.8 of the library, and not the 2.0.x version, which we are using in the current version of Community Commons. We don’t expect this issue to re-occur.
It seems that in the latest version of Mx9, compiling the Java actions sometimes fails:
This is because the
overlayPdf
has defined that anIOException
can be thrown. But it can also throw aCOSVisitorException
. I'm not sure if this is something that has changed, but it seems to be not compile anymore for some people, and is fixed after specifying this exception can also be thrown.