geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miguel A Paraz (JIRA)" <j...@apache.org>
Subject [jira] Updated: (GERONIMODEVTOOLS-12) NPE when publishing Web Service
Date Mon, 19 Sep 2005 05:57:54 GMT
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=all ]

Miguel A Paraz updated GERONIMODEVTOOLS-12:
-------------------------------------------

    Attachment: Screenshot-Add and Remove Projects .png

I think I know why.

The projects list has other projects and not just the EAR because I was trying out some other
projects earlier.
I don't know how it happened, but the Projects window has a module that has no icon (see "sample-web"
in the right side of the dialog box in the screenshot).  That project had errors, so I just
deleted it and made a new one. Now there's another "sample-web"

How can I clean our the Configured projects without using the dialog box? If I move the "sample-web"
app with no icon to the right and "Finish", I get the NPE.


> NPE when publishing Web Service
> -------------------------------
>
>          Key: GERONIMODEVTOOLS-12
>          URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12
>      Project: Geronimo-Devtools
>         Type: Bug
>  Environment: latest HEAD,  wtp-I20050914 and dependencies, Linux
>     Reporter: Miguel A Paraz
>  Attachments: Screenshot-Add and Remove Projects .png, eclipse-trace.txt, eclipse-trace2.txt,
eclipse-trace3.txt
>
> 1. Create a Dynamic Web Project, using Geronimo as server
> 2. Create a bean class.
> 3. New/Web Services/Web Service
> 4. "Bottom" up, defaults
> 5. Service Deployment Configuration: run time is Axis, server is Geronimo
> 6. Web Service Java Bean Identity: defaults, all methods, Document/Literal (Wrapped)
> 7. Start server
> 8. Error dialog box:
> Could not publish to the server.
>     java.lang.NullPointerException
>     at org.apache.geronimo.core.internal.GeronimoUtils.isWebModule(GeronimoUtils.java:78)
>     at org.apache.geronimo.core.internal.GeronimoUtils.getConfigId(GeronimoUtils.java:62)
>     at org.apache.geronimo.core.internal.GeronimoServerBehaviour.invokeCommand(GeronimoServerBehaviour.java:368)
>     at org.apache.geronimo.core.internal.GeronimoServerBehaviour.publishModule(GeronimoServerBehaviour.java:281)
>     at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:632)
>     at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:685)
>     at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:586)
>     at org.eclipse.wst.server.core.internal.Server.doPublish(Server.java:705)
>     at org.eclipse.wst.server.core.internal.Server.publish(Server.java:694)
>     at org.eclipse.jst.ws.internal.consumption.command.common.StartServerCommand$1.run(StartServerCommand.java:182)
>     at org.eclipse.jst.ws.internal.consumption.command.common.StartServerCommand.publish(StartServerCommand.java:194)
>     at org.eclipse.jst.ws.internal.consumption.command.common.StartServerCommand.execute(StartServerCommand.java:104)
>     at org.eclipse.jst.ws.internal.consumption.ui.server.StartServerWidget$StartServerJob.run(StartServerWidget.java:305)
>     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message