An error had occurred in LanguageTool

Hello.

I am trying to use LanguageTool in LibreOffice 7.0.4.2 with Language Tool 5.1.3 and getting the error ‘An error had occurred in LanguageTool 5.1.3’ with the part of the error message ‘java.lang.NullpointerExecption’.

With other parts of the error below

SpellAndGrammarCheckDialog.java:1457
SpellAndCheckGrammarCheckDialog.java:1288
SpellAndGrammarCheckDialog.java1192
SpellAndGrammarCheckDialog.java:133

Using Java 1.8.271 on 64-bit Linux Mint 17.3 (Rosa)

The error appears as soon as click on check text or recheck text button in a black document or a loaded document with text.

The setting button works and display correctly with no issue.

I have also disabled under the Tool - Options - Writing Aids the lightproof grammar checker so there shouldn’t be any conflicts.

Please can anyone help solve this message as I like to start using this grammar checker.

Does this still happen with LT 5.2? https://languagetool.org/download/LanguageTool-5.2.oxt

I have updated to version 5,2 and this has fixed the issue.

Thank you for your help in resolving this matter.