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

NumberFormatException when parsing deploy url

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • deploy-plugin
    • None

      After Updating deploy to container plugin from 1.13 to 1.14 I got a NumberFormatException parsing the deploy URL "http://localhost:28080".

      The Errormessage was:
      01:01:53 [DeployPublisher][INFO] Attempting to deploy 2 war file(s)01:01:54 ERROR: Step ‘Deploy war/ear to a container’ aborted due to exception: 01:01:54 java.lang.NumberFormatException: For input string: "28080null"01:01:54 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)01:01:54 at java.lang.Integer.parseInt(Integer.java:580)01:01:54 at java.lang.Integer.parseInt(Integer.java:615)01:01:54 at java.net.URLStreamHandler.parseURL(URLStreamHandler.java:222)01:01:54 at java.net.URL.<init>(URL.java:622)01:01:54 Caused: java.net.MalformedURLException: For input string: "28080null"01:01:54 at java.net.URL.<init>(URL.java:627)01:01:54 at java.net.URL.<init>(URL.java:490)01:01:54 at java.net.URL.<init>(URL.java:439)01:01:54 at hudson.plugins.deploy.tomcat.TomcatAdapter.configure(TomcatAdapter.java:50)01:01:54 Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to sst-j-trunk*01:01:54* at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)01:01:54 at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)01:01:54 at hudson.remoting.Channel.call(Channel.java:957)01:01:54 at hudson.FilePath.act(FilePath.java:1072)01:01:54 at hudson.FilePath.act(FilePath.java:1061)01:01:54 at hudson.plugins.deploy.CargoContainerAdapter.redeployFile(CargoContainerAdapter.java:133)01:01:54 at hudson.plugins.deploy.PasswordProtectedAdapterCargo.redeployFile(PasswordProtectedAdapterCargo.java:95)01:01:54 at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:113)01:01:54 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)01:01:54 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)01:01:54 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)01:01:54 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)01:01:54 at hudson.model.Build$BuildExecution.post2(Build.java:186)01:01:54 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)01:01:54 at hudson.model.Run.execute(Run.java:1840)01:01:54 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)01:01:54 at hudson.model.ResourceController.execute(ResourceController.java:97)01:01:54 at hudson.model.Executor.run(Executor.java:429)01:01:54 Caused: java.lang.AssertionError*01:01:54* at hudson.plugins.deploy.tomcat.TomcatAdapter.configure(TomcatAdapter.java:53)01:01:54 at hudson.plugins.deploy.CargoContainerAdapter.getContainer(CargoContainerAdapter.java:64)01:01:54 at hudson.plugins.deploy.CargoContainerAdapter$DeployCallable.invoke(CargoContainerAdapter.java:166)01:01:54 at hudson.plugins.deploy.CargoContainerAdapter$DeployCallable.invoke(CargoContainerAdapter.java:136)01:01:54 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3052)01:01:54 at hudson.remoting.UserRequest.perform(UserRequest.java:212)01:01:54 at hudson.remoting.UserRequest.perform(UserRequest.java:54)01:01:54 at hudson.remoting.Request$2.run(Request.java:369)01:01:54 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)01:01:54 at java.util.concurrent.FutureTask.run(FutureTask.java:266)01:01:54 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)01:01:54 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)01:01:54 at java.lang.Thread.run(Thread.java:748)01:01:54 Caused: java.io.IOException: Remote call on sst-j-trunk failed*01:01:54* at hudson.remoting.Channel.call(Channel.java:963)01:01:54 at hudson.FilePath.act(FilePath.java:1072)01:01:54 at hudson.FilePath.act(FilePath.java:1061)01:01:54 at hudson.plugins.deploy.CargoContainerAdapter.redeployFile(CargoContainerAdapter.java:133)01:01:54 at hudson.plugins.deploy.PasswordProtectedAdapterCargo.redeployFile(PasswordProtectedAdapterCargo.java:95)01:01:54 at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:113)01:01:54 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)01:01:54 at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:45)01:01:54 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)01:01:54 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)01:01:54 at hudson.model.Build$BuildExecution.post2(Build.java:186)01:01:54 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)01:01:54 at hudson.model.Run.execute(Run.java:1840)01:01:54 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)01:01:54 at hudson.model.ResourceController.execute(ResourceController.java:97)01:01:54 at hudson.model.Executor.run(Executor.java:429)01:01:54 Collecting metadata...01:01:54 Metadata collection done.

      I rolled back to version 1.13 of the plugin and everything went fine again.

            jansohn Robin Jansohn
            rw250155 Reiner Wirtz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: