FredKruse / writingtool

WritingTool for libreOffice based on LanguageTool
GNU Lesser General Public License v2.1
8 stars 0 forks source link

Language tool on open office throws error when exporting text. #5

Open Parciwal opened 1 month ago

Parciwal commented 1 month ago

An error has occurred in LanguageTool 6.4 (2024-03-28 14:05:28 +0100): java.lang.NullPointerException Stacktrace: java.lang.NullPointerException at org.languagetool.openoffice.SingleDocument$LTDokumentEventListener.documentEventOccured(SingleDocument.java:1635) OS:Windows 10 on x86, Java version 1.8.0_411 from Oracle Corporation

This is using the language tool extension, from before it got split off. Idk if your current snapshots would have the same problem, but as you don't have any releases atm, I will continue to use the release from LT for the time being.

I have pasted in a large section of test (over a page), didn't change anything else and exported it. The exported file is fine. It happens both when exporting as a docx and txt. grafik

FredKruse commented 1 month ago

All bugs reported so far should be resolved in version LT 6.4.1. I haven't published it yet. For final testing, I have now uploaded it to https://fk-es.de/writingtool/releases/. Please download it there, test it for your case and give me feedback.