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

Better try-catch around `getProject()`

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      In the case of :

      • src/main/java/hudson/plugins/templateproject/ProxyBuilder.java -> getProjectBuilders()
      • src/main/java/hudson/plugins/templateproject/ProxySCM.java -> getProject()
      • src/main/java/hudson/plugins/templateproject/ProxyPublisher.java -> getProject()

      Need to have proper try-catch, such that outputs proper error message instead of throwing NPE or silent fail (as sometimes happens with Folder plugin).

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              brantone Brantone
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: