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

Robustify issue factory

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • Blue Ocean 1.3

      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)

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

              Created:
              Updated:
              Resolved: