You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Miguel A Paraz (JIRA)" <ji...@apache.org> on 2005/09/15 18:51:54 UTC

[jira] Created: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

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


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


Re: WTP trace mode (was Re: GERONIMODEVTOOLS-12) NPE when publishing Web Service)

Posted by Sachin Patel <sp...@gmail.com>.
In the org.eclipse.wst.server.core_0.7.0.jar there should be a .options 
file.  Extract that file out to somewhere on your FS.  IIRC launch 
eclipse with...

eclipse -debug C:/pathtooptionsfile/.options

Miguel A Paraz wrote:
> On 9/17/05, Sachin Patel (JIRA) <ji...@apache.org> wrote:
>   
>> Actually there is already a trace statement in WTP that will give us the info that we need.  Enable trace for org.eclipse.wst.server.core and rerun and during publish watch for...
>>     
>
> Hi,
> Sorry but I could not find how to enable WTP trace. How is that done?
>
>   

WTP trace mode (was Re: GERONIMODEVTOOLS-12) NPE when publishing Web Service)

Posted by Miguel A Paraz <mp...@gmail.com>.
On 9/17/05, Sachin Patel (JIRA) <ji...@apache.org> wrote:
> Actually there is already a trace statement in WTP that will give us the info that we need.  Enable trace for org.eclipse.wst.server.core and rerun and during publish watch for...

Hi,
Sorry but I could not find how to enable WTP trace. How is that done?

[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329569 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

Actually there is already a trace statement in WTP that will give us the info that we need.  Enable trace for org.eclipse.wst.server.core and rerun and during publish watch for...

Publishing Module: modulename

The NPE is coming from modulename, and if this is null, then the problem is in WTP and a bugzilla should be opened against wst.server.

> 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

>
> 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


[jira] Resolved: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=all ]
     
Sachin Patel resolved GERONIMODEVTOOLS-12:
------------------------------------------

    Resolution: Invalid
     Assign To: Sachin Patel

> 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
>     Assignee: Sachin Patel
>  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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329681 ] 

Miguel A Paraz commented on GERONIMODEVTOOLS-12:
------------------------------------------------

I think this is the cause - an NPE right before the one in question? What details to I post to the WTP bugzilla?

org.eclipse.wst.server.core SEVERE    18/09/05 22:56.11.172 Error calling delegate getChildModules() Apache Geronimo 1.0(Generic)
java.lang.NullPointerException
        at org.eclipse.jst.server.generic.core.internal.GenericServer.getChildModules(GenericServer.java:162)
        at org.eclipse.wst.server.core.internal.Server.getChildModules(Server.java:1851)
        at org.eclipse.wst.server.core.internal.Server.visitModule(Server.java:2005)
        at org.eclipse.wst.server.core.internal.Server.visit(Server.java:1986)
        at org.eclipse.wst.server.core.internal.Server.getAllModules(Server.java:758)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.getAllModules(ServerBehaviourDelegate.java:710)
        at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:523)
        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.wst.server.core.internal.PublishServerJob.run(PublishServerJob.java:145)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)


> 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

>
> 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


[jira] Updated: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=all ]

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

    Attachment: eclipse-trace.txt

-debug output for WTP publishing bug

> 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: eclipse-trace.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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329832 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

There is a servers.xml (I think its named that) in the plugin meta data for one of the plugins either wst.server.core or jst.server.core.  You may be able to modify this to clean up the configured projects and then restart your workbench.  

Sometimes though, its just best to start a whole new workspace :).  

> 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


[jira] Updated: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329688 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

That trace helps.  I've added some trace statements in the org.apache.geronimo.devtools.eclipse.core plugin.  Since I'm still having trouble producing this, could you run with trace enabled on this plugin and rerun the entire scenario? 

Thanks.

> 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: eclipse-trace.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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329696 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

How do you have 3 projects you can in the add/remove project wizard? There should only be one ear, that you can add/remove.  The web module should a chilld within it.  I think there may be an issue with your project configuration here.

