Bug 114056 - Extensions "nlpsolver.oxt" and "LanguageTool-x-x.oxt" are incompatible "java.lang.reflect.InvocationTargetException"
Summary: Extensions "nlpsolver.oxt" and "LanguageTool-x-x.oxt" are incompatible "java....
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-26 07:47 UTC by Bernard Gisin
Modified: 2018-03-28 10:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Gisin 2017-11-26 07:47:49 UTC
Description:
I work under Linux KUbuntu 16.04, 64 bits, with KDE.
Having installed "LanguageTool--3.9.oxt", and "NLPSolver.oxt", when I try to activate nlpsolver, I get the error message :
"java.lang.reflect.InvocationTargetException"
In Calc, it is not possible to solve non linear problems, such as minimising the sum of the squares of differences, depending on two parameters.
"Tools > Solver..."
When disabling "LanguageTool", it doesn't help.
When removing "LanguageTool", the problem is solved and non linear problems can be solved.
I'm not the only one with this issue, c.f.
https://code.google.com/archive/p/ooo2gd/issues/115


Steps to Reproduce:
1. Install LanguageTool-3.9.oxt  and activate it, if it is not already done
2. Install NLPSolver (from synaptic for example)
3. Activate nlpsolver
4. try to solve with "Tools > solver..." a non linear problem

Actual Results:  
° When activating nlpsolver, the error :
  "java.lang.reflect.InvocationTargetException" occur
° "Tools > solver..." doesn't work for optimising problems like minimising the sum of the square of differences, depending on two parameters.


Expected Results:
I would expect to have no error and to be able to sole a non linear problem


Reproducible: Always


User Profile Reset: No



Additional Info:
I can solve a non linear problem after removing "LanguageTool".
As I already wrote, I'm not the only person concerned, c.f.
https://code.google.com/archive/p/ooo2gd/issues/115



User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Mike Kaganski 2017-11-26 08:11:05 UTC
I assume that you have also reported that on LanguageTool bug tracker (https://github.com/languagetool-org/languagetool/issues)?
Comment 2 Mike Kaganski 2017-11-26 08:42:34 UTC
By the way: where did you get the NLPSolver extension from? It is the part of LibreOffice since long ago. It should possibly be a part of some Ubuntu LibreOffice-related package (I'd assume that libreoffice-nlpsolver is the one).
Comment 3 Mike Kaganski 2017-11-27 17:02:08 UTC
Cannot reproduce with Version: 5.4.2.2
Build ID: 1:5.4.2~rc2-0ubuntu0.16.04.1~lo2
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group

~$ java -version
openjdk version "1.8.0_151"
OpenJDK Runtime Environment (build 1.8.0_151-8u151-b12-0ubuntu0.16.04.2-b12)
OpenJDK 64-Bit Server VM (build 25.151-b12, mixed mode)

~$ uname -a
Linux mike-Ubuntu16 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

~$ apt list --installed | grep libreoffice-nlpsolver
libreoffice-nlpsolver/xenial,xenial,now 0.9+LibO5.4.3~rc2-0ubuntu0.16.04.1~lo1 all [installed]

Version of LanguageTool installed is 3.9.
Comment 4 Timur 2018-03-28 10:42:56 UTC
Was Needinfo for a long time. Not clear if reported to LanguageTool. 
Feel free to set back to Unconfirmed should you experience with current versions and provide answers.