Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: 4.3.19
-
Component/s: Core:DI
-
Labels:
-
Last commented by a User:true
Description
Happens during initialisation of projects using Akka actors enriched by Spring beans ex:
Spring service -> akka actor created and autowired during postConstruct.
Log:
[INFO] F8: Caused by: java.util.ConcurrentModificationException: null
[INFO] F8: at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
[INFO] F8: at java.util.ArrayList$Itr.next(ArrayList.java:859)
[INFO] F8: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:614)
[INFO] F8: at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:555)
[INFO] F8: at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:432)
[INFO] F8: at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:395)
[INFO] F8: at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:389)
[INFO] F8: at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveNamedBean(DefaultListableBeanFactory.java:1002)
[INFO] F8: at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:345)
[INFO] F8: at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:340)
[INFO] F8: at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1092)
[INFO] F8: at com.asaoweb.exmessaging.server.actors.SpringActorProducer.produce(SpringActorProducer.java:36)
[INFO] F8: at akka.actor.Props.newActor(Props.scala:212)
[INFO] F8: at akka.actor.ActorCell.newActor(ActorCell.scala:624)
[INFO] F8: at akka.actor.ActorCell.create(ActorCell.scala:650)