Repository: languagetool-org/languagetool

Issue #9757: languagetool 6.3 always reaturns status 500 - Cannot invoke contains because getAbTest() is null
Created: 2023-11-27T08:12:46Z
System: Ryzen 7700, 64GB Ram, 1tb nvme, 1gbit/s
OS: Debian 12
Languagetool: 6.3
cmd: screen -d -m  /usr/bin/java -Xmx1500M -cp languagetool-server.jar org.languagetool.server.HTTPServer --port 8081 --public --allow-origin "*"
Even the text of this ticket is resulting in a 500 error, which you can see below.
Is there a way to enable debug or logging, to see what the underlying problem is?
2023-11-27 08:22:44.976 GMT+01:00 INFO  org.languagetool.server.LanguageToolHttpHandler Handling POST /v2/check
2023-11-27 08:22:45.049 GMT+01:00 ERROR org.languagetool.server.LanguageToolHttpHandler An error has occurred: 'Cannot invoke "java.util.List.contains(Object)" because the return value of "org.languagetool.server.HTTPServerConfig.getAbTest()" is null', sending HTTP code 500. Access from 192.168.6.1, HTTP user agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36, User agent param: webextension-chrome-ng, v: 8.3.0, Referrer: null, language: auto, h: 2, r: 2, time: 87m: TEXTLEVEL_ONLY, l: PICKY, iID: 12410:1701069470883, Stacktrace follows:java.lang.NullPointerException: Cannot invoke "java.util.List.contains(Object)" because the return value of "org.languagetool.server.HTTPServerConfig.getAbTest()" is null
at org.languagetool.server.TextChecker.checkText(TextChecker.java:376)
at org.languagetool.server.ApiV2.handleCheckRequest(ApiV2.java:176)
at org.languagetool.server.ApiV2.lambda$handleRequest$4(ApiV2.java:86)
at org.languagetool.tools.TelemetryProvider.createSpan(TelemetryProvider.java:96)
at org.languagetool.server.ApiV2.handleRequest(ApiV2.java:86)
at org.languagetool.server.LanguageToolHttpHandler.lambda$handle$0(LanguageToolHttpHandler.java:202)
at org.languagetool.tools.TelemetryProvider.createSpan(TelemetryProvider.java:96)
at org.languagetool.server.LanguageToolHttpHandler.handle(LanguageToolHttpHandler.java:202)
at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:95)
at jdk.httpserver/sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:82)
at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:98)
at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:851)
at jdk.httpserver/com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:95)
at jdk.httpserver/sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:818)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)

Duplicate issue #9681: NoSuchMethodError: ...rules.AbstractCompoundRule.useSubRuleSpecificIds()
Created: 2023-11-15T19:57:26Z
languagetool 6.3 dies with the following error:
ERROR o.l.server.LanguageToolHttpHandler An error has occurred: 'java.lang.NoSuchMethodError: 'void org.languagetool.rules.AbstractCompoundRule.useSubRuleSpecificIds()', detected: en-GB', sending HTTP code 500. Access from 127.0.0.1, HTTP user agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36, User agent param: webextension-chrome-ng, v: 8.2.1, Referrer: null, language: auto, h: 2, r: 78, time: 6m: TEXTLEVEL_ONLY, l: PICKY, iID: [Removed], Stacktrace follows:java.lang.RuntimeException: java.lang.NoSuchMethodError: 'void org.languagetool.rules.AbstractCompoundRule.useSubRuleSpecificIds()', detected: en-GB

Closing comment (2023-11-29T09:42:35Z): My issue seems similar but may no be related.
Update: it may be related to #9757