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 2014/06/19 09:40:35 UTC

[Bug 56644] New: NullPointerException in XSSFCell Constructor

https://issues.apache.org/bugzilla/show_bug.cgi?id=56644

            Bug ID: 56644
           Summary: NullPointerException in XSSFCell Constructor
           Product: POI
           Version: 3.10
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: buehlmann@phys.ethz.ch

Created attachment 31730
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31730&action=edit
XLSX Example

Under some circumstances, the XSSFCell constructor XSSFCell(XSSFRow row, CTCell
cell) throws a null pointer exception at line 110 (release
poi-src-3.10-FINAL-20140208)

    _cellNum = row.getCell(prevNum-1).getColumnIndex() + 1;


See the attached java and xls files

-- 
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 56644] NullPointerException in XSSFCell Constructor

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

--- Comment #1 from Simon <bu...@phys.ethz.ch> ---
Created attachment 31731
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31731&action=edit
Create Cell example

-- 
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 56644] NullPointerException in XSSFCell Constructor

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

Dominik Stadler <do...@gmx.at> changed:

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

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
Fixed via r1647291, we now explicitly set the missing cell policy internally
when creating new cells to avoid receiving null at this point.

-- 
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 56644] NullPointerException in XSSFCell Constructor

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

Dominik Stadler <do...@gmx.at> changed:

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

-- 
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 56644] NullPointerException in XSSFCell Constructor

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

Simon <bu...@phys.ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |buehlmann@phys.ethz.ch

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