Ticket #1663 (closed defect: fixed)
Solve[{x+y=7,x-y=1},{x,y}] gives null pointer
| Reported by: | michael | Owned by: | simon |
|---|---|---|---|
| Priority: | major | Milestone: | GeoGebra 4.2 |
| Component: | CAS / MPReduce | Keywords: | |
| Cc: | Estimate (h): | 0 | |
| Progress (%): | 100 |
Description
0:
0: Solve[{x+y=7,x-y=1},{x,y}]
0:
*** processCasCell: Solve[{x+y=7,x-y=1},{x,y}]
*** updateCasCellRows() ***
Row 0: Solve[{x+y=7,x-y=1},{x,y}]
eval with MPReduce: <<keepinput!!:=0$ numeric!!:=0$ precision 30$ print_precision 16$ off complex, rounded, numval, factor, div, combinelogs, expandlogs, pri$ currentx!!:= ggbcasvar1x; currenty!!:= ggbcasvar1y;<< begin scalar equations!!; equations!!:=(listofliststomat(list(addition(ggbcasvar1x,ggbcasvar1y) = 7, subtraction(ggbcasvar1x,ggbcasvar1y) = 1))); if arglength(equations!!)>-1 and part(equations!!,0)='list then equations!!:=mkdepthone(equations!!); return flattenlist(mysolve(aeval(equations!!),listofliststomat(list(ggbcasvar1x, ggbcasvar1y)))) end >>>>
result: +++++ Error: java.lang.NullPointerException
GeoCasCell.computeOutput(), CAS eval: Solve[{x + y = 7, x - y = 1},{x, y}]
error: Encountered "" at line 1, column 1.
Was expecting one of:
Change History
Note: See
TracTickets for help on using
tickets.

Also Solutions command:
http://www.geogebra.org/forum/viewtopic.php?f=22&t=25330