Skip to content

[Bug]: schema.json opens when viewing settings.jsonΒ #1326

@nathanvanhaeften-ae

Description

@nathanvanhaeften-ae

Contact Details

No response

What happened?

When the Checkmarx extension is enabled and settings.json is opened, a file named schema.json opens in a preview tab. The contents of the file are just a set of braces ({}). If the file is closed and settings.json remains open, schema.json will reopen after 3 minutes. If schema.json is left open for longer than 3 minutes and closed, it will reopen immediately. This pattern is observable in the output. Log output appears to suggest an issue related to KICS scanning, though disabling KICS real time scanning doesn't appear to prevent the issue. Issue stops occurring once settings.json is closed.

Version

2.43.0

Operating System & Version

Windows 11

Specify Other OS Version

No response

Relevant log output

// Commentary added inline to describe actions taken

// Settings.json is opened, resulting in a schema.json file opening
[INFO - 3:38:49 PM] Opened a supported file by KICS. Starting KICS scan
[ERROR - 3:38:49 PM] Error:  Error reading file
// schema.json is closed
// 3 mins later, same error appears and schema.json reopens
[INFO - 3:41:49 PM] Opened a supported file by KICS. Starting KICS scan
[ERROR - 3:41:49 PM] Error:  Error reading file
// schema.json is left open for longer than 3 minutes
// schema.json is closed, causing the same error and schma.json to immediately reopen
[INFO - 3:46:51 PM] Opened a supported file by KICS. Starting KICS scan
[ERROR - 3:46:52 PM] Error:  Error reading file
// schema.json is closed
// 3 mins later, same error appears and schema.json reopens
[INFO - 3:49:51 PM] Opened a supported file by KICS. Starting KICS scan
[ERROR - 3:49:52 PM] Error:  Error reading file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions