users@grizzly.java.net

Re: Unknown ProtocolChain Exception

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Mon, 17 Nov 2008 11:44:17 -0500

Salut,

can you file an issue here:

https://grizzly.dev.java.net/issues/

and describe how we can reproduce the issue? I see you are using Comet
and you are have called registerAsyncRead() method, right?

Thanks!

-- Jeanfrancoia

Burak Oguz wrote:
> Hi all,
>
> I have some strange problem with Glassfish v3 Prelude... GF gives me
> such an error:
>
> SEVERE: ProtocolChain exception
> java.lang.NullPointerException
> at com.sun.grizzly.Context.getProtocol(Context.java:601)
> at com.sun.grizzly.filter.ReadFilter.execute(ReadFilter.java:133)
> at com.sun.grizzly.filter.ReadFilter.execute(ReadFilter.java:98)
> at
> com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:71)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:103)
> at
> com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:89)
> at
> com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
> at com.sun.grizzly.comet.CometTask.doTask(CometTask.java:248)
> at com.sun.grizzly.http.TaskBase.call(TaskBase.java:359)
> at
> com.sun.grizzly.util.WorkerThreadImpl.processTask(WorkerThreadImpl.java:325)
> at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:184)
>
> I could not understand what does it means. Any help will be greatly
> appreciated..