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

NPE in BlueOcean REST API / JIRA interaction

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Won't Fix
    • Component/s: blueocean-plugin
    • Labels:
      None
    • Environment:
      BlueOcean 1.3.0
      JIRA Plugin 2.5
    • Epic Link:
    • Sprint:
      Blue Ocean 1.4 - beta 3, Blue Ocean 1.5 - beta 1
    • Similar Issues:

      Description

      I do not use JIRA on my instance, but my system logs are flooded with BlueJiraIssue exceptions.

      java.lang.NullPointerException
      	at hudson.plugins.jira.JiraSite.get(JiraSite.java:400)
      	at io.jenkins.blueocean.service.embedded.jira.BlueJiraIssue$FactoryImpl.getIssues(BlueJiraIssue.java:94)
      	at io.jenkins.blueocean.rest.factory.BlueIssueFactory.resolve(BlueIssueFactory.java:72)
      	at io.jenkins.blueocean.service.embedded.rest.ChangeSetResource.getIssues(ChangeSetResource.java:94)
      	at io.jenkins.blueocean.commons.stapler.export.MethodProperty.getValue(MethodProperty.java:72)
      	at io.jenkins.blueocean.commons.stapler.export.ExportInterceptor$1.getValue(ExportInterceptor.java:43)
      	at io.jenkins.blueocean.commons.stapler.Export$BlueOceanExportInterceptor.getValue(Export.java:167)
      	at io.jenkins.blueocean.commons.stapler.export.Property.writeTo(Property.java:136)
      	at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:228)
      	at io.jenkins.blueocean.commons.stapler.export.Model.writeNestedObjectTo(Model.java:224)
      	at io.jenkins.blueocean.commons.stapler.export.Property.writeValue(Property.java:314)
      
      

        Attachments

          Issue Links

            Activity

            Hide
            jamesdumay James Dumay added a comment -

            Oleg Nenashev I tried running the containers like you said but I didn't know how to pass in the "-Dio.jenkins.dev.host and additional socat image for forwarding."

            Show
            jamesdumay James Dumay added a comment - Oleg Nenashev I tried running the containers like you said but I didn't know how to pass in the "-Dio.jenkins.dev.host and additional socat image for forwarding."
            Hide
            michaelneale Michael Neale added a comment -

            I think the solution for this is for the JIRA plugin to be worked over one way or another, so the problem categorically goes away. 

            Show
            michaelneale Michael Neale added a comment - I think the solution for this is for the JIRA plugin to be worked over one way or another, so the problem categorically goes away. 
            Hide
            michaelneale Michael Neale added a comment -

            A 'won't fix' as the problem will be solved by not using the JIRA plugin as it is. 

            Show
            michaelneale Michael Neale added a comment - A 'won't fix' as the problem will be solved by not using the JIRA plugin as it is. 
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Michael Neale there is still a bug in JIRA plugin IMO. It should not fail with NPE on such calls. I would create a follow-up ticket

            Show
            oleg_nenashev Oleg Nenashev added a comment - Michael Neale there is still a bug in JIRA plugin IMO. It should not fail with NPE on such calls. I would create a follow-up ticket
            Hide
            michaelneale Michael Neale added a comment -

            Thanks Oleg Nenashev

             

             

            Show
            michaelneale Michael Neale added a comment - Thanks Oleg Nenashev    

              People

              • Assignee:
                Unassigned
                Reporter:
                oleg_nenashev Oleg Nenashev
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: