
http://bugzilla.slf4j.org/show_bug.cgi?id=175 Summary: Race Condition in SubstituteLoggerFactory Product: SLF4J Version: 1.5.x Platform: PC OS/Version: Windows XP Status: NEW Severity: major Priority: P1 Component: Core API AssignedTo: slf4j-dev@qos.ch ReportedBy: rimovm@centercomp.com Here's the relevant snippet from a test case: java.lang.ArrayIndexOutOfBoundsException: 10 at java.util.ArrayList.add(ArrayList.java:352) at org.slf4j.helpers.SubstituteLoggerFactory.getLogger(SubstituteLoggerFactory.java:59) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:249) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261) at org.picocontainer.gems.monitors.Slf4jComponentMonitor.getLogger(Slf4jComponentMonitor.java:285) at org.picocontainer.gems.monitors.Slf4jComponentMonitor.instantiating(Slf4jComponentMonitor.java:161) SubstituteLoggerFactory doesn't lock provide synchronization sharing the loggerNameList. Thanks, -Mike (R) -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.