Welcome Guest Search | Active Topics | Sign In | Register

Undocumented error messages when merging PDFs Options
egronbboj
Posted: Thursday, February 9, 2012 7:59:34 AM
Rank: Member
Groups: Member

Joined: 1/2/2012
Posts: 10
I am trying to merge n number of PDF-files, but get the following exceptions:

- "Property 'W' can not be empty."
- "EO.Pdf.Internal.nEO.Pdf.Internal.n: Adler chksum doesn't match: -569963086 vs. -966683390 at EO.Pdf.Internal.af.b() at EO.Pdf.Internal.af.a() at EO.Pdf.Internal.af.a(Byte[] A_0, Int32 A_1, Int32 A_2) at EO.Pdf.Internal.j8.c(Byte[] A_0, Int32 A_1, Int32 A_2)"
- "Unable to locate cmap table"

Code: Visual Basic.NET
Public Shared Sub ShowApplicationsAndDocuments(ByVal applicationIDs As Integer(), ByVal parentPage As PortalSitePage, Optional cookieValue As String = Nothing)
            Dim inStreams() As EO.Pdf.PdfDocument = Nothing
            Try
                Using outStream As New MemoryStream()
                    For Each applicationID As Integer In applicationIDs
                        Dim deleteStreams() As PdfDocument = GetApplicationAndDocumentsStreams(applicationID, parentPage)
                        Array.Resize(inStreams, If(inStreams Is Nothing, deleteStreams.Length, inStreams.Length + deleteStreams.Length))
                        Array.ConstrainedCopy(deleteStreams, 0, inStreams, inStreams.Length - deleteStreams.Length, deleteStreams.Length)
                    Next

                    EO.Pdf.PdfDocument.Merge(inStreams).Save(outStream)
                    Library.Helpers.FileHelper.ResponseByteArrayDownload(outStream.ToArray(), "File.pdf", cookieValue)
                End Using
            Finally
            End Try
        End Sub


The function executes properly on some files, but throw exceptions on others. All three exceptions occur on the same line - line 11 (EO.Pdf.PdfDocument.Merge...).
eo_support
Posted: Thursday, February 9, 2012 9:36:00 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We are aware of the first error "Property "W" can not be empty" and we already have an internal build that fixed this error. However we are not aware of the second and the third error. If you can create a small test application that demonstrates the problem and send the test application along with the files that's causing the problem, we will be happy to take a look. Once we receive the files, we will run it here. As soon as we can reproduce the problem, we should be able to give you a definite answer.

We will PM you as to where to send the test project/files.

Thanks!
egronbboj
Posted: Tuesday, February 14, 2012 9:31:58 AM
Rank: Member
Groups: Member

Joined: 1/2/2012
Posts: 10
I have isolated the problem in a test project and sent it your way, thanks!
eo_support
Posted: Tuesday, February 14, 2012 10:03:32 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have received the files and replied your email. Please revise the test project and send it over to us again. Make sure the project includes only files/code needed to reproduce the problem.

Thanks!
egronbboj
Posted: Wednesday, February 15, 2012 3:11:06 AM
Rank: Member
Groups: Member

Joined: 1/2/2012
Posts: 10
I have revised the test project and resent it to you. Thanks!
eo_support
Posted: Wednesday, February 15, 2012 10:18:49 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have looked into the test files you sent to us. Here are the status:

1. "Property 'W' can not be empty": This issue is a known issue and our internal build has already fixed this issue;
2. "Adler chksum doesn't match": Your source PDF file is corrupted in this case. So you will need to fix that file;
3. "Unable to locate cmap table": This is a bug. We will fix this and provide you an updated build;

Thanks!
egronbboj
Posted: Thursday, February 16, 2012 2:27:47 AM
Rank: Member
Groups: Member

Joined: 1/2/2012
Posts: 10
Okay, we are looking forward to the updated build! Thanks for being so transparent and responsive!
eo_support
Posted: Thursday, February 16, 2012 9:18:50 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We have posted a new build that should fix the cmap table bug. Please see your private message for the download location.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.