matthiasblaesing commented on PR #9818:
URL: https://github.com/apache/netbeans/pull/9818#issuecomment-7061048471
Another run then showed the problem after 29 rounds:
```
------------- Standard Output ---------------
Iteration: 0
Iteration: 1
Iteration: 2
Iteration: 3
Iteration: 4
Iteration: 5
Iteration: 6
Iteration: 7
Iteration: 8
Iteration: 9
Iteration: 10
Iteration: 11
Iteration: 12
Iteration: 13
Iteration: 14
Iteration: 15
Iteration: 16
Iteration: 17
Iteration: 18
Iteration: 19
Iteration: 20
Iteration: 21
Iteration: 22
Iteration: 23
Iteration: 24
Iteration: 25
Iteration: 26
Iteration: 27
Iteration: 28
Iteration: 29
------------- ---------------- ---------------
------------- Standard Error -----------------
Working directory:
/home/matthias/src/netbeans/java/refactoring.java/build/test/unit/work/o.n.m.r.j.t.R/rwb
------------- ---------------- ---------------
Testcase:
testReplaceWithBuilder(org.netbeans.modules.refactoring.java.test.ReplaceConstructorWithBuilderTest):
Caused an ERROR
null
java.util.ConcurrentModificationException
at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1606)
at java.base/java.util.HashMap$ValueIterator.next(HashMap.java:1634)
at
org.netbeans.modules.refactoring.spi.impl.UndoableWrapper.close(UndoableWrapper.java:86)
at
org.netbeans.modules.refactoring.api.RefactoringSession.reallyDoRefactoring(RefactoringSession.java:153)
at
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:97)
at
org.netbeans.modules.refactoring.api.RefactoringSession$1.run(RefactoringSession.java:95)
at
org.netbeans.modules.editor.lib.BeforeSaveTasks.runWithOnSaveTasksDisabled(BeforeSaveTasks.java:68)
at
org.netbeans.editor.Utilities.runWithOnSaveTasksDisabled(Utilities.java:1678)
at
org.netbeans.modules.refactoring.api.RefactoringSession.doRefactoring(RefactoringSession.java:95)
at
org.netbeans.modules.refactoring.java.test.ReplaceConstructorWithBuilderTest.performTest(ReplaceConstructorWithBuilderTest.java:246)
at
org.netbeans.modules.refactoring.java.test.ReplaceConstructorWithBuilderTest.testReplaceWithBuilder(ReplaceConstructorWithBuilderTest.java:91)
at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at org.netbeans.junit.NbTestCase.access$200(NbTestCase.java:84)
at org.netbeans.junit.NbTestCase$2.doSomething(NbTestCase.java:489)
at org.netbeans.junit.NbTestCase$1Guard.run(NbTestCase.java:410)
at java.base/java.lang.Thread.run(Thread.java:1474)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists