Skip to content

Analysis server crash if analyzer from source doesn't match the sdk version limits - better explanation for the user #5376

@FMorschel

Description

@FMorschel

Describe the bug
When running the analyzer from source, we have a limitation on the version of the SDK which is running it. When you change the version to one that is not compatible, the server fails multiple times and the three toast errors that come up (every time and it keeps trying to make it work without success), only the analyzer toast (that sends you to the analyzer log file now) gives a good-ish (weird phrasing for the versions but I could gather that was something about the versions and the path for my source was displayed there) explanation as to what is going on.

To Reproduce
Steps to reproduce the behavior:

  1. Add a valid value for analyzerPath and sdkPath
  2. Change the sdkPath to a version incompatible with the analyzer

Expected behavior
I'd expect a better exception message. Maybe a fallback:

  • Warn the analyzer is not compatible and run without it.
  • Warn that is not compatible and don't try to restart the server

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions