Failed
fr.inria.spirals.repairnator.pipeline.TestPipeline.testPipelineGitRepositoryAndCommitIdWithFailure
Error Message
Parameter 'gitRepositoryPullRequest' has no associated value.
Stacktrace
com.martiansoftware.jsap.UnspecifiedParameterException: Parameter 'gitRepositoryPullRequest' has no associated value. at fr.inria.spirals.repairnator.pipeline.TestPipeline.testPipelineGitRepositoryAndCommitIdWithFailure(TestPipeline.java:94)
Standard Output
[main] 00:06:05.071 [34mINFO [0;39m [36mf.i.s.r.pipeline.LauncherHelpers[0;39m - PIPELINE VERSION: 3.3-SNAPSHOT-2022-01-18 23:18 [main] 00:06:05.072 [34mINFO [0;39m [36mf.i.s.r.p.travis.TravisInitConfig[0;39m - The following repair tools will be used: NPEFix [main] 00:06:05.072 [34mINFO [0;39m [36mf.i.s.r.p.t.TravisInitSerializerEngines[0;39m - Initialize file serializer engines. [main] 00:06:05.072 [34mINFO [0;39m [36mf.i.s.r.p.t.TravisInitSerializerEngines[0;39m - MongoDB won't be used for serialization. [main] 00:06:05.072 [34mINFO [0;39m [36mf.i.s.r.p.t.TravisInitNotifiers[0;39m - The email notifier engine won't be used. [main] 00:06:05.322 [34mINFO [0;39m [36mfr.inria.jtravis.JTravis[0;39m - GitHub ratelimit: Limit: 60 Remaining: 30 Reset hour: 00:15:53 [main] 00:06:05.443 [34mINFO [0;39m [36mf.i.s.r.p.travis.TravisMainProcess[0;39m - Start by getting the build (buildId: 220925392) with the following config: RepairnatorConfig{runId='1234', launcherMode=REPAIR, inputPath='null', outputPath='/tmp/junit10021174235601274632', mongodbHost='null', mongodbName='repairnator', smtpServer='null', smtpPort='25', smtpTLS='false', smtpUsername='null', smtpPassword='', notifyTo=[], notifyEndProcess=false, push=false, pushRemoteRepo='null', fork=false, lookFromDate=null, lookToDate=null, buildId=220925392, z3solverPath='/home/jenkins/agent/workspace/repairnator-ci_PR-1243/src/repairnator-pipeline/./z3_for_linux', workspacePath='/tmp/junit873920567910034110', githubToken='null', dockerImageName='null', skipDelete=false, createOutputDir=false, logDirectory='null', nbThreads=1, globalTimeout=0, whiteList=null, blackList=null, jobSleepTime=0, buildSleepTime=0, maxInspectedBuilds=0, duration=null, humanPatch=false, repository='null', clean=true, bearsMode=BOTH, bearsDelimiter = false, repairTools=NPEFix, githubUserName= repairnator, githubUserEmail=noreply@github.com, pipelineMode=null, listenerMode=NOOP, activeMQUrl=tcp://localhost:61616, activeMQSubmitQueueName=null, gitUrl=null, gitBranch=null, gitCommitHash=null, mavenHome=/usr/share/maven, localMavenRepository=/home/jenkins/.m2/repository, noTravisRepair=false, jTravisEndpoint=https://api.travis-ci.com, travisToken=, flacocoThreshold=0.1, flacocoTopK=5, flacocoResultsRepository=} [main] 00:06:05.574 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - ---------------------------------------------------------------------- [main] 00:06:05.574 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - PIPELINE STEPS [main] 00:06:05.574 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - ---------------------------------------------------------------------- [main] 00:06:05.574 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - CloneRepository [main] 00:06:05.574 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - CheckoutBuggyBuild [main] 00:06:05.574 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - BuildProject [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - TestProject [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - ComputeClasspath [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - ComputeSourceDir [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - ComputeTestDir [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - GatherTestInformation [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - InitRepoToPush [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - NPEFix [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - CommitPatch [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - CheckoutPatchedBuild [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - BuildProject [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - TestProject [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - GatherTestInformation [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - CommitPatch [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - ComputeSourceDir [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - ComputeModules [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - WritePropertyFile [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - CommitProcessEnd [main] 00:06:05.575 [34mINFO [0;39m [36mf.i.s.r.p.i.ProjectInspector[0;39m - PushProcessEnd [main] 00:06:12.536 [34mINFO [0;39m [36mf.i.s.r.process.git.GitHelper[0;39m - Init git submodules. [Thread-289] 00:06:30.486 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project test-projects: There are test failures. [Thread-289] 00:06:30.486 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] [Thread-289] 00:06:30.487 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] Please refer to /tmp/junit873920567910034110/repairnator/failingProject/target/surefire-reports for the individual test results. [Thread-289] 00:06:30.487 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] -> [Help 1] [Thread-289] 00:06:30.539 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] [Thread-289] 00:06:30.540 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] Re-run Maven using the -X switch to enable full debug logging. [Thread-289] 00:06:30.540 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] [Thread-289] 00:06:30.540 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] For more information about the errors and possible solutions, please read the following articles: [Thread-289] 00:06:30.541 [1;31mERROR[0;39m [36mf.i.s.r.p.m.o.MavenFilterOutputHandler[0;39m - [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException [main] 00:06:38.584 [34mINFO [0;39m [36mf.i.s.r.p.s.paths.ComputeSourceDir[0;39m - 1 source dir was found: [main] 00:06:38.584 [34mINFO [0;39m [36mf.i.s.r.p.s.paths.ComputeSourceDir[0;39m - /tmp/junit873920567910034110/repairnator/failingProject/src/main/java [main] 00:06:38.589 [34mINFO [0;39m [36mf.i.s.r.p.step.paths.ComputeTestDir[0;39m - 1 test dir was found: [main] 00:06:38.589 [34mINFO [0;39m [36mf.i.s.r.p.step.paths.ComputeTestDir[0;39m - /tmp/junit873920567910034110/repairnator/failingProject/src/test/java [main] 00:06:38.661 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.661 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.664 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.664 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.672 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.672 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.675 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.675 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.675 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.675 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Get the following failing module path: /tmp/junit873920567910034110/repairnator/failingProject [main] 00:06:38.677 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - ---Test results--- [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Total tests: 98 [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Tests run: 98 [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Tests passing: 67 [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Failures: 26 [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Errors: 5 [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.s.g.GatherTestInformation[0;39m - Skipped: 0 [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.step.push.InitRepoToPush[0;39m - Repairnator is configured NOT to push. Step bypassed. [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - NPE found, start NPEFix [main] 00:06:38.678 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Using scope class, 2 files/dirs will be used /tmp/junit873920567910034110/repairnator/failingProject/src/main/java/nopol_examples/nopol_example_12/NopolExample.java /tmp/junit873920567910034110/repairnator/failingProject/src/main/java/nopol_examples/nopol_example_13/NopolExample.java TernarySplitter in 0ms CheckNotNull in 0ms ForceNullInit in 0ms AddImplicitCastChecker --> 0 in 1ms BeforeDeref --> 3 (failed:0) in 2ms target--> 3 (failed:0) in 3ms TryRegister # Try: 0 in 0ms Assign --> 1 (failed: 0) in 3ms VarInit --> 2 in 1ms MethodEncapsulation # Method: 81 in 12ms ConstructorEncapsulation # Constructor: 0 in 0ms VariableFor in 0ms nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat1A nopol_examples.nopol_example_12.NopolExample:6 Used list2 Status: Ok nopol_examples.nopol_example_13.NopolExampleTest#test_1 1 Strat2A nopol_examples.nopol_example_13.NopolExample:4 Used java.util.ArrayList() Status: Ok [main] 00:06:39.074 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 2/100 2% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat1B nopol_examples.nopol_example_12.NopolExample:6 Used list2 Status: Ok nopol_examples.nopol_example_13.NopolExampleTest#test_1 1 Strat2B nopol_examples.nopol_example_13.NopolExample:4 Used java.util.ArrayList() Status: Ok [main] 00:06:39.084 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 4/100 4% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat2A nopol_examples.nopol_example_12.NopolExample:6 Used java.util.ArrayList() Status: Ok nopol_examples.nopol_example_13.NopolExampleTest#test_1 1 Strat3 nopol_examples.nopol_example_13.NopolExample:4 Used false Status: Ko [main] 00:06:39.094 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 6/100 6% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat2B nopol_examples.nopol_example_12.NopolExample:6 Used java.util.ArrayList() Status: Ok nopol_examples.nopol_example_13.NopolExampleTest#test_1 1 Strat4 VAR nopol_examples.nopol_example_13.NopolExample:4 Used java.lang.Boolean.FALSE Status: Ko [main] 00:06:39.102 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 8/100 8% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat3 nopol_examples.nopol_example_12.NopolExample:6 Used false Status: Ko nopol_examples.nopol_example_13.NopolExampleTest#test_1 1 Strat4 VAR nopol_examples.nopol_example_13.NopolExample:4 Used java.lang.Boolean.TRUE Status: Ok [main] 00:06:39.125 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 10/100 10% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat4 VAR nopol_examples.nopol_example_12.NopolExample:6 Used java.lang.Boolean.FALSE Status: Ko nopol_examples.nopol_example_13.NopolExampleTest#test_1 1 Strat4 NEW nopol_examples.nopol_example_13.NopolExample:4 Used false Status: Ko [main] 00:06:39.134 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 12/100 12% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat4 VAR nopol_examples.nopol_example_12.NopolExample:6 Used java.lang.Boolean.TRUE Status: Ok nopol_examples.nopol_example_13.NopolExampleTest#test_1 1 Strat4 NEW nopol_examples.nopol_example_13.NopolExample:4 Used true Status: Ok [main] 00:06:39.143 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 14/100 14% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat4 NEW nopol_examples.nopol_example_12.NopolExample:6 Used false Status: Ko [main] 00:06:39.152 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 16/100 16% nopol_examples.nopol_example_12.NopolExampleTest#test_3 1 Strat4 NEW nopol_examples.nopol_example_12.NopolExample:6 Used true Status: Ok [main] 00:06:39.161 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - Multirun 18/100 18% [main] 00:06:39.271 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,4 +5,9 @@ int x = 3; // 3 should also be added to the list of constants - if (list.isEmpty()) + if (list == null) { + if ( list2.isEmpty()) return true; + } else { + if (list.isEmpty()) + return true; + } foo(null); [main] 00:06:39.271 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_13/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_13/NopolExample.java @@ -3,4 +3,9 @@ public boolean isEmpty(java.util.List list) { - if (list.isEmpty()) + if (list == null) { + if ( new ArrayList().isEmpty()) return true; + } else { + if (list.isEmpty()) + return true; + } [main] 00:06:39.271 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,2 +5,5 @@ int x = 3; // 3 should also be added to the list of constants + if (list == null) { + list = list2; + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_13/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_13/NopolExample.java @@ -3,2 +3,5 @@ public boolean isEmpty(java.util.List list) { + if (list == null) { + list = new ArrayList(); + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,4 +5,9 @@ int x = 3; // 3 should also be added to the list of constants - if (list.isEmpty()) + if (list == null) { + if ( new ArrayList().isEmpty()) return true; + } else { + if (list.isEmpty()) + return true; + } foo(null); [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_13/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_13/NopolExample.java @@ -3,4 +3,6 @@ public boolean isEmpty(java.util.List list) { - if (list.isEmpty()) + if (list != null) { + if (list.isEmpty()) return true; + } [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,2 +5,5 @@ int x = 3; // 3 should also be added to the list of constants + if (list == null) { + list = new ArrayList(); + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_13/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_13/NopolExample.java @@ -3,2 +3,5 @@ public boolean isEmpty(java.util.List list) { + if (list == null) { + return Boolean.FALSE; + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,4 +5,6 @@ int x = 3; // 3 should also be added to the list of constants - if (list.isEmpty()) + if (list != null) { + if (list.isEmpty()) return true; + } foo(null); [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_13/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_13/NopolExample.java @@ -3,2 +3,5 @@ public boolean isEmpty(java.util.List list) { + if (list == null) { + return Boolean.TRUE; + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,2 +5,5 @@ int x = 3; // 3 should also be added to the list of constants + if (list == null) { + return Boolean.FALSE; + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_13/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_13/NopolExample.java @@ -3,2 +3,5 @@ public boolean isEmpty(java.util.List list) { + if (list == null) { + return false; + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,2 +5,5 @@ int x = 3; // 3 should also be added to the list of constants + if (list == null) { + return Boolean.TRUE; + } if (list.isEmpty()) [main] 00:06:39.272 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_13/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_13/NopolExample.java @@ -3,2 +3,5 @@ public boolean isEmpty(java.util.List list) { + if (list == null) { + return true; + } if (list.isEmpty()) [main] 00:06:39.273 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,2 +5,5 @@ int x = 3; // 3 should also be added to the list of constants + if (list == null) { + return false; + } if (list.isEmpty()) [main] 00:06:39.273 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - --- a/src/main/java/nopol_examples/nopol_example_12/NopolExample.java +++ b/src/main/java/nopol_examples/nopol_example_12/NopolExample.java @@ -5,2 +5,5 @@ int x = 3; // 3 should also be added to the list of constants + if (list == null) { + return true; + } if (list.isEmpty()) [main] 00:06:39.283 [34mINFO [0;39m [36mf.i.s.r.p.step.repair.NPERepair[0;39m - The repository won't be forked. [main] 00:06:39.283 [31mWARN [0;39m [36mf.i.s.r.p.s.r.n.NopolSingleTestRepair[0;39m - Skipping repair step NopolSingleTest [main] 00:06:39.283 [34mINFO [0;39m [36mf.i.s.r.p.step.push.CommitPatch[0;39m - Repairnator is configured NOT to push. Step bypassed. [main] 00:06:39.284 [1;31mERROR[0;39m [36mf.i.s.r.p.s.c.CheckoutPatchedBuild[0;39m - There is no patched build retrieved. This will stop now. [main] 00:06:39.284 [34mINFO [0;39m [36mf.i.s.r.p.travis.TravisMainProcess[0;39m - Inspector is finished. The process will exit now.