-
Sub-task
-
Resolution: Done
-
Major
-
None
-
3.0.0.Alpha16
-
None
Failing tests are running on Arquillian so it may and may not be problem on our side.
There is a ConcurrentModificationException thrown in tests. It is not thrown every time you run it but only sometimes (as it goes with concurrency).
Needs deeper investigation.
Here is a stacktrace from one of the failed tests:
ensureNoThreadLocalLeakOnInjectionPoints(org.jboss.weld.tests.unit.threadlocal.ThreadLocalTestCase) Time elapsed: 0.006 sec <<< FAILURE! java.util.ConcurrentModificationException: null at java.util.HashMap.computeIfAbsent(java.base@9-ea/HashMap.java:1138) at org.jboss.weld.util.collections.AbstractMultimap.get(AbstractMultimap.java:79) at org.jboss.weld.util.collections.Multimaps$UnmodifiableMultimap.get(Multimaps.java:92) at org.jboss.weld.annotated.enhanced.jlr.EnhancedAnnotatedTypeImpl.getDeclaredMetaAnnotations(EnhancedAnnotatedTypeImpl.java:678) at org.jboss.weld.annotated.enhanced.jlr.EnhancedAnnotatedTypeImpl.getDeclaredMetaAnnotations(EnhancedAnnotatedTypeImpl.java:74) at org.jboss.weld.bean.attributes.BeanAttributesFactory$BeanAttributesBuilder.initScope(BeanAttributesFactory.java:188) at org.jboss.weld.bean.attributes.BeanAttributesFactory$BeanAttributesBuilder.<init>(BeanAttributesFactory.java:95) at org.jboss.weld.bean.attributes.BeanAttributesFactory$BeanAttributesBuilder.<init>(BeanAttributesFactory.java:100) at org.jboss.weld.bean.attributes.BeanAttributesFactory.forBean(BeanAttributesFactory.java:65) at org.jboss.weld.bootstrap.AbstractBeanDeployer.createManagedBean(AbstractBeanDeployer.java:267) at org.jboss.weld.bootstrap.BeanDeployer.createClassBean(BeanDeployer.java:219) at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:68) at org.jboss.weld.bootstrap.ConcurrentBeanDeployer$2.doWork(ConcurrentBeanDeployer.java:65) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:62) at org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:55) at java.util.concurrent.FutureTask.run(java.base@9-ea/FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(java.base@9-ea/ThreadPoolExecutor.java:1158) at java.util.concurrent.ThreadPoolExecutor$Worker.run(java.base@9-ea/ThreadPoolExecutor.java:632) at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
- is related to
-
WELD-2156 EnhancedAnnotatedTypeImpl is not immutable
- Resolved