On Mar 6, 9:18 am, Esko Luontola <[email protected]> wrote: > I had the following exception today once when running the tests in my > project. I'm suspecting that it is caused by a concurrency bug in > Guice (the line InjectorImpl.java:673 is the for loop statement - > apparenty the list 'injectorsForClass' was null). The test where that > exception happened (EntityRepositorySpec > $WhenAnEntityIsOnlyReadAndNotModified.theEntityIsNotUpdatedAndThusCanBeReadConcurrentlyInManyTasks > ()) has two threads running in parallel, and that exception caused the > test to deadlock.
Please upgrade to the Guice 2 prerelease snapshot, which fixes this problem. http://groups.google.com/group/google-guice/browse_thread/thread/a14e965d95ea862b/92bb280d2d7c9e71?lnk=gst&q=snapshot20090205#92bb280d2d7c9e71 I'm really trying to get Guice 2 final out the door.... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-guice?hl=en -~----------~----~----~----~------~----~------~--~---
