gautamaino / gwteventservice

Automatically exported from code.google.com/p/gwteventservice
Other
0 stars 0 forks source link

java.util.ConcurrentModificationException at *.EventServiceConfigurationFactory.loadEventServiceConfiguration(EventServiceConfigurationFactory.java:110) #55

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use default configuration (no config files are added to classpath)
2. Just two lines can be executed at server side code (not from servlet):
EventExecutorServiceFactory eventExecutorServiceFactory = 
EventExecutorServiceFactory.getInstance();
EventExecutorService executor = 
eventExecutorServiceFactory.getEventExecutorService(userSessionId);

Where userSessionId is a string with user's session id.

What is the expected output? What do you see instead?

Event should be pushed to client, but an exception raised instead:
Caused by: java.util.ConcurrentModificationException
 at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
 at java.util.AbstractList$Itr.next(AbstractList.java:343)
 at de.novanic.eventservice.config.EventServiceConfigurationFactory.loadEventServiceConfiguration(EventServiceConfigurationFactory.java:110)

What version of the product are you using? On what operating system?
1.2.0, Windows 7, JDK 1.6.0_37

Please provide any additional information below.

Original issue reported on code.google.com by andrey.d...@gmail.com on 14 Nov 2012 at 1:39

GoogleCodeExporter commented 8 years ago
Bug was found only while deployed on glassfish 3.1.2. Worked on GAE

Original comment by andrey.d...@gmail.com on 14 Nov 2012 at 1:41

GoogleCodeExporter commented 8 years ago
Fixed in the trunk version (1.3 ; SVN-Revision 733).

@Andrey: Could you please verify if the fix is working within your GlassFish 
environment?

Original comment by sven.strohschein@googlemail.com on 24 Nov 2012 at 2:22