github / github/codeql

Kotlin language database create bug?

Open
#19,670 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

I tried to build the language database using CodeQL, but encountered an error.

And now I have read this article:
https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build.
I didn't receive any help

Image

However, I used the configuration command when creating the database.
```
codeql database create test --language=kotlin --source-root=/k/test --no-run-unnecessary-builds --command="/k/test/gradlew build" --overwrite
```
I can build success by executing /k/test/gradlew build separately.

I hope to receive assistance. thanks

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the reported CodeQL database create command and the linked troubleshooting article, then compare it with the separately successful /k/test/gradlew build. Reproduce the command and capture the missing error details; done means the Kotlin database is created successfully with the given source root and build command.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.