Hi Kristian, CI produced the following error several times now:
See <http://grid.sonatype.org/ci/job/maven-3.0.x-bootstrap/./jdk=1.5,label=windows/957/> [java] Running org.apache.maven.model.interpolation.StringSearchModelInterpolatorTest [java] Tests run: 27, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.72 sec <<< FAILURE! [java] testConcurrentInterpolation(org.apache.maven.model.interpolation.StringSearchModelInterpolatorTest) Time elapsed: 0.194 sec <<< ERROR! [java] java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException [java] at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205) [java] at java.util.concurrent.FutureTask.get(FutureTask.java:80) [java] at org.apache.maven.model.interpolation.StringSearchModelInterpolatorTest.testConcurrentInterpolation(StringSearchModelInterpolatorTest.java:402) [java] Caused by: java.lang.ArrayIndexOutOfBoundsException [java] at java.lang.System.arraycopy(Native Method) [java] at java.util.ArrayList.toArray(ArrayList.java:304) [java] at java.util.ArrayList.<init>(ArrayList.java:136) [java] at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.traverseObjectWithParents(StringSearchModelInterpolator.java:169) [java] at org.apache.maven.model.interpolation.StringSearchModelInterpolator$InterpolateObjectAction.run(StringSearchModelInterpolator.java:117) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at org.apache.maven.model.interpolation.StringSearchModelInterpolator.interpolateObject(StringSearchModelInterpolator.java:71) [java] at org.apache.maven.model.interpolation.StringSearchModelInterpolatorTest$1.call(StringSearchModelInterpolatorTest.java:392) [java] at org.apache.maven.model.interpolation.StringSearchModelInterpolatorTest$1.call(StringSearchModelInterpolatorTest.java:389) [java] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) [java] at java.util.concurrent.FutureTask.run(FutureTask.java:123) [java] at java.lang.Thread.run(Thread.java:595)
before we extend the amount of synchronization, I would like to understand the motivation for this test. testConcurrentInterpolation runs the interpolator concurrently on the same model and spontaneously I failed to see how this usage pattern maps to any real code paths inside Maven. Can you elaborate more on the scenario you wanted to capture with this test?
Benjamin --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org