There was a thead about this:
https://groups.google.com/forum/#!topic/liftweb/x1SIveK_bK0
and a blogpost by Antonio:
http://shadowfiend.posterous.com/unexpected-nullpointerexceptions-in-lift-prod
In my opinion this problem was solved in Jetty 7.6.0.RC0 and 8.1.0.RC0.
Jakub Czuchnowski
On Tue, Dec 20, 2011 at 4:37 PM, Peter Brant <peter...@gmail.com> wrote:
> Hi all,
>
> We're getting the following exception on Ajax calls and Comet polls
> with some regularity during development. The net result is that the
> Ajax call or Comet poll fails, but then succeeds on the retry. Is
> anybody else seeing these? Any ideas on a solution?
>
> Thanks,
>
> Pete
>
> 12-20-2011 09:28:40 ERROR [ActorLogger] - Actor threw an exception
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at net.liftweb.http.provider.servlet.containers.Servlet30AsyncProvider.resume(Servlet30AsyncProvider.scala:106)
> at net.liftweb.http.provider.servlet.HTTPRequestServlet.resume(HTTPRequestServlet.scala:163)
> at net.liftweb.http.LiftServlet$$anonfun$12.apply(LiftServlet.scala:536)
> at net.liftweb.http.LiftServlet$$anonfun$12.apply(LiftServlet.scala:536)
> at net.liftweb.http.LiftServlet$ContinuationActor$$anonfun$messageHandler$1.apply(LiftServlet.scala:522)
> at net.liftweb.http.LiftServlet$ContinuationActor$$anonfun$messageHandler$1.apply(LiftServlet.scala:504)
> at net.liftweb.actor.LiftActor$class.execTranslate(LiftActor.scala:441)
> at net.liftweb.http.LiftServlet$ContinuationActor.execTranslate(LiftServlet.scala:497)
> at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$proc2(LiftActor.scala:289)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply$mcV$sp(LiftActor.scala:210)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$net$liftweb$actor$SpecializedLiftActor$$processMailbox$1.apply(LiftActor.scala:210)
> at net.liftweb.actor.SpecializedLiftActor$class.around(LiftActor.scala:224)
> at net.liftweb.http.LiftServlet$ContinuationActor.around(LiftServlet.scala:497)
> at net.liftweb.actor.SpecializedLiftActor$class.net$liftweb$actor$SpecializedLiftActor$$processMailbox(LiftActor.scala:209)
> at net.liftweb.actor.SpecializedLiftActor$$anonfun$2$$anonfun$apply$mcV$sp$1.apply$mcV$sp(LiftActor.scala:173)
> at net.liftweb.actor.LAScheduler$$anonfun$9$$anon$2$$anon$3.run(LiftActor.scala:64)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.IllegalStateException: IDLE,initial
> at org.eclipse.jetty.server.AsyncContinuation.complete(AsyncContinuation.java:534)
> ... 24 more
>
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code
Pete
Pete