dev@glassfish.java.net

Re: NPE while during in a cluster

From: Rajiv Mordani <rajiv.mordani_at_oracle.com>
Date: Sat, 07 Aug 2010 17:30:54 -0700

After updating the workspace with the changes reverted the NPE has gone
away.

- Rajiv


On 08/07/2010 04:04 PM, Tim Quinn wrote:
> It looks as if the NPEs were due to a change someone made to
> ParameterMapExtractor that was checked in Friday afternoon. Jane
> rolled back the change Friday evening because it was causing QL failures.
>
> Rajiv and Shing Wai, does this make sense with when you saw the
> errors? If you update common/common-utils and rebuild do you still
> see the NPEs?
>
> - Tim
>
>
>
> On Aug 6, 2010, at 9:13 PM, Rajiv Mordani wrote:
>
>> Hong,
>> The steps are at
>>
>> http://wikis.sun.com/display/GlassFish/High+availability+demo+for+3.1+MS3
>>
>>
>> - Rajiv
>>
>> On 8/6/10 6:13 PM, Hong Zhang wrote:
>>> Hi, Shing-wai
>>> I just tried this and I did not see any problem when deploying a
>>> war to cluster. And admin dev test hudson job seems fine too (it
>>> contains tests of deploying war to cluster).
>>> Can you list the exact steps of how you create the cluster and
>>> deploy the war to cluster? Did this set of steps work for you before?
>>>
>>> Thanks,
>>>
>>> - Hong
>>>
>>> On 8/6/2010 7:56 PM, Shing Wai Chan wrote:
>>>> I have just updated my workspace, create a cluster with two
>>>> instances and deploy a war to the cluster.
>>>> Then I got the following NPE in both of the instance log:
>>>>
>>>> [#|2010-08-06T15:49:38.745-0700|SEVERE|glassfish3.1|javax.enterprise.system.tools.admin.org.glassfish.deployment.admin|_ThreadID=15;_ThreadName=Thread-1;|The
>>>> log message is null.
>>>> java.lang.NullPointerException
>>>> at java.io.File.<init>(File.java:305)
>>>> at
>>>> org.glassfish.deployment.admin.InstanceDeployCommand.execute(InstanceDeployCommand.java:141)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:358)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:373)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1057)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:94)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1189)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1178)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:371)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:205)
>>>>
>>>> at
>>>> com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:113)
>>>>
>>>> at
>>>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:246)
>>>>
>>>> at
>>>> com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:823)
>>>>
>>>> at
>>>> com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:720)
>>>> at
>>>> com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1013)
>>>> at
>>>> com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:220)
>>>>
>>>> at
>>>> com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
>>>>
>>>> at
>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
>>>>
>>>> at
>>>> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
>>>>
>>>> at
>>>> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
>>>>
>>>> at
>>>> com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
>>>>
>>>> at
>>>> com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
>>>>
>>>> at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
>>>> at
>>>> com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:530)
>>>>
>>>> at
>>>> com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:511)
>>>>
>>>> at java.lang.Thread.run(Thread.java:637)
>>>>
>>>> Shing Wai Chan
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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
>>>
>>
>> ---------------------------------------------------------------------
>> 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
>