[Bug 61989] New: Wrong result of row(0).cell(0)

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

[Bug 61989] New: Wrong result of row(0).cell(0)

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

            Bug ID: 61989
           Summary: Wrong result of row(0).cell(0)
           Product: POI
           Version: 3.17-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

Created attachment 35673
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35673&action=edit
The excel to read and Debug Infomation

I read the first sheet of the first row of the first cell.
but the result is wrong.
It gives me the sheetName.

Please read the attachment file for the detail information.

--
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 61989] Wrong result of sheet(0).row(0).cell(0)

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

laiwen.li <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Wrong result of             |Wrong result of
                   |row(0).cell(0)              |sheet(0).row(0).cell(0)
                 OS|                            |All

--
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 61989] Wrong result of sheet(0).row(0).cell(0)

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=61989

Alain Fagot Bearez <[hidden email]> changed:

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

--- Comment #1 from Alain Fagot Bearez <[hidden email]> ---
You should try to use one of the specialized methods to retrieve the cell
content.

I would suggest to take a look at getStringCellValue() as first try.

http://poi.apache.org/apidocs/org/apache/poi/xssf/usermodel/XSSFCell.html#getStringCellValue--

--
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]