Robustify issue factory

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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)

            Assignee:
            Michael Neale
            Reporter:
            Michael Neale
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: