Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-5067

[CLI] Dotnet analysis crashes with error "/opt/app-root/.dotnet/tools/csharp-ls: no such file or directory"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • MTA 7.3.0
    • MTA 7.3.0
    • MTA CLI
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • None

      Description of problem:

      Dotnet analysis crashes with errors:
      1. "unable to find provider for: java"
      2. "time="2025-04-28T09:54:56Z" level=error msg="unable to init the providers" error="fork/exec /opt/app-root/.dotnet/tools/csharp-ls: no such file or directory" provider=dotnet"

      Version-Release number of selected component (if applicable): 7.3.0-24 

      How reproducible: 100%

      Steps to Reproduce:
      1. Run analysis like

      /home/igor/.kantra/mta-cli analyze --overwrite --input /home/igor/github.com/kantra-cli-tests/data/applications/dotnet_hello_world/ --output /home/igor/MTA/reports-automation --rules=/home/igor/github.com/kantra-cli-tests/data/yaml/dotnet/example_rules --run-local=false --provider=dotnet
      

      Actual results:

      Analysis fails, main errors are:
      1. "unable to find provider for: java"
      2. "time="2025-04-28T09:54:56Z" level=error msg="unable to init the providers" error="fork/exec /opt/app-root/.dotnet/tools/csharp-ls: no such file or directory" provider=dotnet"

      Expected results:

      Analysis should work 

      Additional info:

              fbladilo@redhat.com Franco Bladilo
              ibragins@redhat.com Igor Braginsky
              Igor Braginsky Igor Braginsky
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: