We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose classloading problem?

Dear Aspose,
I am using aspose-pdf-4.3.0.jar. When I put this library under jre/lib/ext then it works perfectly but when I add it on my classpath I see I am setting the licence well but when I use TextAbsorber then aspose throws below exception. Also I am using aspose-cells-7.7.1.jar for Workbook, when I instantiate Workbook object I also get NullPointerException but sametime when I put it on jre/lib/ext it works perfectly. This more seems like a classloading problem but I feel like there is something wrong with Aspose itself, as I see I load Aspose classes properly.

java.lang.NullPointerException
13/08/2015 12:37:10:823 -> at com.aspose.ms.System.d.m.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.ms.System.f.b.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.c.m.b(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.c.m.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.c.w.D(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.c.w.o(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.b.a.k.b(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.b.a.f.(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.b.a.g.(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.b.a.k.(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.b.f.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.c.w.t(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.d.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.a.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.a.(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.d.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.i.b(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.i.g(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.k.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.k.a(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.a.b.e.d.k.(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.TextAbsorber.visit(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.Page.accept(Unknown Source)
13/08/2015 12:37:10:823 -> at com.aspose.pdf.PageCollection.accept(Unknown Source)

Hi,

Thanks for your posting and using Aspose APIs.

These issues seems to be related to Aspose.Cells and Aspose.Pdf. Kindly post in their respective forums separately with detail description of each issue.


Please also provide us your source files and sample code there. We will look into your issues and help you asap. Thanks for your cooperation.

In case of Aspose.Cells, please also download and try the latest version: Aspose.Cells for Java 8.5.1 and see if it makes any difference and resolves your issue.