Uploaded image for project: 'Xray for Jenkins'
  1. Xray for Jenkins
  2. XRAYJENKINS-6

Jenkins returns NPE when saving a job with no JIRA instance selected in the build step

    XporterXMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Jenkins R1.3.0
    • None
    • OK

    Description

      This tipically happens when you install the plugin for the first timeĀ and the user tries to save a job with no JIRA instance selected in the build step.

      Steps to reproduce this bug:

      1. Uninstall the jenkins plugin
      2. Restart jenkins server
      3. Delete the ServerConfig.xml file under the jenkins installation home
      4. Turn on the jenkins server
      5. Install the plugin
      6. Create a freestyle project and configure the job
      7. Configure an Xray build step, for instance Xray:Import results
      8. Save the job
      9. A Null pointer is returned

      Attachments

        Issue Links

          Activity

            People

              pmmr Pedro Rodrigues
              dmdu David Duarte
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 15 minutes
                  1d 1h 15m