dev@glassfish.java.net

Re: V3 : NPE in EAR deployment

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Tue, 24 Mar 2009 14:30:57 -0400

Hi, Bhakti

> Yes I too had run into the same issue and think Kumar is using a
> windows box. I cannot now reproduce with mac.

Were you also using windows when you saw this problem?

- Hong

>
> Hong Zhang wrote:
>
>> Hi, Kumar
>> I could not reproduce this with a freshly updated built workspace.
>> Which distribution did you use? The ear deployed successfully with
>> glassfish distribution, and the failed to deploy with web
>> distribution with expected error (no associated container installed
>> for ear)..
>>
>> Which platform were you using ? I remember Bhakti once reported a
>> similar problem and I was never able to reproduce on my linux box..
>>
>> - Hong
>>
>>>
>>>
>>> I am getting the following NPE when i try to deploy the attached
>>> EAR with latest workspace. Can someone tell what is wrong.
>>>
>>> java.lang.NullPointerException
>>> at
>>> org.glassfish.deployment.common.DeploymentUtils.isEAR(DeploymentUtils.java:119)
>>>
>>> at
>>> org.glassfish.javaee.full.deployment.EarHandler.handles(EarHandler.java:105)
>>>
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.getArchiveHandler(ApplicationLifecycle.java:159)
>>>
>>> at
>>> org.glassfish.javaee.full.deployment.EarHandler.expand(EarHandler.java:127)
>>>
>>> at
>>> com.sun.enterprise.v3.server.ApplicationLifecycle.getContext(ApplicationLifecycle.java:846)
>>>
>>> at
>>> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:203)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:298)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:313)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:445)
>>>
>>> at
>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:132)
>>>
>>>
>>> regards,
>>> kumar
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>