Sth wrong when I am useing ngram on the server.

There was an issue with the ngrams in the 4.9 release. Could you try with this snapshot? https://internal1.languagetool.org/snapshots/LanguageTool-20200327-snapshot.zip

A 4.9.1 release will hopefully fix this in a few days.