[Libreoffice-bugs] [Bug 143534] Crash in Calc NLP Solver when saving a document in Write.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Jul 26 14:30:59 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143534

--- Comment #19 from Stephan Bergmann <sbergman at redhat.com> ---
(In reply to Julien Nabet from comment #17)
> Step by step process to reproduce the pbs:
> - retrieve https://bugs.documentfoundation.org/attachment.cgi?id=173834 and
> open thefile
> - click on cell M2
> - select Tools/Solver
> - select radio button "Minimum"
> - click just at right of "By changing cells"
> - type this:
> $G$2:$I$9;$J$2:$K$2
> - click "Options" button and check you use "DEPS Evolutionary Algorithm" (it
> should be the case by default)
> - Click "Ok" to close "Options" dialog
> - Click on "Solve" button
> => just some seconds after, I got a crash

That is due to

> java.lang.NullPointerException
>         at net.adaptivebox.deps.behavior.PSGTBehavior.generateBehavior(PSGTBehavior.java:100)
>         at net.adaptivebox.deps.DEPSAgent.generatePoint(DEPSAgent.java:126)
>         at com.sun.star.comp.Calc.NLPSolver.DEPSSolverImpl.solve(DEPSSolverImpl.java:169)

which ultimately gets translated into a C++
com::sun::star::uno::RuntimeException (via a BridgeRuntimeError thrown from
Bridge::handle_java_exc, bridges/source/jni_uno/jni_uno2java.cxx, and then via
the C++ UNO bridge), thrown from within

>     xSolver->solve();

in ScOptSolverDlg::CallSolver (sc/source/ui/miscdlgs/optsolver.cxx), which
remains uncaught.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210726/aec3d21e/attachment.htm>


More information about the Libreoffice-bugs mailing list