java.util.ConcurrentModificationException in RubyThreadGroup.list()
-------------------------------------------------------------------

                 Key: JRUBY-1431
                 URL: http://jira.codehaus.org/browse/JRUBY-1431
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
         Environment: rev 4585
            Reporter: Alexey Verkhovsky


While running Petstore shootout, I sometimes get the following error:

Exception in thread "Ruby Thread24493807" 
java.util.ConcurrentModificationException
        at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
        at java.util.HashMap$ValueIterator.next(HashMap.java:821)
        at java.util.AbstractCollection.toArray(AbstractCollection.java:171)
        at org.jruby.RubyThreadGroup.list(RubyThreadGroup.java:111)
        at org.jruby.RubyThreadGroupInvoker$list_method_0_0.call(Unknown Source)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:140)
        at 
org.jruby.runtime.CallAdapter$DefaultCallAdapter.call(CallAdapter.java:107)
        at org.jruby.evaluator.ASTInterpreter.callNode(ASTInterpreter.java:561)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:208)
        at org.jruby.evaluator.ASTInterpreter.dAsgnNode(ASTInterpreter.java:759)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:228)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at 
org.jruby.evaluator.ASTInterpreter.rescueNode(ASTInterpreter.java:1412)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:351)
        at 
org.jruby.evaluator.ASTInterpreter.whileNode(ASTInterpreter.java:1668)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:388)
        at org.jruby.evaluator.ASTInterpreter.blockNode(ASTInterpreter.java:535)
        at 
org.jruby.evaluator.ASTInterpreter.evalInternal(ASTInterpreter.java:202)
        at org.jruby.evaluator.ASTInterpreter.eval(ASTInterpreter.java:165)
        at org.jruby.runtime.Block.yield(Block.java:235)
        at org.jruby.runtime.Block.call(Block.java:188)
        at org.jruby.RubyProc.call(RubyProc.java:197)
        at org.jruby.RubyProc.call(RubyProc.java:171)
        at 
org.jruby.internal.runtime.RubyNativeThread.run(RubyNativeThread.java:73)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to