Skip to content

AST Viewing unable to use extracted database bundle's src.zip #699

@Manouchehri

Description

@Manouchehri

Describe the bug
When I try to open a large database.zip bundle, I get:

The "start" argument must be of type number. Received type object

Full log:

Starting CodeQL extension
Checking CodeQL version using CodeQL CLI: /home/dave/.config/Code - Insiders/User/globalStorage/github.vscode-codeql/distribution7/codeql/codeql version -v --log-to-stderr --format=terse...
[2020-12-06 16:43:52] This is codeql version -v --log-to-stderr --format=terse
[2020-12-06 16:43:52] Terminating normally.

CLI command succeeded.
Didn't perform CodeQL CLI update check since a check was already performed within the previous 86400 seconds.
Checking CodeQL version using CodeQL CLI: /home/dave/.config/Code - Insiders/User/globalStorage/github.vscode-codeql/distribution7/codeql/codeql version -v --log-to-stderr --format=terse...
[2020-12-06 16:43:53] This is codeql version -v --log-to-stderr --format=terse
[2020-12-06 16:43:53] Terminating normally.

CLI command succeeded.
Found compatible version of CodeQL CLI (version 2.4.0)
Initializing configuration listener...
Initializing CodeQL cli server...
Initializing query server client.
Starting CodeQL CLI Server using CodeQL CLI: /home/dave/.config/Code - Insiders/User/globalStorage/github.vscode-codeql/distribution7/codeql/codeql execute cli-server -v --log-to-stderr
CodeQL CLI Server started on PID: 15256
Resolving RAM settings using CodeQL CLI: resolve ram -v --log-to-stderr --format json...
CLI command succeeded.
[2020-12-06 16:43:54] This is codeql execute cli-server -v --log-to-stderr

Initializing database manager.
Initializing database panel.
Registering database panel commands.
Initializing query history manager.
Registering query history panel commands.
Initializing results panel interface.
Initializing compare panel interface.
Initializing source archive filesystem provider.
Initializing CodeQL language server.
Initializing QLTest interface.
Resolving tests using CodeQL CLI: resolve tests --strict-test-discovery -v --log-to-stderr --format json /mnt/space/mono/master/src...
Registering CodeQL test panel commands.
Registering top-level command palette commands.
Starting language server.
Registering jump-to-definition handlers.
Removing orphaned databases from workspace storage.
Successfully finished extension initialization.
No orphaned databases found.
CLI command succeeded.

The "start" argument must be of type number. Received type object

Additional context

Version: 1.52.0-insider
Commit: 5e350b1b79675cecdff224eb00f7bf62ae8789fc
Date: 2020-12-04T10:15:13.654Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.4.0-52-generic

Metadata

Metadata

Assignees

No one assigned

    Labels

    VSCodebugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions