Update for ECJ required: Error "array store with invalid types" in ECJ since LTA 2025.1

Server Information:

  • SonarQube Enterprise Edition v2025.1 (102418), Gradle using Gradle - Plugin: org.sonarqube
  • Deploy: Docker
  • Trying to do what: Run SonarQube analysis against a project

We updated our staging instance from v10.7 to LTA 2025.1 and now encounter the following issue: AssertionError: array store with invalid types at org.eclipse.jdt.internal.compiler.codegen.OperandStack.xastore by srikanth-sankaran · Pull Request #3644 · eclipse-jdt/eclipse.jdt.core · GitHub
We skipped v10.8, so I don’t know if that version is also affected as I didn’t check which ECJ version is used there.

I don’t think I need to attach any logs, as the link to the fix should be self-explanatory. In regards to the issue within an analysis run, the execution stops and throws an exception with “array store with invalid types”. If there is anything I can provide or you need from me, please tell me.

As this has been fixed in ECJ can you please release an update to SonarQube Server (or whatever is needed…) with the a newer ECJ version?

As this prevents us from updating our production SQ Server instance to the newest version, it would be great if you could give me some time frame until when you plan on fixing this or you have any possible workaround for me.

Thanks.

Hi,

Could we have a --info log anyway, please?

 
Thx,
Ann

Hi @ganncamp, thanks for the reply.

Could you point me in the right direction for the --info you are looking for? Are you talking about the log level option here? Analysis parameters | SonarQube Server Documentation

If it is about the analysis itself, maybe you could give me the Gradle command you expect including all necessary (logging) parameters.

Thanks!

Hi,

Gradle logs are remarkably terse by default. I was asking that you add --info to your grade command to get INFO-level logging from the job.

 
Thx,
Ann