Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-46778

Robustify issue factory

    XMLWordPrintable

    Details

    • Epic Link:
    • Sprint:
      Blue Ocean 1.3
    • Similar Issues:

      Description

      As reported by Oleg Nenashev, there is some brittleness around JIRA, but I want to generalise it as the intention of blue ocean is to work not just with jira, and some of these services may also misbehave. This shouldn't cause things to go pear shaped: 

       

      Caused by: java.lang.reflect.InvocationTargetException
      at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:74)
      at io.jenkins.blueocean.commons.stapler.export.ExportInterceptor$1.getValue(ExportInterceptor.java:43)
      ... 146 more
      Caused by: java.lang.NullPointerException
      at hudson.plugins.jira.JiraSite.get(JiraSite.java:383)
      at io.jenkins.blueocean.service.embedded.jira.BlueJiraIssue$FactoryImpl.getIssues(BlueJiraIssue.java:94)
      at io.jenkins.blueocean.rest.factory.BlueIssueFactory.resolve(BlueIssueFactory.java:63)
      at io.jenkins.blueocean.service.embedded.rest.ChangeSetResource.getIssues(ChangeSetResource.java:94)
      at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72)

        Attachments

          Issue Links

            Activity

            Hide
            michaelneale Michael Neale added a comment -

            this was inspired by the sad tales on that ticket.. 

            Show
            michaelneale Michael Neale added a comment - this was inspired by the sad tales on that ticket.. 

              People

              • Assignee:
                michaelneale Michael Neale
                Reporter:
                michaelneale Michael Neale
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: