@Fred.Kruse Weißt Du, was der Grund sein könnte? Die Zeile ist wohl diese hier:
if (documents.get(i).getXComponent().equals(goneContext)) { // disposed document found
@Fred.Kruse Weißt Du, was der Grund sein könnte? Die Zeile ist wohl diese hier:
if (documents.get(i).getXComponent().equals(goneContext)) { // disposed document found
Der Fehler sollte behoben sein, bitte mit dem neuen Build ab morgen testen.
Bitte auch die Log-Datei öfter mal ansehen. Wenn dort die Meldung ‘Document (ID: " NN") has no XComponent’ häufiger auftritt bitte melden.
Damit kann ich nicht wirklich was anfangen.
LT office integration log from Sun Sep 09 14:07:49 CEST 2018
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
com.sun.star.uno.RuntimeException: no text selection
at com.sun.star.bridges.jni_uno.JNI_proxy.dispatch_call(Native Method)
at com.sun.star.bridges.jni_uno.JNI_proxy.invoke(JNI_proxy.java:185)
at com.sun.proxy.$Proxy24.getText(Unknown Source)
at org.languagetool.openoffice.DocumentCursorTools.getViewCursorParagraph(DocumentCursorTools.java:198)
at org.languagetool.openoffice.SingleDocument.getParaPos(SingleDocument.java:317)
at org.languagetool.openoffice.SingleDocument.getCheckResults(SingleDocument.java:121)
at org.languagetool.openoffice.MultiDocumentsHandler.getCheckResults(MultiDocumentsHandler.java:112)
at org.languagetool.openoffice.Main.doProofreading(Main.java:145)
Ich habe noch eine weitere Änderung am Code gemacht. Soclche Fehlermeldungen sollten jetzt (hoffentlich) nicht mehr auftreten.
Die Code-Änderung sollte morgen zur Verfügung stehen.
Lange ist es her, aber heute hat sich folgende Fehlermeldung blicken lassen.
Der Fehler kommt, wenn ich auf die Option vom LanguageTool in LibreOffice zugreifen möchte.
LibreOffce 5,4 mit dem LanguageTool-20181107-snapshot
Grüße Dallun511