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

Exception in configure page when 'Kubernetes URL' isn't filled

    XMLWordPrintable

Details

    Description

      500 error from the request to http://<host>/descriptorByName/org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud/fillCredentialsIdItems

      Stack trace

      java.net.MalformedURLException: no protocol: 
      	at java.net.URL.<init>(URL.java:593)
      	at java.net.URL.<init>(URL.java:490)
      	at java.net.URL.<init>(URL.java:439)
      	at org.kohsuke.stapler.Stapler$4.convert(Stapler.java:1083)
      Caused: org.apache.commons.beanutils.ConversionException: no protocol: 
      	at org.kohsuke.stapler.Stapler$4.convert(Stapler.java:1085)
      	at org.kohsuke.stapler.AnnotationHandler.convert(AnnotationHandler.java:66)
      	at org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:74)
      	at org.kohsuke.stapler.QueryParameter$HandlerImpl.parse(QueryParameter.java:62)
      	at org.kohsuke.stapler.AnnotationHandler.handle(AnnotationHandler.java:91)
      	at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:176)
      	at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:117)
      	at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:129)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
      	at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248)
      	at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
      	at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
      	at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
      	at org.kohsuke.stapler.Stapler.service(Stapler.java:238)

      Attachments

        Activity

          raphaelyu Raphael Yu created issue -
          csanchez Carlos Sanchez made changes -
          Field Original Value New Value
          Status Open [ 1 ] In Progress [ 3 ]
          csanchez Carlos Sanchez made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Closed [ 6 ]

          People

            csanchez Carlos Sanchez
            raphaelyu Raphael Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: