You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Kristian Rosenvold <kr...@gmail.com> on 2010/03/01 10:23:41 UTC

Re: Build failed in Hudson: maven-3.0.x-bootstrap» 1.5,windows #957

I see that the test is failing due to the /contents/ of the model in the
test-case, for which there should be no use-case. I will adjust this
test

Kristian


sø., 28.02.2010 kl. 22.18 +0100, skrev Benjamin Bentmann:
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org