Free Support Forum - groupdocs.com

Cross reference table or cross refference stream not found


#1

Hi,

I stuck with error when try to upload specific pdf file(see attached file also):
Exception in thread “Thread-5” class com.aspose.pdf.exceptions.CrossTableNotFoundException: Cross reference table or cross refference stream not found
com.aspose.pdf.internal.p428.z28.m3(Unknown Source)
com.aspose.pdf.internal.p428.z28.m2(Unknown Source)
com.aspose.pdf.internal.p428.z28.m1(Unknown Source)
com.aspose.pdf.PageCollection.getUnrestricted(Unknown Source)
com.aspose.pdf.PageCollection.m1(Unknown Source)
com.aspose.pdf.PageCollection.get_Item(Unknown Source)
com.groupdocs.viewer.b.a.g.a(PdfToHtmlConverter.java:116)
com.groupdocs.viewer.b.a.g$1.run(PdfToHtmlConverter.java:213)



#2
Hi there,

Sorry to see you get this issue. Unfortunately we can’t reproduce it. Can you provide additional information about this case? It would be nice to know Java version, Maven (Ant) version, which sample you used and steps to reproduce the issue.
If this is some custom project or the modified sample, please provide configuration that you used with the GroupDocs.Viewer for Java library or the project itself, so it will be easier to reproduce the issue.


#3

I try sample application for servlets.
java: 1.7.0_67, mvn: 3.0.5, ant: 1.9.4.
I use to temporary license for the viewer. When try to upload file that i attached then it gives one of the below errors:
1) Exception in thread “Thread-3” class com.aspose.pdf.internal.p235.z94: Wrong position!!!
com.aspose.pdf.internal.p424.z11.m1(Unknown Source)
com.aspose.pdf.internal.p424.z11.m5(Unknown Source)
com.aspose.pdf.internal.p424.z11.m1(Unknown Source)
com.aspose.pdf.internal.p475.z29.aP_(Unknown Source)
com.aspose.pdf.internal.p428.z28.m10(Unknown Source)
com.aspose.pdf.internal.p428.z28.m3(Unknown Source)
com.aspose.pdf.internal.p428.z28.m2(Unknown Source)
com.aspose.pdf.internal.p428.z28.m1(Unknown Source)
com.aspose.pdf.PageCollection.getUnrestricted(Unknown Source)
com.aspose.pdf.PageCollection.m1(Unknown Source)
com.aspose.pdf.PageCollection.get_Item(Unknown Source)
com.groupdocs.viewer.b.a.g.a(PdfToHtmlConverter.java:116)
com.groupdocs.viewer.b.a.g$1.run(PdfToHtmlConverter.java:213)
2) Exception in thread “Thread-4” class com.aspose.pdf.internal.p235.z94: Operation is not valid due to the current state of the object.
com.aspose.pdf.internal.p236.z23.m3(Unknown Source)
com.aspose.pdf.internal.p509.z9.m4(Unknown Source)
com.aspose.pdf.internal.p475.z24$z1.m1(Unknown Source)
com.aspose.pdf.internal.p509.z8.m1(Unknown Source)
com.aspose.pdf.internal.p475.z35.m1(Unknown Source)
com.aspose.pdf.internal.p510.z11.m5(Unknown Source)
com.aspose.pdf.internal.p475.z29$z1.m1(Unknown Source)
com.aspose.pdf.internal.p509.z8.m1(Unknown Source)
com.aspose.pdf.internal.p424.z11.m1(Unknown Source)
com.aspose.pdf.internal.p424.z11.m5(Unknown Source)
com.aspose.pdf.internal.p424.z11.m1(Unknown Source)
com.aspose.pdf.internal.p475.z29.aP_(Unknown Source)
com.aspose.pdf.internal.p428.z28.m10(Unknown Source)
com.aspose.pdf.internal.p428.z28.m3(Unknown Source)
com.aspose.pdf.internal.p428.z28.m2(Unknown Source)
com.aspose.pdf.internal.p428.z28.m1(Unknown Source)
com.aspose.pdf.PageCollection.getUnrestricted(Unknown Source)
com.aspose.pdf.PageCollection.m1(Unknown Source)
com.aspose.pdf.PageCollection.get_Item(Unknown Source)
com.groupdocs.viewer.b.a.g.a(PdfToHtmlConverter.java:116)
com.groupdocs.viewer.b.a.g$1.run(PdfToHtmlConverter.java:213)
3) Exception in thread “Thread-5” class com.aspose.pdf.exceptions.CrossTableNotFoundException: Cross reference table or cross refference stream not found
com.aspose.pdf.internal.p428.z28.m3(Unknown Source)
com.aspose.pdf.internal.p428.z28.m2(Unknown Source)
com.aspose.pdf.internal.p428.z28.m1(Unknown Source)
com.aspose.pdf.PageCollection.getUnrestricted(Unknown Source)
com.aspose.pdf.PageCollection.m1(Unknown Source)
com.aspose.pdf.PageCollection.get_Item(Unknown Source)
com.groupdocs.viewer.b.a.g.a(PdfToHtmlConverter.java:116)
com.groupdocs.viewer.b.a.g$1.run(PdfToHtmlConverter.java:213)
Please advice.
Though for the trial version there are no issues.


#4
Hello,

Indeed, we were able to reproduce the issue, but it does not influence the GroupDocs.Viewer for Java library workability. Pages are rendered as intended. We are working on this issue and hope to resolve it in the next release.