Hello!
I have been trying to check the grammar of my thesis (~700 pages) but LO hangs.
I tried it with the nightly from 1, 2 and 3 December.
I even tried with LO 6.0.0 beta.
Is it a known issue?
Yakov
(Yakov)
December 4, 2017, 7:28am
2
I think this could be due to the following issue:
opened 09:07AM - 01 Nov 17 UTC
closed 03:44PM - 04 Dec 17 UTC
bug
Ukrainian
LT (Office extension and standalone version) crashes if there are hyphenation sy… mbols in the Ukrainian text. Test text "о справедливости." with hyphen.

or
opened 07:01AM - 20 Sep 17 UTC
closed 10:11PM - 04 Apr 19 UTC
bug
The string `de Bangladesh` makes LT crash for Portuguese with this stack trace. … Looks like there's an error in the synth dict?
```
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Could not check sentence (language: Portuguese (Portugal)): 'de Bangladesh'
at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:195)
at org.languagetool.JLanguageTool.check(JLanguageTool.java:552)
at org.languagetool.JLanguageTool.check(JLanguageTool.java:527)
at org.languagetool.JLanguageTool.check(JLanguageTool.java:484)
at org.languagetool.JLanguageTool.check(JLanguageTool.java:467)
at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:105)
at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:81)
at org.languagetool.commandline.Main.runOnFile(Main.java:195)
at org.languagetool.commandline.Main.main(Main.java:461)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: Could not check sentence (language: Portuguese (Portugal)): 'de Bangladesh'
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:192)
... 8 more
Caused by: java.lang.RuntimeException: Could not check sentence (language: Portuguese (Portugal)): 'de Bangladesh'
at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1056)
at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:970)
at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:937)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Error analyzing sentence: '<S> de[de/SPS00] Bangladesh[</S><P/>]'
at org.languagetool.rules.patterns.PatternRule.match(PatternRule.java:166)
at org.languagetool.JLanguageTool.checkAnalyzedSentence(JLanguageTool.java:639)
at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1022)
... 6 more
Caused by: java.util.regex.PatternSyntaxException: Unclosed group near index 6
DA0(..
^
at java.util.regex.Pattern.error(Pattern.java:1955)
at java.util.regex.Pattern.accept(Pattern.java:1813)
at java.util.regex.Pattern.group0(Pattern.java:2908)
at java.util.regex.Pattern.sequence(Pattern.java:2051)
at java.util.regex.Pattern.expr(Pattern.java:1996)
at java.util.regex.Pattern.compile(Pattern.java:1696)
at java.util.regex.Pattern.<init>(Pattern.java:1351)
at java.util.regex.Pattern.compile(Pattern.java:1028)
at org.languagetool.synthesis.BaseSynthesizer.synthesize(BaseSynthesizer.java:123)
at org.languagetool.rules.patterns.MatchState.toFinalString(MatchState.java:251)
at org.languagetool.rules.patterns.PatternRuleMatcher.concatMatches(PatternRuleMatcher.java:403)
at org.languagetool.rules.patterns.PatternRuleMatcher.formatMatches(PatternRuleMatcher.java:304)
at org.languagetool.rules.patterns.PatternRuleMatcher.createRuleMatch(PatternRuleMatcher.java:159)
at org.languagetool.rules.patterns.PatternRuleMatcher.match(PatternRuleMatcher.java:137)
at org.languagetool.rules.patterns.PatternRule.match(PatternRule.java:162)
... 8 more
```
carlosSP
(carlos SP)
December 4, 2017, 3:16pm
3
I am not a developer, but I have a request:
The inclusion of the buttons: [copy] and [paste]
I use the LT with frequency and it would be very useful.
Thank you.
tiagosantos
(Tiago F. Santos)
December 4, 2017, 10:09pm
4
marcoagpinto:
I have been trying to check the grammar of my thesis (~700 pages) but LO hangs.
I tried it with the nightly from 1, 2 and 3 December.
I even tried with LO 6.0.0 beta.
You may try to bisect the problem. You can either use git bisect
, o just use several builds to see when the problem starts. This may take a while, though…
Tiago, for a month or so that I didn’t use LanguageTool, so it is hard to tell which nightly caused the regression.
However, here is a Dropbox link to an ODT that hangs if we press F7:
https://www.dropbox.com/s/pr335jmgv6et1pv/MCAT_Translation_42PT.odt?dl=0
I hope this document can help detect/fix the issue.
Thank you!
Kind regards,