Failed
fr.inria.lille.repair.synthesis.DynamothCodeGenesisTest.test12
Failing for the past 47 builds
(Since Failed
)
Error Message
Index 0 out of bounds for length 0
Stacktrace
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) at java.base/java.util.Objects.checkIndex(Objects.java:361) at java.base/java.util.ArrayList.get(ArrayList.java:427) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.printSummary(DynamothCodeGenesisImpl.java:590) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.combineValues(DynamothCodeGenesisImpl.java:546) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.run(DynamothCodeGenesisImpl.java:154) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisTest.createSynthesizer(DynamothCodeGenesisTest.java:239) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisTest.test12(DynamothCodeGenesisTest.java:178)
Standard Output
java -cp /builds/workspace/nopol/nopol/../test-projects/target/test-classes:/builds/workspace/nopol/nopol/../test-projects/target/classes:/builds/workspace/nopol/nopol/lib/junit-4.11.jar:/builds/workspace/nopol/nopol/target/test-classes:/builds/workspace/nopol/nopol/target/classes:/builds/.m2/repository/com/github/spoonlabs/flacoco/1.0.5/flacoco-1.0.5.jar:/builds/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.3.2/junit-jupiter-api-5.3.2.jar:/builds/.m2/repository/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar:/builds/.m2/repository/org/opentest4j/opentest4j/1.1.1/opentest4j-1.1.1.jar:/builds/.m2/repository/org/junit/platform/junit-platform-commons/1.3.2/junit-platform-commons-1.3.2.jar:/builds/.m2/repository/org/junit/jupiter/junit-jupiter-engine/5.3.2/junit-jupiter-engine-5.3.2.jar:/builds/.m2/repository/org/junit/platform/junit-platform-engine/1.3.2/junit-platform-engine-1.3.2.jar:/builds/.m2/repository/org/junit/platform/junit-platform-launcher/1.3.2/junit-platform-launcher-1.3.2.jar:/builds/.m2/repository/org/junit/jupiter/junit-jupiter-params/5.3.2/junit-jupiter-params-5.3.2.jar:/builds/.m2/repository/eu/stamp-project/test-runner/4.11/test-runner-4.11.jar:/builds/.m2/repository/eu/stamp-project/descartes/1.2.4/descartes-1.2.4.jar:/builds/.m2/repository/org/pitest/pitest-entry/1.6.7/pitest-entry-1.6.7.jar:/builds/.m2/repository/org/pitest/pitest/1.6.7/pitest-1.6.7.jar:/builds/.m2/repository/org/jacoco/org.jacoco.core/0.8.8/org.jacoco.core-0.8.8.jar:/builds/.m2/repository/org/ow2/asm/asm/9.2/asm-9.2.jar:/builds/.m2/repository/org/ow2/asm/asm-commons/9.2/asm-commons-9.2.jar:/builds/.m2/repository/org/ow2/asm/asm-analysis/9.2/asm-analysis-9.2.jar:/builds/.m2/repository/org/ow2/asm/asm-tree/9.2/asm-tree-9.2.jar:/builds/.m2/repository/org/jacoco/org.jacoco.agent/0.8.8/org.jacoco.agent-0.8.8-runtime.jar:/builds/.m2/repository/org/slf4j/slf4j-log4j12/1.7.25/slf4j-log4j12-1.7.25.jar:/builds/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/builds/.m2/repository/org/pitest/pitest-junit5-plugin/0.8/pitest-junit5-plugin-0.8.jar:/builds/.m2/repository/org/apache/logging/log4j/log4j-core/2.17.2/log4j-core-2.17.2.jar:/builds/.m2/repository/org/apache/logging/log4j/log4j-api/2.17.2/log4j-api-2.17.2.jar:/builds/.m2/repository/org/apache/logging/log4j/log4j-jcl/2.17.2/log4j-jcl-2.17.2.jar:/builds/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/builds/.m2/repository/info/picocli/picocli/4.6.3/picocli-4.6.3.jar:/builds/.m2/repository/com/google/code/gson/gson/2.9.0/gson-2.9.0.jar:/builds/.m2/repository/net/sf/supercsv/super-csv/2.4.0/super-csv-2.4.0.jar:/builds/.m2/repository/com/github/stefanbirkner/system-lambda/1.2.1/system-lambda-1.2.1.jar:/builds/.m2/repository/org/apache/maven/surefire/maven-surefire-common/3.0.0-M5/maven-surefire-common-3.0.0-M5.jar:/builds/.m2/repository/org/apache/maven/surefire/surefire-api/3.0.0-M5/surefire-api-3.0.0-M5.jar:/builds/.m2/repository/org/apache/maven/surefire/surefire-logger-api/3.0.0-M5/surefire-logger-api-3.0.0-M5.jar:/builds/.m2/repository/org/apache/maven/surefire/surefire-extensions-api/3.0.0-M5/surefire-extensions-api-3.0.0-M5.jar:/builds/.m2/repository/org/apache/maven/surefire/surefire-booter/3.0.0-M5/surefire-booter-3.0.0-M5.jar:/builds/.m2/repository/org/apache/maven/surefire/surefire-extensions-spi/3.0.0-M5/surefire-extensions-spi-3.0.0-M5.jar:/builds/.m2/repository/org/apache/maven/maven-toolchain/3.0-alpha-2/maven-toolchain-3.0-alpha-2.jar:/builds/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/0.11.0/maven-artifact-transfer-0.11.0.jar:/builds/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar:/builds/.m2/repository/org/apache/maven/maven-plugin-api/3.0/maven-plugin-api-3.0.jar:/builds/.m2/repository/org/sonatype/sisu/sisu-inject-plexus/1.4.2/sisu-inject-plexus-1.4.2.jar:/builds/.m2/repository/org/codehaus/plexus/plexus-classworlds/2.2.3/plexus-classworlds-2.2.3.jar:/builds/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar:/builds/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar:/builds/.m2/repository/org/codehaus/plexus/plexus-java/1.0.5/plexus-java-1.0.5.jar:/builds/.m2/repository/com/thoughtworks/qdox/qdox/2.0-M9/qdox-2.0-M9.jar:/builds/.m2/repository/org/apache/maven/surefire/surefire-shared-utils/3.0.0-M4/surefire-shared-utils-3.0.0-M4.jar:/builds/.m2/repository/junit/junit/4.13.2/junit-4.13.2.jar:/builds/.m2/repository/org/reflections/reflections/0.9.9-RC1/reflections-0.9.9-RC1.jar:/builds/.m2/repository/org/javassist/javassist/3.16.1-GA/javassist-3.16.1-GA.jar:/builds/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar:/builds/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar:/builds/.m2/repository/com/google/guava/guava/32.0.0-jre/guava-32.0.0-jre.jar:/builds/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar:/builds/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar:/builds/.m2/repository/org/checkerframework/checker-qual/3.33.0/checker-qual-3.33.0.jar:/builds/.m2/repository/com/google/errorprone/error_prone_annotations/2.18.0/error_prone_annotations-2.18.0.jar:/builds/.m2/repository/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar:/builds/.m2/repository/ch/qos/logback/logback-classic/1.2.13/logback-classic-1.2.13.jar:/builds/.m2/repository/ch/qos/logback/logback-core/1.2.13/logback-core-1.2.13.jar:/builds/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar:/builds/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar:/builds/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/builds/.m2/repository/gov/nasa/jpf/jpf/1154/jpf-1154.jar:/builds/.m2/repository/gov/nasa/jpf/jpf-symbc/576/jpf-symbc-576.jar:/builds/.m2/repository/com/microsoft/z3/z3/0.0.1/z3-0.0.1.jar:/builds/.m2/repository/fr/inria/gforge/spoon/spoon-core/11.1.1-SNAPSHOT/spoon-core-11.1.1-SNAPSHOT.jar:/builds/.m2/repository/org/eclipse/jdt/org.eclipse.jdt.core/3.39.0/org.eclipse.jdt.core-3.39.0.jar:/builds/.m2/repository/org/eclipse/jdt/ecj/3.39.0/ecj-3.39.0.jar:/builds/.m2/repository/com/martiansoftware/jsap/2.1/jsap-2.1.jar:/builds/.m2/repository/commons-io/commons-io/2.18.0/commons-io-2.18.0.jar:/builds/.m2/repository/org/apache/maven/maven-model/3.6.0/maven-model-3.6.0.jar:/builds/.m2/repository/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.jar:/builds/.m2/repository/org/apache/commons/commons-lang3/3.17.0/commons-lang3-3.17.0.jar:/builds/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.18.2/jackson-databind-2.18.2.jar:/builds/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.18.2/jackson-annotations-2.18.2.jar:/builds/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.18.2/jackson-core-2.18.2.jar:/builds/.m2/repository/org/apache/commons/commons-compress/1.27.1/commons-compress-1.27.1.jar:/builds/.m2/repository/commons-codec/commons-codec/1.17.1/commons-codec-1.17.1.jar:/builds/.m2/repository/org/jspecify/jspecify/1.0.0/jspecify-1.0.0.jar:/builds/.m2/repository/org/apache/maven/shared/maven-invoker/3.3.0/maven-invoker-3.3.0.jar:/builds/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.4.2/maven-shared-utils-3.4.2.jar:/builds/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/builds/.m2/repository/org/smtlib/smtlib/0.9.7.1/smtlib-0.9.7.1.jar:/builds/.m2/repository/com/gzoltar/gzoltar/0.1.1/gzoltar-0.1.1.jar:/builds/.m2/repository/commons-cli/commons-cli/1.3/commons-cli-1.3.jar:/builds/.m2/repository/fil/iagl/cocospoon/CocoSpoon/1.0.0-SNAPSHOT/CocoSpoon-1.0.0-SNAPSHOT.jar:/builds/.m2/repository/org/easytesting/fest-assert/1.4/fest-assert-1.4.jar:/builds/.m2/repository/org/easytesting/fest-util/1.1.6/fest-util-1.1.6.jar:/builds/.m2/repository/com/cloudbees/diff4j/1.2/diff4j-1.2.jar:/builds/.m2/repository/org/jvnet/localizer/localizer/1.12/localizer-1.12.jar:/builds/.m2/repository/org/json/json/20231013/json-20231013.jar: fr.inria.lille.repair.MethodTestRunner nopol_examples.nopol_example_12.NopolExampleTest#test_4 nopol_examples.nopol_example_12.NopolExampleTest#test_3 nopol_examples.nopol_example_12.NopolExampleTest#test_2 nopol_examples.nopol_example_12.NopolExampleTest#test_1 [11016] WARN DynamothCodeGenesisImpl - Unable to spoon the project java.lang.IllegalArgumentException: Unrecognized option : -1.7 at org.eclipse.jdt.internal.compiler.batch.Main.configure(Main.java:2860) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.buildUnits(JDTBasedSpoonCompiler.java:440) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.buildUnitsAndModel(JDTBasedSpoonCompiler.java:386) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.buildSources(JDTBasedSpoonCompiler.java:347) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:118) at spoon.support.compiler.jdt.JDTBasedSpoonCompiler.build(JDTBasedSpoonCompiler.java:101) at fr.inria.lille.commons.spoon.util.SpoonModelLibrary.modelFor(SpoonModelLibrary.java:53) at fr.inria.lille.commons.spoon.SpoonedFile.<init>(SpoonedFile.java:60) at fr.inria.lille.commons.spoon.SpoonedProject.<init>(SpoonedProject.java:17) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.initSpoon(DynamothCodeGenesisImpl.java:337) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.processClassPrepareEvent(DynamothCodeGenesisImpl.java:202) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.processVMEvents(DynamothCodeGenesisImpl.java:176) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.run(DynamothCodeGenesisImpl.java:148) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisTest.createSynthesizer(DynamothCodeGenesisTest.java:239) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisTest.test12(DynamothCodeGenesisTest.java:178) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95) [11041] INFO DynamothCodeGenesisImpl - [test] nopol_examples.nopol_example_12.NopolExampleTest#test_4 iteration 0
Standard Error
java.lang.NullPointerException: Cannot invoke "fr.inria.lille.repair.synthesis.collect.SpoonElementsCollector.collect(com.sun.jdi.ThreadReference)" because "this.spoonElementsCollector" is null at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.processBreakPointEvents(DynamothCodeGenesisImpl.java:281) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.processVMEvents(DynamothCodeGenesisImpl.java:179) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisImpl.run(DynamothCodeGenesisImpl.java:148) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisTest.createSynthesizer(DynamothCodeGenesisTest.java:239) at fr.inria.lille.repair.synthesis.DynamothCodeGenesisTest.test12(DynamothCodeGenesisTest.java:178) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.BlockJUnit4ClassRunner$1.evaluate(BlockJUnit4ClassRunner.java:100) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:366) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:103) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:63) at org.junit.runners.ParentRunner$4.run(ParentRunner.java:331) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:79) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:329) at org.junit.runners.ParentRunner.access$100(ParentRunner.java:66) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:293) at org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306) at org.junit.runners.ParentRunner.run(ParentRunner.java:413) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray2(ReflectionUtils.java:208) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:159) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:87) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:95)