Back to LanguageTool Homepage - Privacy - Imprint

Unexspected error testing rules


(Ruud Baars) #1

After updating and compiling the project (after my holiday) I get unexpected errors testing the Dutch rules in the generated stand alone (target) version.
I need this to work desparately, or I am not able to check changes to grammar.xml.

What is wrong? Will someone please correct this?
I checked German, the error is not there; but it is in Italian.

ruud@TaalTik:/media/ruud/data1/LT/languagetool.git/trunk/languagetool-standalone/target/LanguageTool-4.3-SNAPSHOT/LanguageTool-4.3-SNAPSHOT$ ./testrules.sh nl
Running XML pattern tests…
Known languages: [English, English (US), English (GB), English (Australian), English (Canadian), English (New Zealand), English (South African), Persian, French, German, German (Germany), German (Austria), German (Swiss), Simple German, Polish, Catalan, Catalan (Valencian), Italian, Breton, Dutch, Portuguese, Portuguese (Portugal), Portuguese (Brazil), Portuguese (Angola preAO), Portuguese (Moçambique preAO), Russian, Asturian, Belarusian, Chinese, Danish, Esperanto, Galician, Greek, Japanese, Khmer, Romanian, Slovak, Slovenian, Serbian, Serbian (Serbia), Serbian (Bosnia and Herzegovina), Serbian (Croatia), Serbian (Montenegro), Spanish, Swedish, Tamil, Tagalog, Ukrainian, Testlanguage]
Running XML validation for nl/grammar.xml…
Running pattern rule tests for Dutch… Exception in thread “main” java.lang.NoClassDefFoundError: biz/k11i/xgboost/Predictor
at org.languagetool.rules.spelling.morfologik.suggestions_ordering.SuggestionsOrderer.(SuggestionsOrderer.java:68)
at org.languagetool.rules.spelling.morfologik.MorfologikSpellerRule.(MorfologikSpellerRule.java:67)
at org.languagetool.rules.nl.MorfologikDutchSpellerRule.(MorfologikDutchSpellerRule.java:32)
at org.languagetool.language.Dutch.getRelevantRules(Dutch.java:125)
at org.languagetool.JLanguageTool.getAllBuiltinRules(JLanguageTool.java:322)
at org.languagetool.JLanguageTool.(JLanguageTool.java:229)
at org.languagetool.MultiThreadedJLanguageTool.(MultiThreadedJLanguageTool.java:86)
at org.languagetool.MultiThreadedJLanguageTool.(MultiThreadedJLanguageTool.java:67)
at org.languagetool.MultiThreadedJLanguageTool.(MultiThreadedJLanguageTool.java:51)
at org.languagetool.rules.patterns.PatternRuleTest.runTestForLanguage(PatternRuleTest.java:227)
at org.languagetool.rules.patterns.PatternRuleTest.runGrammarRulesFromXmlTestIgnoringLanguages(PatternRuleTest.java:220)
at org.languagetool.rules.patterns.PatternRuleTest.main(PatternRuleTest.java:659)
Caused by: java.lang.ClassNotFoundException: biz.k11i.xgboost.Predictor
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
… 12 more


(Daniel Naber) #2

Thanks for the report, should be fixed now.