Uploaded image for project: 'Geronimo-Devtools'
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-45

NPE when publishing to Geronimo server

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • None
    • eclipse-plugin
    • None
    • Windows XP

    Description

      Driver used: WTP 1.0, Geronimo 1.0 server, Geronimo 01/09 plugins

      After installing Geronimo server runtime and creating a Geronimo server using WTP (there's no other project or EAR on the server):

      • New ->Web Services -> Web Service client
      • Click Next
      • On the Web Service selection page, paste the following in the URI field at the top of the page:

      http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl

      • Click Next.
      • In the Client Environment Configuration page, enter a name for a new Web project and EAR project. The Web service runtime should be "Apache Axis" and server should be "Apache Geronimo 1.0".
      • Click Finish would result in:

      Publishing failed
      Could not publish to the server.
      java.lang.NullPointerException
      at org.apache.geronimo.core.commands.DeploymentCmdStatus.isOK(DeploymentCmdStatus.java:115)
      at org.apache.geronimo.core.internal.GeronimoServerBehaviour.doRedeploy(GeronimoServerBehaviour.java:249)
      at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBehaviour.java:204)
      at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBehaviour.java:188)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:658)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:738)
      at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:596)
      at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:799)
      at org.eclipse.wst.server.core.internal.Server.publish(Server.java:788)
      at org.eclipse.jst.ws.internal.consumption.ui.command.StartServerCommand$1.run(StartServerCommand.java:185)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

      Attachments

        Activity

          People

            sppatel Sachin Pravin Patel
            kathychan Kathy Chan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: