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

Java provider throws panic on `cond.referenced.filepaths` check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Blocker Blocker
    • MTA 7.3.0
    • MTA 7.3.0
    • None
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical
    • None

      Description of problem:

      The Java external provider throws a nil panic here https://github.com/konveyor/analyzer-lsp/blob/main/external-providers/java-external-provider/pkg/java_external_provider/service_client.go#L70 if a rule is passed without this field. There is a rule in our default rulesets in 0.7 that triggers this. 

      We should add a nil check at this condition in the Java provider, as well as fix the rule that is missing this field (tbd).

       

      How reproducible:

      100%

       

      Steps to Reproduce:
      1. Use 0.7 default rulesets
      2. Run analysis without targets (full rulesets)

              emcmulla@redhat.com Emily McMullan
              emcmulla@redhat.com Emily McMullan
              Shveta Sachdeva Shveta Sachdeva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: