Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 18460 invoked from network); 19 Sep 2005 05:58:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Sep 2005 05:58:05 -0000 Received: (qmail 57596 invoked by uid 500); 19 Sep 2005 05:58:00 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 57492 invoked by uid 500); 19 Sep 2005 05:57:58 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 57324 invoked by uid 99); 19 Sep 2005 05:57:58 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Sep 2005 22:57:56 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B9E4B125 for ; Mon, 19 Sep 2005 07:57:54 +0200 (CEST) Message-ID: <37975269.1127109474759.JavaMail.jira@ajax.apache.org> Date: Mon, 19 Sep 2005 07:57:54 +0200 (CEST) From: "Miguel A Paraz (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMODEVTOOLS-12) NPE when publishing Web Service In-Reply-To: <1793079069.1126803114300.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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