Skip to content

Failed

fr.inria.lille.repair.nopol.NopolTest.preconditionThenConditional

Failing for the past 47 builds (Since Failed #2339 )
Took 27 ms.

Error Message

Unrecognized option : -1.7

Stacktrace

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.nopol.NoPol.<init>(NoPol.java:108)
	at fr.inria.lille.repair.TestUtility.patchFor(TestUtility.java:68)
	at fr.inria.lille.repair.TestUtility.setupAndRun(TestUtility.java:84)
	at fr.inria.lille.repair.nopol.NopolTest.preconditionThenConditional(NopolTest.java:165)

Standard Output

[15796] INFO NoPol - Source files: [../test-projects/src/main/java/nopol_examples/nopol_example_1]
[15797] INFO NoPol - Classpath: [file:/builds/workspace/nopol/nopol/../test-projects/target/test-classes/, file:/builds/workspace/nopol/nopol/../test-projects/target/classes/, file:/builds/workspace/nopol/nopol/lib/junit-4.11.jar]
[15797] INFO NoPol - Statement type: PRE_THEN_COND
[15797] INFO NoPol - Args: [nopol_examples.nopol_example_1.NopolExampleTest]
[15797] INFO NoPol - Config: Config{synthesisDepth=3, collectStaticMethods=true, collectStaticFields=false, collectLiterals=false, onlyOneSynthesisResult=true, sortExpressions=true, maxLineInvocationPerTest=250, timeoutMethodInvocation=2000, dataCollectionTimeoutInSecondForSynthesis=900, addWeight=0.19478, subWeight=0.04554, mulWeight=0.0102, divWeight=0.00613, andWeight=0.10597, orWeight=0.05708, eqWeight=0.22798, nEqWeight=0.0, lessEqWeight=0.0255, lessWeight=0.0947, methodCallWeight=0.1, fieldAccessWeight=0.08099, constantWeight=0.14232, variableWeight=0.05195, mode=REPAIR, type=PRE_THEN_COND, synthesis=SMT, oracle=ANGELIC, solver=Z3, solverPath='null', projectSources=[../test-projects/src/main/java/nopol_examples/nopol_example_1], projectClasspath='[Ljava.net.URL;@114b2414', projectTests=[nopol_examples.nopol_example_1.NopolExampleTest], complianceLevel=7, outputFolder=./, json=false}
[15797] INFO NoPol - Available processors (cores): 1
[15797] INFO NoPol - Free memory: 1 GB
[15797] INFO NoPol - Maximum memory: 1 GB
[15797] INFO NoPol - Total memory available to JVM: 1 GB
[15797] INFO NoPol - Java version: null
[15797] INFO NoPol - JAVA_HOME: /usr/lib/jvm/java-17-openjdk-amd64/
[15797] INFO NoPol - PATH: /usr/lib/jvm/java-17-openjdk-amd64//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin