[Bug 57897] New: RecordFormatException: Unable to construct record instance

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 57897] New: RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

            Bug ID: 57897
           Summary: RecordFormatException: Unable to construct record
                    instance
           Product: POI
           Version: 3.9-FINAL
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HSSF
          Assignee: [hidden email]
          Reporter: [hidden email]

Created attachment 32721
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=32721&action=edit
Excel File and error stack trace

WorkbookFactory.create(is) (Where is input stream) is throwing an error.(using
an xls file) On looking up the error, I found Bug 50779 which suggested that it
has been fixed...Tried downloading the 3.11 Final version but still get the
same error..

org.apache.poi.hssf.record.RecordFormatException: Not enough data (1) to read
requested (2) bytes

On just opening the file and saving it without any modifications and keeping
the file type as xls only, the problem appears to go away...So some wierd
characters might be causing the issue..

Attached the xls file and the complete error strack trace.

Appreciate a quick turnaround !!!

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

Nick Burch <[hidden email]> changed:

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

--- Comment #1 from Nick Burch <[hidden email]> ---
Any chance you could re-test with the POI 3.12 release candidate, and see if
it's fixed in that newer version? https://dist.apache.org/repos/dist/dev/poi/

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

Adithya <[hidden email]> changed:

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

--- Comment #2 from Adithya <[hidden email]> ---
Nick,

I tested it with the latest 3.12 version and I can confirm that the issue still
exists.

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

--- Comment #3 from Adithya <[hidden email]> ---
Is anyone looking into this ??

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

--- Comment #4 from Nick Burch <[hidden email]> ---
I am sorry that the free support you receive from a community of volunteers for
some software that is free isn't as fast as you would like. If only you had the
source code for the software, so you could investigate it yourself! Or a
workaround! Oh, wait...

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

Dominik Stadler <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.9-FINAL                   |3.12-FINAL

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

--- Comment #5 from Adithya <[hidden email]> ---
Can anyone please suggest if this issue has been fixed and if yes , what
version is it ?

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

--- Comment #6 from Javen O'Neal <[hidden email]> ---
Feel free to write a unit test for this. If it's fixed in the latest version
but not fixed in a previous version (or vice versa), you could use a tool look
git-bisect to find the version that fixed (or broke) this issue.

In general, the best way to see a bug resolved to your liking is to put in a
proportional amount of effort, which includes doing a majority of the leg work
developing necessary tests to prove existing functionality is incorrect,
proposing patches, then using those tests to prove the patch is correct.
Downloading the POI source code, setting up eclipse, and building and testing
the code is pretty straightforward.

--
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 57897] RecordFormatException: Unable to construct record instance

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=57897

ithan <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]