You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2017/07/09 19:24:44 UTC

[Bug 61268] New: Parse Failed

https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

            Bug ID: 61268
           Summary: Parse Failed
           Product: POI
           Version: 3.16-dev
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: POI Overall
          Assignee: dev@poi.apache.org
          Reporter: gaurav.chd3@gmail.com
  Target Milestone: ---

Parse Failed for doc file

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] Parse Failed

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

--- Comment #5 from gaurav.chd3@gmail.com ---
Created attachment 35107
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35107&action=edit
2014 doc file

File size is 6 MB. It can be downloaded from below link:

http://www.3gpp.org/ftp/tsg_sa/WG3_Security/TSGS3_76_Sophia/Docs/S3-142235.zip

"S3-142235 Comments on S3-142030 VF proposal TR 33969-071_rm.doc" file in the
zip file

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] Parse Failed

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
gaurav.chd3@gmail.com - can you provide some context on why Apache POI support
all these files?
It seems to me that if you want to read these very old files, you should use MS
Word to convert them to newer formats.
Apache POI is a volunteer project and if this support matters to you or your
organisation, maybe you can provide patches.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] Parse Failed

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

--- Comment #2 from gaurav.chd3@gmail.com ---
Thanks for response! 

This is a new file 2015 file not an old file. 

I am just testing it to see if it can be used in comparison to 
Other options.

Have a good day ahead!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] NegativeArraySizeException on doc file picture

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Parse Failed                |NegativeArraySizeException
                   |                            |on doc file picture

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] Parse Failed

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

--- Comment #6 from PJ Fanning <fa...@yahoo.com> ---
POI 3.16 / Tika 1.15

S3-142235/S3-142235 Comments on S3-142030 VF proposal TR 33969-071_rm.doc

Caused by: java.lang.NegativeArraySizeException
        at
org.apache.poi.ddf.UnknownEscherRecord.fillFields(UnknownEscherRecord.java:71)
        at
org.apache.poi.ddf.EscherContainerRecord.fillFields(EscherContainerRecord.java:81)
        at
org.apache.poi.hwpf.model.PICFAndOfficeArtData.<init>(PICFAndOfficeArtData.java:61)
        at org.apache.poi.hwpf.usermodel.Picture.<init>(Picture.java:112)
        at
org.apache.poi.hwpf.model.PicturesTable.extractPicture(PicturesTable.java:162)
        at
org.apache.poi.hwpf.model.PicturesTable.getAllPictures(PicturesTable.java:233)
        at
org.apache.tika.parser.microsoft.WordExtractor$PicturesSource.<init>(WordExtractor.java:710)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] Parse Failed

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

Javen O'Neal <on...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
           Severity|critical                    |normal

--- Comment #3 from Javen O'Neal <on...@apache.org> ---
Missing attachment, missing error message, missing reproducible test case,
missing other helpful information such as POI version.

If you have a set of Microsoft Office files that can't be read, please do some
investigation on your end, submit one and only one file for a given issue, and
suggest an improvement in the form of a patch for POI to be able to read said
file.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] Parse Failed

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

gaurav.chd3@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #4 from gaurav.chd3@gmail.com ---
Sorry, for inconvenience. The file is attached now. The test cases 61265,
61267, 61266, and 61268 are completely different test cases/issues. They will
have different root causes and resolutions. 

Point regarding improvement suggestion is noted. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 61268] NegativeArraySizeException on doc file picture

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61268

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from PJ Fanning <fa...@yahoo.com> ---
I added a workaround in
https://svn.apache.org/viewvc?view=revision&revision=1801395

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org