Scan Error ( at org.antlr.v4.runtime.atn.ParserATNSimulator.closure_)

I get an error when scanning:

ERROR: Error during SonarQube Scanner execution
java.lang.StackOverflowError
at org.antlr.v4.runtime.atn.ParserATNSimulator.closure_(ParserATNSimulator.java:1529)
at org.antlr.v4.runtime.atn.ParserATNSimulator.closureCheckingStopState(ParserATNSimulator.java:1513)
at org.antlr.v4.runtime.atn.ParserATNSimulator.closure_(ParserATNSimulator.java:1586)
at org.antlr.v4.runtime.atn.ParserATNSimulator.closureCheckingStopState(ParserATNSimulator.java:1513)
at org.antlr.v4.runtime.atn.ParserATNSimulator.closureCheckingStopState(ParserATNSimulator.java:1496)
at org.antlr.v4.runtime.atn.ParserATNSimulator.closure_(ParserATNSimulator.java:1586)

  • Community Edition
  • Version 9.9

Please help me deal with this. Thank you

Hi,

Without the full stacktrace it’s difficult to know for sure, but I suspect that’s coming from an analyzer supplied by a 3rd-party plugin. Can you remove your plugins, restart, and try again?

 
Thx,
Ann

when i tried to delete sonar-apple plugin, i was get :slight_smile:

> Caused by: java.lang.IllegalStateException: Fail to download plugin [sonarapple]. Request to https://url
>  api/plugins/download?plugin=sonarapple returned code 500.

Hi,

It looks like you have another 3rd-party plugin that lists sonarapple as a dependency. You should remove all your plugins and - if you must - add them back one at a time.

 
HTH,
Ann

Hi,

Could you please tell me which official plugin to use?

Hi,

I don’t know what you’re trying to accomplish, other than completing analysis successfully. As for “official plugins”, they’re all bundled. So start by cleaning out all your 3rd-party plugins and restarting your server.

 
HTH,
Ann

I want a successful analysis, right. The large number of projects with different languages does not allow to remove all third-party plugins