dev@glassfish.java.net

Re: NPE: resolveAppNameConflict on 10/6 nightly

From: Hong Zhang <Hong.Zhang_at_Sun.COM>
Date: Sun, 11 Oct 2009 20:32:39 -0400

Hi, Arun

> Deploying (more below) a simple EE 6 web application using NetBeans
> 6.8 M2 on a nightly from 10/6 is giving the following error:
>
> SEVERE: Exception while deploying the app
> java.lang.NullPointerException
> at
> org.glassfish.javaee.core.deployment.DolProvider.resolveAppNameConflict(DolProvider.java:187)
>
> at
> org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:126)
>
> at
> org.glassfish.javaee.core.deployment.DolProvider.load(DolProvider.java:38)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.loadDeployer(ApplicationLifecycle.java:580)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:522)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:232)
>
> at
> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:172)
>
> at
> org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
>
> at
> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
>
>
> Sometimes it's clean deployment (undeploy explicitly and deploy again)
> and other times it's just a redeployment that fails.
>
> Can't use 67 because Rails deployment is failing as described at:
>
> https://glassfish.dev.java.net/issues/show_bug.cgi?id=10166
>
> Any clues ?
>
> Trying the nightly from 10/9 to see this issue is fixed and Rails
> deployment is working as well.

For the NPE in DolProvider, I checked the current version of the
DolProvider, the line numbers do not match now. Yes, there were changes
made in this area recently for a spec clarification. Let me know if you
see problem again (b67 should be ok as b67 is dated Oct 10th?).

For the NPE in issue 10166, seems we did not consider non-JavaEE app in
that code path, Jagadish should be able to fix it pretty soon.

Thanks,

- Hong

> Flustered at OOW exhibitor floor ...
> -Arun
>