<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in Calc NLP Solver when saving a document in Write."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143534#c19">Comment # 19</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Crash in Calc NLP Solver when saving a document in Write."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=143534">bug 143534</a>
from <span class="vcard"><a class="email" href="mailto:sbergman@redhat.com" title="Stephan Bergmann <sbergman@redhat.com>"> <span class="fn">Stephan Bergmann</span></a>
</span></b>
<pre>(In reply to Julien Nabet from <a href="show_bug.cgi?id=143534#c17">comment #17</a>)
<span class="quote">> Step by step process to reproduce the pbs:
> - retrieve <a href="https://bugs.documentfoundation.org/attachment.cgi?id=173834">https://bugs.documentfoundation.org/attachment.cgi?id=173834</a> 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</span >
That is due to
<span class="quote">> 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)</span >
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
<span class="quote">> xSolver->solve();</span >
in ScOptSolverDlg::CallSolver (sc/source/ui/miscdlgs/optsolver.cxx), which
remains uncaught.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>