[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827474: libreoffice-nlpsolver: Objective property cannot be accessed from BASIC macro



Package: libreoffice-nlpsolver
Version: 0.9~beta1-12
Severity: normal

With this extension installed, it becomes impossible to control the
solvers (both the built-in linear solver and nlpsolver) from BASIC
because any attempt to access the 'Objective' property throws a runtime
exception: "[jni_uno bridge error] UNO calling Java method Objective:
[map_to_uno():com.sun.star.table.CellAddress] null-ref given!"

This bug was reported on the LibreOffice tracker and has already been
fixed in the version of nlpsolver distributed with LibreOffice from
libreoffice.org.

Upstream bug report (which includes a sample macro to trigger the bug):
https://bugs.documentfoundation.org/show_bug.cgi?id=87074

The upstream fix changeset:
https://gerrit.libreoffice.org/gitweb?p=core.git;a=commitdiff;h=c290998df667bd2a8a12379642f79d09eca471c3

I have confirmed that using the nlpsolver extension from LibreOffice.org
with the libreoffice-calc package from Debian works correctly.

Since the LibreOffice folks seem to be maintaining nlpsolver, I think it
would make sense for the Debian package to track that version as its
upstream source.

Here is a mirror of the LibreOffice repository for the extension:
https://github.com/LibreOffice/core/tree/master/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver

- chris


-- System Information:
Debian Release: 7.8
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libreoffice-nlpsolver depends on:
ii  default-jre [java6-runtime]    2:1.8-57
ii  default-jre-headless           2:1.8-57
ii  libreoffice-calc               1:5.1.4~rc1-1
ii  libreoffice-core               1:5.1.4~rc1-1
ii  libreoffice-java-common        1:5.1.4~rc1-1
ii  openjdk-7-jre [java6-runtime]  7u75-2.5.4-3
ii  openjdk-8-jre [java6-runtime]  8u91-b14-2

libreoffice-nlpsolver recommends no packages.

libreoffice-nlpsolver suggests no packages.

-- no debconf information


Reply to: