Hi Im having a same issue.
My environment is:
gitlab.com
sonarcloud.io
project in Java
Build in gradle
I configured the build.gradle like the first analisys with the tutorial in sonarcloud page, but i still have a exception.
Blockquote
org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: Could not find a default branch to fall back on.`
I found a doc saying the first analisys is on default main Branch, and my analisys is on default MAIN Branch.