OutOfMemoryError in Java AST Analyzer After Update

Hello, since the last SonarQube update the RAM usage has increased significantly.
We are currently using SonarQube Server Developer v2025.4.2 and the SonarQube Gradle Plugin 6.0.1.5171 within a Jenkins pipeline.

The project being analyzed is a Java project with about 1.7 million LOC.
Originally, the project required around 6–7 GB RAM for an analysis, but since the update it now needs 14 GB to complete. Otherwise, we get the following error:

org.sonarsource.scanner.lib.internal.JavaRunner] [stderr] Exception: java.lang.OutOfMemoryError 
thrown from the UncaughtExceptionHandler in thread "Report about progress of Java AST analyzer"

I have already tried:

  • disabling taint analysis rules

  • testing different rule configurations

  • removing all plugins (PMD, etc.)

  • limiting the analysis to a single rule (java:S2200)

  • scanning older versions of the project (with a different Java version)

Does anyone know what might be causing this?

Hi,

Welcome to the community!

Can you share what you upgraded from?

Can you also share --info analysis logs, redacted as necessary?

The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.

This guide will help you find them.

 
Thx,
Ann

Hi, thank you very much for your reply.
We updated the SonarQube Server Developer Edition.
I’m not entirely sure about the version, I think from 2025.2 to 2025.4.
Attached is the info log (redacted).

0:18  + ./gradlew sonar --no-daemon --info -D sonar.java.checkstyle.reportPaths=build/reports/checkstyle/main1247master.xml -D sonar.scm.revision=fec4744204cd15981bfec2de9fc4620c92d2bdde -D sonar.scanner.javaOpts=-Xmx8g -D sonar.branch.name=master
13:50:28   egecko:createDynamicDirectories SUCCESSFULLY 
13:50:28  Resolve mutations for :sonar (Thread[#87,Execution worker Thread 3,5,main]) started.
13:50:28  :sonar (Thread[#87,Execution worker Thread 3,5,main]) started.
13:50:28  Path for java installation '/usr/lib/jvm/openjdk-17' (Common Linux Locations) auto-detected does not contain a java executable
13:50:28  Path for java installation '/usr/lib/jvm/openjdk-11' (Common Linux Locations) auto-detected does not contain a java executable
13:50:28  Starting process 'command '/data/jenkins/.gradle/jdks/amazon_com_inc_-17-amd64-linux.2/bin/java''. Working directory: /data/jenkins/.gradle/.tmp/tmp-jvm7956782739419603540probe Command: /data/jenkins/.gradle/jdks/amazon_com_inc_-17-amd64-linux.2/bin/java -Xmx32m -Xms32m -cp . JavaProbe
13:50:28  Successfully started process 'command '/data/jenkins/.gradle/jdks/amazon_com_inc_-17-amd64-linux.2/bin/java''
13:50:28  Received JVM installation metadata from '/data/jenkins/.gradle/jdks/amazon_com_inc_-17-amd64-linux.2': {JAVA_HOME=/data/jenkins/.gradle/jdks/amazon_com_inc_-17-amd64-linux.2, JAVA_VERSION=17.0.16, JAVA_VENDOR=Amazon.com Inc., RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=17.0.16+8-LTS, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=17.0.16+8-LTS, VM_VENDOR=Amazon.com Inc., OS_ARCH=amd64}
13:50:28  Starting process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java''. Working directory: /data/jenkins/.gradle/.tmp/tmp-jvm13939439374692947506probe Command: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Xmx32m -Xms32m -cp . JavaProbe
13:50:28  Successfully started process 'command '/usr/lib/jvm/java-11-openjdk-amd64/bin/java''
13:50:28  Received JVM installation metadata from '/usr/lib/jvm/java-11-openjdk-amd64': {JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64, JAVA_VERSION=11.0.28, JAVA_VENDOR=Ubuntu, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=11.0.28+6-post-Ubuntu-1ubuntu122.04.1, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=11.0.28+6-post-Ubuntu-1ubuntu122.04.1, VM_VENDOR=Ubuntu, OS_ARCH=amd64}
13:50:28  Starting process 'command '/usr/lib/jvm/java-17-openjdk-amd64/bin/java''. Working directory: /data/jenkins/.gradle/.tmp/tmp-jvm4082705806665486464probe Command: /usr/lib/jvm/java-17-openjdk-amd64/bin/java -Xmx32m -Xms32m -cp . JavaProbe
13:50:28  Successfully started process 'command '/usr/lib/jvm/java-17-openjdk-amd64/bin/java''
13:50:28  Received JVM installation metadata from '/usr/lib/jvm/java-17-openjdk-amd64': {JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64, JAVA_VERSION=17.0.16, JAVA_VENDOR=Ubuntu, RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=17.0.16+8-Ubuntu-0ubuntu122.04.1, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=17.0.16+8-Ubuntu-0ubuntu122.04.1, VM_VENDOR=Ubuntu, OS_ARCH=amd64}
13:50:30  Starting SonarScanner Engine...
13:50:30  Java 17.0.13 Eclipse Adoptium (64-bit)
13:50:30  
13:50:30  > Task :sonar
13:50:30  Starting process 'command '/data/jenkins/.gradle/jdks/amazon_com_inc_-21-amd64-linux.2/bin/java''. Working directory: /data/jenkins/.gradle/.tmp/tmp-jvm7630730965113057041probe Command: /data/jenkins/.gradle/jdks/amazon_com_inc_-21-amd64-linux.2/bin/java -Xmx32m -Xms32m -cp . JavaProbe
13:50:30  Successfully started process 'command '/data/jenkins/.gradle/jdks/amazon_com_inc_-21-amd64-linux.2/bin/java''
13:50:30  Received JVM installation metadata from '/data/jenkins/.gradle/jdks/amazon_com_inc_-21-amd64-linux.2': {JAVA_HOME=/data/jenkins/.gradle/jdks/amazon_com_inc_-21-amd64-linux.2, JAVA_VERSION=21.0.7, JAVA_VENDOR=Amazon.com Inc., RUNTIME_NAME=OpenJDK Runtime Environment, RUNTIME_VERSION=21.0.7+6-LTS, VM_NAME=OpenJDK 64-Bit Server VM, VM_VERSION=21.0.7+6-LTS, VM_VENDOR=Amazon.com Inc., OS_ARCH=amd64}
13:50:30  JaCoCo report task detected, but XML report is not enabled or it was not produced. Coverage for this task will not be reported.
13:50:30  Cached resource 78.jar is up-to-date (lastModified: Thu Aug 21 23:52:08 CEST 2025).
13:50:30  Cached resource 69.jar is up-to-date (lastModified: Fri Aug 22 13:36:40 CEST 2025).
13:50:30  Cached resource 86.jar is up-to-date (lastModified: Fri Aug 22 06:03:25 CEST 2025).
13:50:30  Cached resource 27.jar is up-to-date (lastModified: Fri Aug 22 13:35:44 CEST 2025).
13:50:30  Caching disabled for task ':sonar' because:
13:50:30    Build cache is disabled
13:50:30  Task ':sonar' is not up-to-date because:
13:50:30    Task has not declared any outputs despite executing actions.
13:50:30  User cache: /data/jenkins/.sonar/cache
13:50:30  JRE provisioning: os[linux], arch[x86_64]
13:50:31  
13:50:31  Load global settings
13:50:31  Load global settings (done) | time=130ms
13:50:31  Server id: 86E1FA4D-AX6XHF3WNedidG2G2yOv
13:50:31  Loading required plugins
13:50:31  Load plugins index
13:50:31  Load plugins index (done) | time=16ms
13:50:31  Load/download plugins
13:50:31  Load/download plugins (done) | time=104ms
13:50:31  Loaded core extensions: developer-scanner
13:50:32  Process project properties
13:50:32  Process project properties (done) | time=23ms
13:50:32  Project key: de.css.egecko:master
13:50:32  Base dir: /data/jenkins/custom/ws/dir-1247
13:50:32  Working dir: /data/jenkins/custom/ws/dir-1247/build/sonar
13:50:32  Load project settings for component key: 'de.css.egecko:master'
13:50:32  Load project settings for component key: 'de.css.egecko:master' (done) | time=25ms
13:50:32  Load project branches
13:50:32  Load project branches (done) | time=25ms
13:50:32  Load branch configuration
13:50:32  Found manual configuration of branch/PR analysis. Skipping automatic configuration.
13:50:32  Load branch configuration (done) | time=1ms
13:50:32  Load quality profiles
13:50:32  Load quality profiles (done) | time=80ms
13:50:32  Auto-configuring with CI 'Jenkins'
13:50:32  Load active rules
13:50:32  Load active rules (done) | time=338ms
13:50:32  Load analysis cache
13:50:34  Load analysis cache | time=1895ms
13:50:34  Branch name: master
13:50:34  Preprocessing files...
13:50:36  2 languages detected in 6125 preprocessed files (done) | time=1477ms
13:50:36  4405 files ignored because of inclusion/exclusion patterns
13:50:36  Loading plugins for detected languages
13:50:36  Load/download plugins
13:50:36  Load/download plugins (done) | time=165ms
13:50:36  Load project repositories
13:50:37  Load project repositories (done) | time=244ms
13:50:37  Indexing files...
13:50:37  Project configuration:
13:50:37    Included sources: **/*.java
13:50:37    Excluded sources:......
13:50:37    Excluded tests: **/*.java
13:50:37    Excluded sources for duplication: **/*.java
13:50:37  6125 files indexed (done) | time=159ms
13:50:37  Quality profile for java: CSS Regeln eGecko/ Pewe
13:50:37  Quality profile for xml: Sonar way
13:50:37  ------------- Run sensors on module egecko:master
13:50:37  Load metrics repository
13:50:37  Load metrics repository (done) | time=24ms
13:50:38  Sensor JavaSensor [java]
13:50:38  Configured Java source version (sonar.java.source): 21, preview features enabled (sonar.java.enablePreview): false
13:50:38  Server-side caching is enabled. The Java analyzer will not try to leverage data from a previous analysis.
13:50:38  Using ECJ batch to parse 6122 Main java source files with batch size 429 KB.
13:50:39  Starting batch processing.
13:50:39  The Java analyzer cannot skip unchanged files in this context. A full analysis is performed for all files.
13:50:49  0% analyzed
13:50:59  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:52:20  5% analyzed
13:52:39  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:52:39  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:53:25  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:54:33  13% analyzed
13:56:09  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:56:09  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:56:11  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:56:23  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/de/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:56:28  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:56:36  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:56:46  22% analyzed
13:57:08  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/de/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:57:26  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:57:48  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:58:27  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:59:14  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
13:59:26  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:03:32  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:03:50  52% analyzed
14:04:29  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/de/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:05:25  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:06:12  59% analyzed
14:06:30  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:07:02  62% analyzed
14:07:14  63% analyzed
14:07:41  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:07:45  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:08:03  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:08:13  67% analyzed
14:08:16  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:08:23  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:08:41  68% analyzed
14:09:28  71% analyzed
14:09:50  72% analyzed
14:10:05  72% analyzed
14:10:19  72% analyzed
14:10:34  72% analyzed
14:10:34  Slowest analyzed files (batch mode enabled):
14:10:34      src/main/java/de/.java (18712ms, 94478B)
14:10:34      src/main/java/de/.java (4776ms, 60548B)
14:10:44  73% analyzed
14:10:54  73% analyzed
14:10:58  Slowest analyzed files (batch mode enabled):
14:10:58      src/main/java/de/css/.java (8624ms, 95871B)
14:10:58      src/main/java/.java (4351ms, 40992B)
14:10:58      src/main/java/.java (3873ms, 19077B)
14:10:58      src/main/java/de/.java (3596ms, 33796B)
14:10:58      src/main/java/de/.java (1424ms, 68529B)
14:11:11  73% analyzed
14:11:20  73% analyzed
14:11:33  73% analyzed
14:11:43  73% analyzed
14:11:43  Slowest analyzed files (batch mode enabled):
14:11:43      src/main/java/.java (17837ms, 129893B)
14:11:43      src/main/java/de/.java (3865ms, 19061B)
14:11:43      src/main/java/de/.java (3792ms, 49047B)
14:11:43      src/main/java/de/.java (3562ms, 29427B)
14:11:43      src/main/java/de/.java (3361ms, 24659B)
14:11:43      src/main/java/de/.java (3173ms, 7745B)
14:11:55  74% analyzed
14:12:05  74% analyzed
14:12:17  74% analyzed
14:12:29  74% analyzed
14:12:39  74% analyzed
14:12:49  74% analyzed
14:12:57  Slowest analyzed files (batch mode enabled):
14:12:57      src/main/java/de/css/.java (14330ms, 37467B)
14:12:57      src/main/java/de/css/.java (12460ms, 37139B)
14:12:57      src/main/java/de/css/.java (11546ms, 52573B)
14:12:57      src/main/java/de/css/.java (6911ms, 33004B)
14:12:57      src/main/java/de/css/.java (6863ms, 51237B)
14:12:57      src/main/java/de/css/.java (3747ms, 35773B)
14:12:57      src/main/java/de/css/.java (3580ms, 74433B)
14:12:57      src/main/java/de/css/.java (3379ms, 15036B)
14:12:57      src/main/java/de/css/.java (3351ms, 11488B)
14:12:57      src/main/java/de/css/.java (3246ms, 7201B)
14:13:09  74% analyzed
14:13:22  74% analyzed
14:13:34  74% analyzed
14:13:46  74% analyzed
14:13:56  74% analyzed
14:14:08  74% analyzed
14:14:18  74% analyzed
14:14:30  74% analyzed
14:14:40  74% analyzed
14:14:52  74% analyzed
14:15:05  74% analyzed
14:15:15  74% analyzed
14:15:19  Slowest analyzed files (batch mode enabled):
14:15:19      src/main/java/de/css/.java (60256ms, 176823B)
14:15:19      src/main/java/de/css/.java (28789ms, 58775B)
14:15:19      src/main/java/de/css/.java (26388ms, 60343B)
14:15:19      src/main/java/de/css/.java (4217ms, 34682B)
14:15:19      src/main/java/de/css/.java (4077ms, 4350B)
14:15:19      src/main/java/de/css/.java (3946ms, 3815B)
14:15:19      src/main/java/de/css/.java (3788ms, 12346B)
14:15:19      src/main/java/de/css/r.java (3659ms, 6164B)
14:15:19      src/main/java/de/.java (3483ms, 21918B)
14:15:19  Invalid character encountered in file /data/jenkins/custom/ws/dir-1247/src/main/java/.java at line 4 for encoding UTF-8. Please fix file content or configure the encoding to be used using property 'sonar.sourceEncoding'.
14:15:31  74% analyzed
14:15:41  74% analyzed
14:15:56  74% analyzed
14:16:08  74% analyzed
14:16:18  74% analyzed
14:16:28  74% analyzed
14:16:40  74% analyzed
14:16:48  74% analyzed
14:17:00  75% analyzed
14:17:12  75% analyzed
14:17:25  75% analyzed
14:17:35  75% analyzed
14:17:47  75% analyzed
14:17:59  75% analyzed
14:18:14  75% analyzed
14:18:26  75% analyzed
14:18:38  75% analyzed
14:18:48  75% analyzed
14:19:00  75% analyzed
14:19:12  75% analyzed
14:19:22  75% analyzed
14:19:22  Slowest analyzed files (batch mode enabled):
14:19:22      src/main/java/.java (78764ms, 45580B)
14:19:22      src/main/java/.java (57864ms, 31038B)
14:19:22      src/main/java/.java (39456ms, 34492B)
14:19:22      src/main/java/.java (13454ms, 30748B)
14:19:22      src/main/java/.java (10911ms, 30168B)
14:19:22      src/main/java/.java (10381ms, 19258B)
14:19:22      src/main/java/.java (10361ms, 45790B)
14:19:22      src/main/java/.java (3556ms, 7862B)
14:19:22      src/main/java/ (3411ms, 1722B)
14:19:22      src/main/java/ (3363ms, 23513B)
14:19:32  75% analyzed
14:19:42  75% analyzed
14:19:52  75% analyzed
14:20:02  75% analyzed
14:20:17  75% analyzed
14:20:29  75% analyzed
14:20:42  75% analyzed
14:20:56  75% analyzed
14:21:04  75% analyzed
14:21:19  75% analyzed
14:21:29  75% analyzed
14:21:47  75% analyzed
14:22:44  [stderr] 
14:22:44  [stderr] Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Report about progress of Java AST analyzer"
14:22:44  Slowest analyzed files (batch mode enabled):
14:22:44      src/main/java/de/.......ben.java (164839ms, 70480B)
14:22:44      src/main/java/BL.java (19857ms, 30665B)
14:22:44      src/main/java/........eLogic.java (10097ms, 33982B)
14:22:44      src/main/java/........Logic.java (3387ms, 1272B)
14:22:44  Did not optimize analysis for any files, performed a full analysis for all 4622 files.
14:22:44  Error during SonarScanner Engine execution
14:22:44  java.lang.OutOfMemoryError: Java heap space
14:22:44  	at java.base/java.util.ImmutableCollections.listFromTrustedArrayNullsAllowed(Unknown Source)
14:22:44  	at java.base/java.util.ImmutableCollections$Access$1.listFromTrustedArrayNullsAllowed(Unknown Source)
14:22:44  	at java.base/java.util.stream.ReferencePipeline.toList(Unknown Source)
14:22:44  	at org.sonar.java.se.ProgramState.peekValues(ProgramState.java:246)
14:22:44  	at org.sonar.java.se.checks.ParameterNullnessCheck.getArgumentSVs(ParameterNullnessCheck.java:111)
14:22:44  	at org.sonar.java.se.checks.ParameterNullnessCheck.checkParameters(ParameterNullnessCheck.java:74)
14:22:44  	at org.sonar.java.se.checks.ParameterNullnessCheck.checkPreStatement(ParameterNullnessCheck.java:58)
14:22:44  	at org.sonar.java.se.CheckerDispatcher.executeCheckPreStatement(CheckerDispatcher.java:60)
14:22:44  	at org.sonar.java.se.ExplodedGraphWalker.visit(ExplodedGraphWalker.java:657)
14:22:44  	at org.sonar.java.se.ExplodedGraphWalker.execute(ExplodedGraphWalker.java:259)
14:22:44  	at org.sonar.java.se.ExplodedGraphWalker.visitMethod(ExplodedGraphWalker.java:216)
14:22:44  	at org.sonar.java.se.ExplodedGraphWalker.visitMethod(ExplodedGraphWalker.java:208)
14:22:44  	at org.sonar.java.se.SymbolicExecutionVisitor.execute(SymbolicExecutionVisitor.java:71)
14:22:44  	at org.sonar.java.se.SymbolicExecutionVisitor.visitMethod(SymbolicExecutionVisitor.java:57)
14:22:44  	at org.sonar.java.model.declaration.MethodTreeImpl.accept(MethodTreeImpl.java:228)
14:22:44  	at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:37)
14:22:44  	at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:31)
14:22:44  	at org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitClass(BaseTreeVisitor.java:67)
14:22:44  	at org.sonar.java.model.declaration.ClassTreeImpl.accept(ClassTreeImpl.java:238)
14:22:44  	at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:37)
14:22:44  	at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:31)
14:22:44  	at org.sonar.plugins.java.api.tree.BaseTreeVisitor.visitCompilationUnit(BaseTreeVisitor.java:49)
14:22:44  	at org.sonar.java.model.JavaTree$CompilationUnitTreeImpl.accept(JavaTree.java:203)
14:22:44  	at org.sonar.plugins.java.api.tree.BaseTreeVisitor.scan(BaseTreeVisitor.java:37)
14:22:44  	at org.sonar.java.se.SymbolicExecutionVisitor.scanFile(SymbolicExecutionVisitor.java:52)
14:22:44  	at org.sonar.java.model.VisitorsBridge.lambda$runScanner$0(VisitorsBridge.java:286)
14:22:44  	at org.sonar.java.model.VisitorsBridge$$Lambda$1079/0x00007f48ac68f800.run(Unknown Source)
14:22:44  	at org.sonar.java.model.VisitorsBridge.runScanner(VisitorsBridge.java:291)
14:22:44  	at org.sonar.java.model.VisitorsBridge.runScanner(VisitorsBridge.java:286)
14:22:44  	at org.sonar.java.model.VisitorsBridge.visitFile(VisitorsBridge.java:269)
14:22:44  	at org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:169)
14:22:44  	at org.sonar.java.ast.JavaAstScanner.simpleScan(JavaAstScanner.java:157)
14:22:44  
14:22:45  
14:22:45  > Task :sonar FAILED
14:22:45   egecko:sonar FAILED 

Hi,

Thanks for the log. I was hoping it would give us more than it does. Having seen a Gradle debug log before, I was hoping not to have to ask for it, but… could you bump the logging level up here to --debug and provide that log?

And in the meantime, I’m going to flag this for the language experts.

 
Ann

Hi Ann,

thank you very much for your help. I shortened the log a little.

Best regards

log.txt (5.2 MB)

Hi,

Thanks for the log, and thanks doubly for shortening it a bit! :sweat_smile:

The tragic thing is that it looks like the error happens right at the end of analysis

Did not optimize analysis for any files, performed a full analysis for all 4659 files.

But anyway, I think we’ve got plenty of data here for the language experts. They may ask you to share some of the files mentioned in the log. Let them know if you’d prefer that to be done privately.

 
Ann