Geronimo
  1. Geronimo
  2. GERONIMO-3583

Deployer.jar gets null pointer exception and hangs on attempt to install-plugin on remote host

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.0.2, 2.1
    • Fix Version/s: 2.0.3, 2.1
    • Component/s: deployment
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      While attempting to deploy a plugin with install-plugin on a remote host, Deployer.jar fails with the following stack trace
      13:45:35,094 INFO [RemoteDeploymentManager] Uploading 1 file(s) to server
      Exception in thread "main" java.lang.NullPointerException
      at org.apache.geronimo.deployment.plugin.local.CommandSupport.doFail(CommandSupport.java:141)
      at org.apache.geronimo.deployment.plugin.remote.RemoteDeployUtil.uploadFilesToServer(RemoteDeployUtil.java:206)
      at org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager.startInstall(RemoteDeploymentManager.java:234)
      at org.apache.geronimo.deployment.cli.CommandInstallCAR.execute(CommandInstallCAR.java:49)
      at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:161)
      at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45)
      at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67)
      at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:31)

        Issue Links

          Activity

          Hide
          Jarek Gawor added a comment -

          GERONIMO-3620 took care of the url normalization and I just committed one change from the patch that was missed to trunk (revision 616826) and branches/2.0 (revision 616833).

          Show
          Jarek Gawor added a comment - GERONIMO-3620 took care of the url normalization and I just committed one change from the patch that was missed to trunk (revision 616826) and branches/2.0 (revision 616833).
          Hide
          Vamsavardhana Reddy added a comment -

          The patch looks correct to me. I have used the same in installLibrary() method added to RemoteDeploymentManager as part of GERONIMO-3611.

          Show
          Vamsavardhana Reddy added a comment - The patch looks correct to me. I have used the same in installLibrary() method added to RemoteDeploymentManager as part of GERONIMO-3611 .
          Hide
          Vamsavardhana Reddy added a comment -

          Normalizing the remoteDeployUploadURL part is handled in GERONIMO-3620

          Show
          Vamsavardhana Reddy added a comment - Normalizing the remoteDeployUploadURL part is handled in GERONIMO-3620
          Hide
          YunFeng Ma added a comment -

          A patch fixed this.

          Show
          YunFeng Ma added a comment - A patch fixed this.

            People

            • Assignee:
              Jarek Gawor
              Reporter:
              Erik B. Craig
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development