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

[Regression][Custom rules] Failed to run analysis with custom rules from a repository

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • MTA 6.1.0
    • MTA 6.1.0
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      When running an analysis with custom rules from a repository, the analysis fails with this error: "runtime error: invalid memory address or nil pointer dereference"

      This is a regression, the same scenario described under "Steps to Reproduce" worked using MTA 6.1.0-8

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

      mta-operator-bundle-container-6.1.0-13

      How reproducible:

      100%

      Steps to Reproduce:

      1. Analyze the tackle-testapp
      2. On the "Custom rules" screen, open the "Repository" tab and provide the required info to use rules files from https://github.com/konveyor/tackle-ui-tests/tree/main/cypress/fixtures/xml
      3. Run analysis

      Actual results:

      The analysis fails, error from log: "runtime error: invalid memory address or nil pointer dereference"

      Attachments:

      task.log

            [MTA-439] [Regression][Custom rules] Failed to run analysis with custom rules from a repository

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Important: Migration Toolkit for Applications security and bug fix update), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHSA-2023:2041

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Important: Migration Toolkit for Applications security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:2041

            This issue is no longer reproducible on MTA 6.1.0-16.

            Alejandro Brugarolas added a comment - This issue is no longer reproducible on MTA 6.1.0-16.

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of rhmt / MTA Midstream on branch mta-6.1-rhel-8_ upstream _0903271ab9142eb73b4277069735a22e : Updated 3 upstream sources

            GitLab CEE Bot added a comment - CPaaS Service Account mentioned this issue in a merge request of rhmt / MTA Midstream on branch mta-6.1-rhel-8_ upstream _538ee28e9f8d3985037ae7299d19254c : Updated 3 upstream sources

            Looks like there's a nil pointer deference when dealing with a repository with no associated identity. https://github.com/konveyor/tackle2-addon-windup/pull/96

            Samuel Lucidi added a comment - Looks like there's a nil pointer deference when dealing with a repository with no associated identity. https://github.com/konveyor/tackle2-addon-windup/pull/96

            Jeff Ortel added a comment - - edited

            I think this is already fixed upstream and backported to mta6.

            https://github.com/konveyor/tackle2-addon-windup/pull/94

            Jeff Ortel added a comment - - edited I think this is already fixed upstream and backported to mta6. https://github.com/konveyor/tackle2-addon-windup/pull/94

              slucidi@redhat.com Samuel Lucidi
              mguetta1 Maayan Hadasi
              Alejandro Brugarolas Alejandro Brugarolas
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: