Hi,
I use the following Java Program on AIX:
logger.info("FontsDir: "+fontDir);
String[] _fontDir = new String[] {fontDir};
FontsLoader.loadExternalFonts(_fontDir);
InputStream _is = new FileInputStream(_inputFileName);
PresentationEx _presentation = new PresentationEx(_is);
com.aspose.slides.export.PdfOptions _pdfSaveOptions = new com.aspose.slides.export.PdfOptions();
_pdfSaveOptions.setCompliance(com.aspose.slides.export.PdfCompliance.PDF_15);
_pdfSaveOptions.setSaveMetafilesAsPng(false);
_pdfSaveOptions.setTextCompression(com.aspose.slides.export.PdfTextCompression.NONE); ByteArrayOutputStream _byteAOs = new ByteArrayOutputStream();
FileOutputStream _fos=null;
try {
_presentation.save(_byteAOs, com.aspose.slides.export.SaveFormat.PDF, _pdfSaveOptions);
I get the NullPointer Exception as in the attachment. The Presentation I also send to you as attachment.
Is it a bug or do I have a coding problem.
By the way, the same Program running on Windows 7 works fine.
Any help welcome.
best regards,
Igor