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

Free Support Forum - aspose.com

Aspose PDF Extraction Issue - Need help!

Hello Aspose Support Team,

BKFS has a valid Aspose PDF license. Currently we are facing an issue in our application where we noticed the below error in the logs while indexing the PDF in the application. This is blocking our functionality to work. Please advise on the root cause and necessary steps to resolve the problem.

Error in Logs:

com.aspose.pdf.internal.p301.z116: Resulting timespan is too big.

at com.aspose.pdf.internal.p301.z141.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p301.z141.m5(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p301.z143.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.m2(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.m2(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p544.z2.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p488.z13.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p488.z12.m2(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p488.z12.(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.ADocument.(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

Hello Aspose Support Team,

BKFS has a valid Aspose PDF license. Currently we are facing an issue in our application where we noticed the below error in the logs while indexing the PDF in the application. This is blocking our functionality to work. Please advise on the root cause and necessary steps to resolve the problem.

Error in Logs:

com.aspose.pdf.internal.p301.z116: Resulting timespan is too big.

at com.aspose.pdf.internal.p301.z141.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p301.z141.m5(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p301.z143.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.m2(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.m2(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p493.z1.(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p544.z2.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p488.z13.m1(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p488.z12.m2(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.internal.p488.z12.(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

at com.aspose.pdf.ADocument.(Unknown Source) ~[aspose-pdf-10.0.0-jdk16.jar:10.0.0]

Hi Sandeep,


Thanks for contacting support and sorry for the delayed response.

Can you please share some details regarding the functionality you are trying to perform with Aspose.Pdf for Java and also please share some code snippet and resource files, so that we can test the scenario in our environment. We are sorry for this inconvenience.

Besides this, can you please try using the latest release of Aspose.Pdf for Java 10.6.1 as some of our customers reported similar issue and it was fixed in recent release versions.

Hello,

We are to Index the PDF Document When i write a stand alone application but even it is Able to Generate in application Level in My Local Box but it is causing the above mentioned issue Just only when i run when i Run same in Clustured Environments.Could you please Suggest.

Hi Sandeep,


As requested earlier, please share some details regarding the environment causing issues i.e. Operating system, JDK version etc, the code snippet you are using and any resource files which can help us in replicating the issue in our environment. Please note that in order to figure out the actual reasons behind this issue, first we need to replicate it in our environment. We are sorry for this inconvenience.

Operating System:Windows Server 2008 R2 Enterprise

Java Version:"1.6.0_37"

WAS:IBM WebSphere Application Server - ND(7.0.0.33)

Aspose Jar:aspose-pdf-10.0.0-jdk16.jar

Code Snippet:
//Error in the below Line:
com.aspose.pdf.Document newDocument = new com.aspose.pdf.Document();
// Open the first document

com.aspose.pdf.Document pdfDocument1 = new com.aspose.pdf.Document(strSourceDocNameAndPath);

PageCollection pdfPageCol = pdfDocument1.getPages();
int intSize = pdfPageCol.size();

Hi Sandeep,


Thanks for sharing the details.

As requested earlier, please share if the issue is occurring for some specific PDF files or its appearing for all the documents. In case its occurring for certain set of documents, please share the resource files.