github / github/codeql

Create java database error:[ERROR] dataset import> diagnostic.trap.gz, 35344: java.io.EOFException: Unexpected end of ZLIB input stream.

Offen
#15,217 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

When creating a Java database, I encountered the following error: [ERROR] dataset import> diagnostic.trap.gz, 35344: java.io.EOFException: Unexpected end of ZLIB input stream. with this error log, the Java database is successfully created, but the database does not contain any Java files. There are no Java files in src.zip.

It works well with older versions, I executed the create database command on the same Java project. When using an older version of CodeQL, the process worked normally, except for missing files related to lombok. I tried to analysis with new version to include lombok files.

I have tested every version from 1.14.4 to 1.15.5, and all of them have this issue.

The error in database-create log:
![image](https://github.com/github/codeql/assets/6804882/b4696ac3-54ed-4d98-a1af-8e5933debb85)

For comparison the normal log for the same java project with codeql 1.14.3:
![image](https://github.com/github/codeql/assets/6804882/43d6987a-c251-40af-abd1-6d7644c3d501)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.