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 2024/10/29 18:16:59 UTC

[Bug 69418] New: Issue when evaluating WORKDAY function that has a cell ref as 2nd param

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

            Bug ID: 69418
           Summary: Issue when evaluating WORKDAY function that has a cell
                    ref as 2nd param
           Product: POI
           Version: 5.3.x-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: SS Common
          Assignee: dev@poi.apache.org
          Reporter: fanningpj@yahoo.com
  Target Milestone: ---

See
https://stackoverflow.com/questions/79135438/illegalstateexception-when-invoking-evaluate-on-workday-function

I have reproduced this and have a fix.

-- 
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 69418] Issue when evaluating WORKDAY function that has a cell ref as 2nd param

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

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
java.lang.IllegalStateException: Unexpected arg eval type
(org.apache.poi.ss.formula.LazyRefEval)
    at
org.apache.poi.ss.formula.eval.OperandResolver.coerceValueToDouble(OperandResolver.java:270)
    at
org.apache.poi.ss.formula.atp.ArgumentsEvaluator.evaluateNumberArg(ArgumentsEvaluator.java:116)

-- 
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 69418] Issue when evaluating WORKDAY function that has a cell ref as 2nd param

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

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
r1921651

-- 
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 69418] Issue when evaluating WORKDAY function that has a cell ref as 2nd param

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

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

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

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