> 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: 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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329568 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

Also which wtp-I20050914 driver are you on? There were 3 on that day, and one of them had 118 compile errors. Perhaps you accidently pulled that one.

> 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

>
> 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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329864 ] 

Miguel A Paraz commented on GERONIMODEVTOOLS-12:
------------------------------------------------

Found severs.xml and cleaned it. 

So this issue is not specific to Web Services but due to WST bugs? Let's close it?

> 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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329679 ] 

Miguel A Paraz commented on GERONIMODEVTOOLS-12:
------------------------------------------------

I'm using the working wtp-I20050914. modulename is not null:

org.eclipse.wst.server.core FINEST    18/09/05 22:56.11.364 Publishing module: [Lorg.eclipse.wst.server.core.IModule;@de1b36

I am going to attach my trace file.

> 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

>
> 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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329565 ] 

Miguel A Paraz commented on GERONIMODEVTOOLS-12:
------------------------------------------------

I updated and rebuit. Same thing. The project is empty except for the bean file.

I found that the Eclipse output is:

In Pre service develop command.
Sep 17, 2005 1:06:19 AM org.apache.axis.utils.JavaUtils isAttachmentSupported
WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
In Pre service assemble command.
In Pre service deploy command.
In Pre service install command.
In Pre service run command.


> 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

>
> 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


[jira] Updated: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=all ]

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

    Attachment: eclipse-trace2.txt

Same steps as above, with the additional trace enabled.

I tried the steps with a clean workspace. No errors. I believe an older project is breaking it.

> 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: eclipse-trace.txt, eclipse-trace2.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


[jira] Updated: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Miguel A Paraz (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=all ]

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

    Attachment: eclipse-trace3.txt

This is when I get an NPE for trying to remove the projects I added earlier.

1. Server View, Add/Remove Projects
2. Move sample-ear, sample-web, sample-wsEAR to right side (available projects)
3. Finish



> 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: 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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329689 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

... and what I'm looking for is that calling publishModule() is displayed twice.  One of the times IModule I'm guessing will be NULL.  Either case, if you could attach that trace output as well.

> 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: eclipse-trace.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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329567 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

I imported you project, and I was able to deploy.

14:25:28,217 INFO  [LocalConfigStore:config-store] Installed configuration sample-ws/sample-ws in location 25
14:25:28,297 INFO  [LocalConfigStore:config-store] Loaded Configuration geronimo.config:name="sample-ws/sample-ws"
14:25:28,357 INFO  [Configuration] Started configuration sample-ws/sample-ws
14:25:28,578 INFO  [PersistentConfigurationList] Saved running configuration list
14:25:28,608 INFO  [Container] Started org.mortbay.jetty.servlet.WebApplicationHandler@1f5ba55
14:25:28,608 INFO  [/sample-ws] JSR154 unwrappedDispatchSupported=true
14:25:28,608 INFO  [JettyWebAppContext] JettyWebAppContext started
14:25:28,608 INFO  [Container] Started WebApplicationContext[/sample-ws,sample-ws]

Now, are you installing the webmodule standalone, or the ear?  Perhaps, you're doing something I'm not thats causing the exception.  Can you verify the steps above? I'm going to add some system outs and get send you a patch for you to try.

> 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

>
> 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


[jira] Commented: (GERONIMODEVTOOLS-12) NPE when publishing Web Service

Posted by "Sachin Patel (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-12?page=comments#action_12329460 ] 

Sachin Patel commented on GERONIMODEVTOOLS-12:
----------------------------------------------

I was not able to reproduce this.  How recent is your head image? I put in several fixes last night (nothing in this file) but using the same steps as you've mentioned the ear sucessfully installed.  

If you don't have the latest, could you try again. If you still see an error can you send me an email with your application attached? (Export the project, not the ear).

Thanks.

> 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

>
> 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