Uploaded image for project: 'Xray for Jira'
  1. Xray for Jira
  2. XRAY-2570

When importing Robot Framework execution results, if the Test creation fails Xray will throw a NullPointerException

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • R3.0.3
    • R3.1.0
    • None
    • None
    • R3.1.0 S2
    • OK

    Description

      When importing Robot Framework execution results, If no Test is found with the same Test definition, Xray tries to create a new Test.

      If for some reason the Test creation fails, Xray will throw a NullPointerException.

      Xray must catch this case and return to the user the reason why the Test has failed.

      Example on how to reproduce:

      step Result
      create a custom validator on Create Issue transition so the Test cannot be create -
      import execution results with a test definition that currently does not exist Xray will throw NullPointerException

      Attachments

        Activity

          People

            nmps nmps
            xcfe Xavier Fernandes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 5 minutes
                1h 5m