github / github/codeql

Error in creating a new java pro database

Abierto
#15,198 4 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
CodeQL
Estrellas
10.1k
Forks
2.1k
Merge medio
2 d 15 h
PR fusionados (30 d)
141

Descripción

when excuting "codeql database create .\compiler-db\ --language=java --source-root=E:\JavaPro\Compiler\src" in command line, it reports:
```
[2023-12-23 18:49:50] [build-stderr] ERROR: Could not detect a suitable build command for the source checkout.
[2023-12-23 18:49:50] [ERROR] Spawned process exited abnormally (code 1; tried to run: [E:\C_Pro\codeql\tools\win64\tracer.exe, E:\C_Pro\codeql\tools\win64\runner.exe, cmd.exe, /C, type, NUL, &&, E:\C_Pro\codeql\java\tools\autobuild.cmd])
A fatal error occurred: Exit status 1 from command: [E:\C_Pro\codeql\tools\win64\runner.exe, cmd.exe, /C, type, NUL, &&, E:\C_Pro\codeql\java\tools\autobuild.cmd]
```
build-tracer.log is here:
```
[T 18:49:49 31224] Initializing tracer.
[T 18:49:49 31224] Initialising tags...
[T 18:49:49 31224] CodeQL CLI version 2.15.5
[T 18:49:49 31224] Initializing tracer.
[T 18:49:49 31224] Initialising tags...
[T 18:49:49 31224] Allocated ID 26194622000079F8_0000000000000001 (parent )
[T 18:49:49 31224] ==== Candidate to intercept: E:\C_Pro\codeql\tools\win64\runner.exe (8100) ====
[T 18:49:49 31224] Lua: === Intercepted call to e:\c_pro\codeql\tools\win64\runner.exe ===
[T 18:49:49 31224] Executing the following tracer actions:
[T 18:49:49 31224] Tracer actions:
[T 18:49:49 31224] pre_invocations(0)
[T 18:49:49 31224] post_invocations(0)
[T 18:49:49 31224] trace_languages(1): [java]
[T 18:49:49 8100] Initializing tracer.
[T 18:49:49 8100] Initialising tags...
[T 18:49:49 8100] ID set to 26194622000079F8_0000000000000001 (parent root)
[T 18:49:49 8100] Allocated ID 727A9A4500001FA4_0000000000000001 (parent 26194622000079F8_0000000000000001)
[T 18:49:49 8100] ==== Candidate to intercept: C:\Windows\System32\cmd.exe (26852) ====
[T 18:49:49 8100] Lua: === Intercepted call to c:\windows\system32\cmd.exe ===
[T 18:49:49 8100] Executing the following tracer actions:
[T 18:49:49 8100] Tracer actions:
[T 18:49:49 8100] pre_invocations(0)
[T 18:49:49 8100] post_invocations(0)
[T 18:49:49 8100] trace_languages(1): [java]
[T 18:49:49 26852] Initializing tracer.
[T 18:49:49 26852] Initialising tags...
[T 18:49:49 26852] ID set to 727A9A4500001FA4_0000000000000001 (parent 26194622000079F8_0000000000000001)
[T 18:49:50 26852] Allocated ID D6BA57A5000068E4_0000000000000001 (parent 727A9A4500001FA4_0000000000000001)
[T 18:49:50 26852] ==== Candidate to intercept: E:\C_Pro\codeql\tools\win64\java\bin\java.exe (1828) ====
[T 18:49:50 26852] Lua: === Intercepted call to e:\c_pro\codeql\tools\win64\java\bin\java.exe ===
[T 18:49:50 26852] Executing the following tracer actions:
[T 18:49:50 26852] Tracer actions:
[T 18:49:50 26852] pre_invocations(0)
[T 18:49:50 26852] post_invocations(0)
[T 18:49:50 26852] trace_languages(1): [java]
[T 18:49:50 1828] Initializing tracer.
[T 18:49:50 1828] Initialising tags...
[T 18:49:50 1828] ID set to D6BA57A5000068E4_0000000000000001 (parent 727A9A4500001FA4_0000000000000001)
[T 18:49:50 1828] Passing through -javaagent:E:\C_Pro\codeql\java\tools\codeql-java-agent.jar=ignore-project,java,kotlin to underlying JVM.
[T 18:49:50 1828] Passing through -Xbootclasspath/a:E:\C_Pro\codeql\java\tools\codeql-java-agent.jar to underlying JVM.
[T 18:49:50 1828] Intercepted JVM creation with extra hidden args: ['-javaagent:E:\C_Pro\codeql\java\tools\codeql-java-agent.jar=ignore-project,java,kotlin' '-Xbootclasspath/a:E:\C_Pro\codeql\java\tools\codeql-java-agent.jar' ] (result: 1, 0).
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.