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 2018/03/07 11:15:39 UTC

[Bug 62162] New: indirect function with named range reference causes NPE

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

            Bug ID: 62162
           Summary: indirect function with named range reference causes
                    NPE
           Product: POI
           Version: 3.15-FINAL
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSSF
          Assignee: dev@poi.apache.org
          Reporter: samsontesfay@tagetik.com
  Target Milestone: ---

Created attachment 35753
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35753&action=edit
Sample file to replicate the problem

Referring a named range in a different sheet using from an INDIRECT causes NPE.
The problem seems that the “OperationEvaluationContext” is searching the name
in the referee sheet (the one containing the formula) instead of the owner of
the name. See the suggested patch for details.

-- 
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 62162] indirect function with named range reference causes NPE

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

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 62162] indirect function with named range reference causes NPE

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

--- Comment #2 from samson <sa...@tagetik.com> ---
Created attachment 35755
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35755&action=edit
Possible solution

-- 
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 62162] indirect function with named range reference causes NPE

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

--- Comment #1 from samson <sa...@tagetik.com> ---
Created attachment 35754
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35754&action=edit
Unit test to replicate the issue

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