Bug 159244

Summary: java.lang.nullpointerexception
Product: LibreOffice Reporter: yuripes <yuripes>
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEEDINFO ---    
Severity: normal CC: ilmari.lauhakangas
Priority: medium    
Version: 7.3.7.2 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description yuripes 2024-01-17 15:02:44 UTC
Description:
Java version 11.0.21 from Ubuntu
An error has occurred in LanguageTool 6.3 (2023-10-06 20:34:38 +0000):
java.lang.NullPointerException
at org.languagetool.openoffice.CheckRequestAnalysis.changesinNumberOfParagraph(CheckRequestAnalysis.java:718)
at org.languagetool.openoffice.CheckRequestAnalysis.getParaFromFlatparagraph(CheckRequestAnalysis.java:430)
at org.languagetool.openoffice.CheckRequestAnalysis.getParaFromFlatparapos(CheckRequestAnalysis.java:376)
at org.languagetool.openoffice.CheckRequestAnalysis.getNumberOfParagraph(CheckRequestAnalysis.java:150)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:307)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:175)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:242)
at org.languagetool.openoffice.MultiDocumentsHandler.doProofreading(MultiDocumentsHandler.java:180)
at org.languagetool.openoffice.Main.doProofreading(Main.java:80)

Actual Results:
The problem has occurred suddenly

Expected Results:
Nothing special. I restored files


Reproducible: Couldn't Reproduce


User Profile Reset: No

Additional Info:
Nothing
Comment 1 Buovjaga 2024-01-29 13:25:55 UTC
7.3 is pretty old. Do you see it in the latest build? You can use this method on Linux: https://wiki.documentfoundation.org/Installing_in_parallel/Linux#Automated_installation

I understand that you were unable to reproduce it, but still.