Hi Nol,
The pdfbox-app is a standalone version of PDFbox, both are available from their maven site and download page.
According to it's history, PDFStreamEngine became 'deprecated' in version 2.0.3 and renamed to LegacyPDFStreamEngine.
This should be true for both 2.0.3 jars (are you sure both are that version?)
Do you know which module added the pdfbox-app jar to your userlib (I'm guessing communitycommons). Depending on where it is used, you might be able to just swap it with the pdfbox jar.
Hope that helps!
For readability purpose I copy my answer to Jeroen here as well:
Thanks Jeroen,
This is part of what the static block does:
static
{
String path = "org/apache/pdfbox/resources/text/BidiMirroring.txt";
InputStream input = PDFTextStripper.class.getClassLoader().getResourceAsStream(path);
try
{
...
...
finally
{
try
{
input.close();
}
The debugger in Eclipse shows that the InputStream 'input' is null, which causes a NPE when it is attempted to be closed on line 1866. I haven't succeeded yet to find which classloader it is that doesn't want to load this 'BidiMirroring.txt' file (which is available in the -app jar), but I presume it is a Mendix specific one (which is not allowed to load resources like these..?).
Anyone any idea how to get around this, or to instruct this (presumably) Mendix class loader to load this txt file?