Hi Patrik,
Thank you for responding to it.
No, i don't have a way to reproduce it. It happened two times with us.
---------------------------------------------------------------------------------
final def persist[A](event: A)(handler: A ⇒ Unit): Unit = {
pendingStashingPersistInvocations += 1
pendingInvocations addLast StashingHandlerInvocation(event,
handler.asInstanceOf[Any ⇒ Unit])
resequenceableEventBatch = PersistentRepr(event) ::
resequenceableEventBatch
useProcessorBatching = false
}
----------------------------------------------------------------------------------
May be somehow this "pendingInvocations addLast
StashingHandlerInvocation(event, handler.asInstanceOf[Any ⇒ Unit])"
didn't happen or not sure what was that. Still trying to see what could've
caused it.
Cheers | NS
On Friday, 1 January 2016 21:09:57 UTC+5:30, Patrik Nordwall wrote:
>
> That is strange. Do you have a way to reproduce it?
> /Patrik
>
> On Thu, Dec 31, 2015 at 2:30 PM, Neel Sachdeva <[email protected]
> <javascript:>> wrote:
>
>>
>> Hi Guys,
>>
>> I'm seeing this exception on server :
>>
>>
>> akka.actor.OneForOneStrategy -
>> java.util.NoSuchElementException
>> at java.util.LinkedList.removeFirst(LinkedList.java:270)
>> at java.util.LinkedList.pop(LinkedList.java:801)
>> at
>> akka.persistence.Eventsourced$$anon$2.onWriteMessageComplete(Eventsourced.scala:632)
>> at
>> akka.persistence.Eventsourced$ProcessingState$$anonfun$2.applyOrElse(Eventsourced.scala:554)
>> at
>> scala.runtime.AbstractPartialFunction.apply(AbstractPartialFunction.scala:36)
>> at
>> akka.persistence.Eventsourced$$anon$2.stateReceive(Eventsourced.scala:628)
>> at
>> akka.persistence.Eventsourced$class.aroundReceive(Eventsourced.scala:158)
>> at catalyst.actors.subr.Subr.aroundReceive(Subr.scala:242)
>> at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
>> at akka.actor.ActorCell.invoke_aroundBody0(ActorCell.scala:495)
>> at akka.actor.ActorCell$AjcClosure1.run(ActorCell.scala:1)
>> at
>> org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:149)
>> at
>> akka.kamon.instrumentation.ActorCellInstrumentation$$anonfun$aroundBehaviourInvoke$1.apply(ActorCellInstrumentation.scala:63)
>> at kamon.trace.Tracer$.withContext(TracerModule.scala:53)
>> at
>> akka.kamon.instrumentation.ActorCellInstrumentation.aroundBehaviourInvoke(ActorCellInstrumentation.scala:62)
>> at akka.actor.ActorCell.invoke(ActorCell.scala:488)
>> at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
>> at akka.dispatch.Mailbox.run(Mailbox.scala:224)
>> at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
>> at
>> scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
>> at
>> scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
>> at
>> scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
>> at
>> scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
>> 2015-12-22 14:01:16,876 DEBUG catalyst.actors.subr.Subr - restarting
>>
>>
>> Problem is being caused at line 632 here
>> https://github.com/akka/akka/blob/master/akka-persistence/src/main/scala/akka/persistence/Eventsourced.scala
>> Any idea whats happening here ?
>>
>> --
>> >>>>>>>>>> Read the docs: http://akka.io/docs/
>> >>>>>>>>>> Check the FAQ:
>> http://doc.akka.io/docs/akka/current/additional/faq.html
>> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Akka User List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
>
> Patrik Nordwall
> Typesafe <http://typesafe.com/> - Reactive apps on the JVM
> Twitter: @patriknw
>
>
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.