Skip to content

Console Output

Started by timer
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on sos-builder01 (lin) in workspace /builds/workspace/npefix
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[WS-CLEANUP] Done
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/Spirals-Team/npefix.git
 > git init /builds/workspace/npefix # timeout=10
Fetching upstream changes from https://github.com/Spirals-Team/npefix.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/Spirals-Team/npefix.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/Spirals-Team/npefix.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://github.com/Spirals-Team/npefix.git # timeout=10
Fetching upstream changes from https://github.com/Spirals-Team/npefix.git
 > git fetch --tags --progress https://github.com/Spirals-Team/npefix.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 # timeout=10
Commit message: "Update README.md"
 > git rev-list --no-walk 80cfc38d4c3d5244c1a74c86e285193bb2670ea6 # timeout=10
[npefix] $ /bin/sh -xe /tmp/jenkins6588372258047888965.sh
+ rm -rf /builds/.m2/repository/fr/inria/gforge/spoon
[npefix] $ /bin/sh -xe /tmp/jenkins8429694837173712811.sh
+ mvn versions:use-latest-versions -DallowSnapshots=true
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building npefix 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.4:use-latest-versions (default-cli) @ npefix ---
[INFO] Major version changes allowed
[INFO] artifact junit:junit: checking for updates from gforge.inria.fr-snapshot
[INFO] Updated junit:junit:jar:4.11 to version 4.13
[INFO] artifact org.json:json: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.json:json: checking for updates from central
[INFO] Updated org.json:json:jar:20160212 to version 20190722
[INFO] artifact org.hamcrest:hamcrest-core: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.hamcrest:hamcrest-core: checking for updates from central
[INFO] Updated org.hamcrest:hamcrest-core:jar:1.3 to version 2.2
[INFO] artifact fr.inria.gforge.spoon:spoon-core: checking for updates from gforge.inria.fr-snapshot
[INFO] Updated fr.inria.gforge.spoon:spoon-core:jar:7.5.0-SNAPSHOT to version 8.1.0-SNAPSHOT
[INFO] artifact org.slf4j:slf4j-simple: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.slf4j:slf4j-simple: checking for updates from central
[INFO] Updated org.slf4j:slf4j-simple:jar:1.7.6 to version 2.0.0-alpha1
[INFO] artifact log4j:log4j: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact log4j:log4j: checking for updates from central
[INFO] artifact com.cloudbees:diff4j: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact com.cloudbees:diff4j: checking for updates from central
[INFO] Updated com.cloudbees:diff4j:jar:1.2 to version 1.3
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.core:org.eclipse.core.runtime: checking for updates from central
[INFO] Updated org.eclipse.core:org.eclipse.core.runtime:jar:3.6.0.v20100505 to version 3.7.0
[INFO] artifact org.eclipse.core:org.eclipse.core.resources: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.eclipse.core:org.eclipse.core.resources: checking for updates from central
[INFO] Updated org.eclipse.core:org.eclipse.core.resources:jar:3.6.0.v20100526-0737 to version 3.7.100
[INFO] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.glassfish.tyrus.bundles:tyrus-standalone-client: checking for updates from central
[INFO] Updated org.glassfish.tyrus.bundles:tyrus-standalone-client:jar:1.13.1 to version 1.16
[INFO] artifact org.apache.maven:maven-model: checking for updates from gforge.inria.fr-snapshot
[INFO] artifact org.apache.maven:maven-model: checking for updates from central
[INFO] Updated org.apache.maven:maven-model:jar:3.5.0 to version 3.6.3
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.775 s
[INFO] Finished at: 2020-03-18T05:24:09+01:00
[INFO] Final Memory: 23M/192M
[INFO] ------------------------------------------------------------------------
+ mvn test
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building npefix 0.8-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
1017/1017 B   
              
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/maven-metadata.xml (1017 B at 7.7 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200317.234142-195.pom
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
4/8 KB        
8/8 KB   
         
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200317.234142-195.pom (8 KB at 241.5 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
         
Downloading: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom
2/21 KB   
3/21 KB   
5/21 KB   
6/21 KB   
7/21 KB   
9/21 KB   
10/21 KB   
11/21 KB   
13/21 KB   
14/21 KB   
15/21 KB   
17/21 KB   
18/21 KB   
19/21 KB   
21/21 KB   
21/21 KB   
           
Downloaded: https://repo.maven.apache.org/maven2/fr/inria/gforge/spoon/spoon-pom/1.0/spoon-pom-1.0.pom (21 KB at 159.7 KB/sec)
Downloading: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200317.234142-195.jar
[WARNING] Could not apply configuration for gforge.inria.fr-snapshot to wagon org.apache.maven.wagon.providers.http.HttpWagon:Cannot find 'preferredAuthentications' in class org.apache.maven.wagon.providers.http.HttpWagon
4/1732 KB   
8/1732 KB   
12/1732 KB   
14/1732 KB   
18/1732 KB   
22/1732 KB   
26/1732 KB   
30/1732 KB   
34/1732 KB   
38/1732 KB   
42/1732 KB   
42/1732 KB   
46/1732 KB   
50/1732 KB   
54/1732 KB   
58/1732 KB   
62/1732 KB   
66/1732 KB   
70/1732 KB   
74/1732 KB   
78/1732 KB   
82/1732 KB   
86/1732 KB   
90/1732 KB   
94/1732 KB   
98/1732 KB   
102/1732 KB   
106/1732 KB   
110/1732 KB   
114/1732 KB   
118/1732 KB   
122/1732 KB   
126/1732 KB   
130/1732 KB   
134/1732 KB   
138/1732 KB   
142/1732 KB   
146/1732 KB   
150/1732 KB   
154/1732 KB   
158/1732 KB   
162/1732 KB   
166/1732 KB   
170/1732 KB   
174/1732 KB   
178/1732 KB   
182/1732 KB   
186/1732 KB   
190/1732 KB   
194/1732 KB   
198/1732 KB   
202/1732 KB   
206/1732 KB   
210/1732 KB   
214/1732 KB   
218/1732 KB   
222/1732 KB   
226/1732 KB   
230/1732 KB   
234/1732 KB   
238/1732 KB   
242/1732 KB   
246/1732 KB   
250/1732 KB   
254/1732 KB   
258/1732 KB   
262/1732 KB   
266/1732 KB   
270/1732 KB   
274/1732 KB   
278/1732 KB   
282/1732 KB   
286/1732 KB   
290/1732 KB   
294/1732 KB   
298/1732 KB   
302/1732 KB   
306/1732 KB   
310/1732 KB   
314/1732 KB   
318/1732 KB   
322/1732 KB   
326/1732 KB   
330/1732 KB   
334/1732 KB   
338/1732 KB   
342/1732 KB   
346/1732 KB   
350/1732 KB   
354/1732 KB   
358/1732 KB   
362/1732 KB   
366/1732 KB   
370/1732 KB   
374/1732 KB   
378/1732 KB   
382/1732 KB   
386/1732 KB   
390/1732 KB   
394/1732 KB   
398/1732 KB   
402/1732 KB   
406/1732 KB   
410/1732 KB   
414/1732 KB   
418/1732 KB   
422/1732 KB   
426/1732 KB   
430/1732 KB   
434/1732 KB   
438/1732 KB   
442/1732 KB   
446/1732 KB   
450/1732 KB   
454/1732 KB   
458/1732 KB   
462/1732 KB   
466/1732 KB   
470/1732 KB   
474/1732 KB   
478/1732 KB   
482/1732 KB   
486/1732 KB   
490/1732 KB   
494/1732 KB   
498/1732 KB   
502/1732 KB   
506/1732 KB   
510/1732 KB   
514/1732 KB   
518/1732 KB   
522/1732 KB   
526/1732 KB   
530/1732 KB   
534/1732 KB   
538/1732 KB   
542/1732 KB   
546/1732 KB   
550/1732 KB   
554/1732 KB   
558/1732 KB   
562/1732 KB   
566/1732 KB   
570/1732 KB   
574/1732 KB   
578/1732 KB   
582/1732 KB   
586/1732 KB   
590/1732 KB   
594/1732 KB   
598/1732 KB   
602/1732 KB   
606/1732 KB   
610/1732 KB   
614/1732 KB   
618/1732 KB   
622/1732 KB   
626/1732 KB   
630/1732 KB   
634/1732 KB   
638/1732 KB   
642/1732 KB   
646/1732 KB   
650/1732 KB   
654/1732 KB   
658/1732 KB   
662/1732 KB   
666/1732 KB   
670/1732 KB   
674/1732 KB   
678/1732 KB   
682/1732 KB   
686/1732 KB   
690/1732 KB   
694/1732 KB   
698/1732 KB   
702/1732 KB   
706/1732 KB   
710/1732 KB   
714/1732 KB   
718/1732 KB   
722/1732 KB   
726/1732 KB   
730/1732 KB   
734/1732 KB   
738/1732 KB   
742/1732 KB   
746/1732 KB   
750/1732 KB   
754/1732 KB   
758/1732 KB   
762/1732 KB   
766/1732 KB   
770/1732 KB   
774/1732 KB   
778/1732 KB   
782/1732 KB   
786/1732 KB   
790/1732 KB   
794/1732 KB   
798/1732 KB   
802/1732 KB   
806/1732 KB   
810/1732 KB   
814/1732 KB   
818/1732 KB   
822/1732 KB   
826/1732 KB   
830/1732 KB   
834/1732 KB   
838/1732 KB   
842/1732 KB   
846/1732 KB   
850/1732 KB   
854/1732 KB   
858/1732 KB   
862/1732 KB   
866/1732 KB   
870/1732 KB   
874/1732 KB   
878/1732 KB   
882/1732 KB   
886/1732 KB   
890/1732 KB   
894/1732 KB   
898/1732 KB   
902/1732 KB   
906/1732 KB   
910/1732 KB   
914/1732 KB   
918/1732 KB   
922/1732 KB   
926/1732 KB   
930/1732 KB   
934/1732 KB   
938/1732 KB   
942/1732 KB   
946/1732 KB   
950/1732 KB   
954/1732 KB   
958/1732 KB   
962/1732 KB   
966/1732 KB   
970/1732 KB   
974/1732 KB   
978/1732 KB   
982/1732 KB   
986/1732 KB   
990/1732 KB   
994/1732 KB   
998/1732 KB   
1002/1732 KB   
1006/1732 KB   
1010/1732 KB   
1014/1732 KB   
1018/1732 KB   
1022/1732 KB   
1026/1732 KB   
1030/1732 KB   
1034/1732 KB   
1038/1732 KB   
1042/1732 KB   
1046/1732 KB   
1050/1732 KB   
1054/1732 KB   
1057/1732 KB   
1061/1732 KB   
1065/1732 KB   
1066/1732 KB   
1070/1732 KB   
1072/1732 KB   
1076/1732 KB   
1079/1732 KB   
1083/1732 KB   
1087/1732 KB   
1087/1732 KB   
1091/1732 KB   
1093/1732 KB   
1097/1732 KB   
1101/1732 KB   
1105/1732 KB   
1109/1732 KB   
1113/1732 KB   
1117/1732 KB   
1121/1732 KB   
1125/1732 KB   
1129/1732 KB   
1133/1732 KB   
1137/1732 KB   
1141/1732 KB   
1145/1732 KB   
1149/1732 KB   
1153/1732 KB   
1156/1732 KB   
1159/1732 KB   
1161/1732 KB   
1165/1732 KB   
1165/1732 KB   
1169/1732 KB   
1171/1732 KB   
1175/1732 KB   
1179/1732 KB   
1180/1732 KB   
1184/1732 KB   
1188/1732 KB   
1192/1732 KB   
1195/1732 KB   
1199/1732 KB   
1202/1732 KB   
1206/1732 KB   
1209/1732 KB   
1213/1732 KB   
1216/1732 KB   
1220/1732 KB   
1222/1732 KB   
1226/1732 KB   
1230/1732 KB   
1234/1732 KB   
1238/1732 KB   
1242/1732 KB   
1246/1732 KB   
1250/1732 KB   
1254/1732 KB   
1258/1732 KB   
1262/1732 KB   
1266/1732 KB   
1270/1732 KB   
1274/1732 KB   
1278/1732 KB   
1282/1732 KB   
1286/1732 KB   
1290/1732 KB   
1294/1732 KB   
1298/1732 KB   
1302/1732 KB   
1306/1732 KB   
1310/1732 KB   
1314/1732 KB   
1318/1732 KB   
1322/1732 KB   
1326/1732 KB   
1330/1732 KB   
1334/1732 KB   
1338/1732 KB   
1342/1732 KB   
1346/1732 KB   
1350/1732 KB   
1354/1732 KB   
1358/1732 KB   
1362/1732 KB   
1366/1732 KB   
1370/1732 KB   
1374/1732 KB   
1378/1732 KB   
1382/1732 KB   
1386/1732 KB   
1390/1732 KB   
1394/1732 KB   
1398/1732 KB   
1402/1732 KB   
1406/1732 KB   
1410/1732 KB   
1414/1732 KB   
1418/1732 KB   
1422/1732 KB   
1426/1732 KB   
1430/1732 KB   
1434/1732 KB   
1438/1732 KB   
1442/1732 KB   
1446/1732 KB   
1450/1732 KB   
1454/1732 KB   
1458/1732 KB   
1462/1732 KB   
1466/1732 KB   
1470/1732 KB   
1474/1732 KB   
1478/1732 KB   
1482/1732 KB   
1486/1732 KB   
1490/1732 KB   
1494/1732 KB   
1498/1732 KB   
1502/1732 KB   
1506/1732 KB   
1510/1732 KB   
1514/1732 KB   
1518/1732 KB   
1522/1732 KB   
1526/1732 KB   
1530/1732 KB   
1534/1732 KB   
1538/1732 KB   
1542/1732 KB   
1546/1732 KB   
1550/1732 KB   
1554/1732 KB   
1558/1732 KB   
1562/1732 KB   
1566/1732 KB   
1570/1732 KB   
1574/1732 KB   
1578/1732 KB   
1582/1732 KB   
1586/1732 KB   
1590/1732 KB   
1594/1732 KB   
1598/1732 KB   
1602/1732 KB   
1606/1732 KB   
1610/1732 KB   
1614/1732 KB   
1618/1732 KB   
1622/1732 KB   
1626/1732 KB   
1630/1732 KB   
1634/1732 KB   
1638/1732 KB   
1642/1732 KB   
1646/1732 KB   
1650/1732 KB   
1654/1732 KB   
1658/1732 KB   
1662/1732 KB   
1666/1732 KB   
1670/1732 KB   
1674/1732 KB   
1678/1732 KB   
1682/1732 KB   
1686/1732 KB   
1690/1732 KB   
1694/1732 KB   
1698/1732 KB   
1702/1732 KB   
1706/1732 KB   
1710/1732 KB   
1714/1732 KB   
1718/1732 KB   
1722/1732 KB   
1726/1732 KB   
1730/1732 KB   
1732/1732 KB   
               
Downloaded: http://maven.inria.fr/artifactory/spoon-public-snapshot/fr/inria/gforge/spoon/spoon-core/8.1.0-SNAPSHOT/spoon-core-8.1.0-20200317.234142-195.jar (1732 KB at 6608.3 KB/sec)
[INFO] 
[INFO] --- jacoco-maven-plugin:0.7.5.201505241946:prepare-agent (default) @ npefix ---
[INFO] argLine set to -javaagent:/builds/.m2/repository/org/jacoco/org.jacoco.agent/0.7.5.201505241946/org.jacoco.agent-0.7.5.201505241946-runtime.jar=destfile=/builds/workspace/npefix/target/jacoco.exec
[INFO] 
[INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ npefix ---
[INFO] Source directory: /builds/workspace/npefix/src/evaluation/java added.
[INFO] Source directory: /builds/workspace/npefix/src/main/java added.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ npefix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ npefix ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 185 source files to /builds/workspace/npefix/target/classes
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/main/all/Launcher.java: Some input files use or override a deprecated API.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/main/all/Launcher.java: Recompile with -Xlint:deprecation for details.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/transformer/processors/ProcessorUtility.java: Some input files use unchecked or unsafe operations.
[INFO] /builds/workspace/npefix/src/main/java/fr/inria/spirals/npefix/transformer/processors/ProcessorUtility.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ npefix ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.5.1:testCompile (default-testCompile) @ npefix ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 17 source files to /builds/workspace/npefix/target/test-classes
[INFO] /builds/workspace/npefix/src/test/java/fr/inria/spirals/npefix/patch/PatchesGeneratorTest.java: Some input files use unchecked or unsafe operations.
[INFO] /builds/workspace/npefix/src/test/java/fr/inria/spirals/npefix/patch/PatchesGeneratorTest.java: Recompile with -Xlint:unchecked for details.
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ npefix ---
[INFO] Surefire report directory: /builds/workspace/npefix/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Running fr.inria.spirals.npefix.transformer.processors.ConstructorEncapsulationTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
ConstructorEncapsulation # Constructor: 2 in 39ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.045 sec - in fr.inria.spirals.npefix.transformer.processors.ConstructorEncapsulationTest
Running fr.inria.spirals.npefix.transformer.processors.ArrayAccessTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.759 sec - in fr.inria.spirals.npefix.transformer.processors.ArrayAccessTest
Running fr.inria.spirals.npefix.transformer.processors.BeforeDerefAdderTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.003 sec - in fr.inria.spirals.npefix.transformer.processors.BeforeDerefAdderTest
Running fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 10ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.295 sec - in fr.inria.spirals.npefix.transformer.processors.TernarySplitterTest
Running fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
AddImplicitCastChecker --> 4 in 11ms
BeforeDeref --> 31 (failed:0) in 46ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.575 sec - in fr.inria.spirals.npefix.transformer.processors.ImplicitCastCheckerTest
Running fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
java.lang.String local = (field == null) ? "" : field
return field == null ? "" : field
field = (parm == null) ? "" : parm
java.lang.Class type = (array != null) ? array.getClass() : element != null ? element.getClass() : java.lang.Object.class
java.lang.Class type = (array != null) ? array.getClass() : element != null ? element.getClass() : java.lang.Object.class
CheckNotNull  in 25ms
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.194 sec - in fr.inria.spirals.npefix.transformer.processors.CheckNotNullTest
Running fr.inria.spirals.npefix.transformer.processors.TargetModifierTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
target--> 29 (failed:0) in 36ms
public void multiCatch() {
    try {
    } catch (java.lang.IllegalArgumentException | java.lang.NullPointerException e) {
        e.printStackTrace();
    }
}
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.258 sec - in fr.inria.spirals.npefix.transformer.processors.TargetModifierTest
Running fr.inria.spirals.npefix.transformer.TryCatchRepairModelTest
/builds/workspace/npefix/target/test-classes/foo/src
RMI Selector (Host: 127.0.0.1, Port: 10000): KO
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
CheckNotNull  in 0ms
ForceNullInit in 0ms
AddImplicitCastChecker --> 0 in 0ms
Assign --> 0 (failed: 0) in 0ms
VarInit --> 0 in 0ms
TryCatchRepair # Method: 4 in 12ms
ConstructorTryCatchRepair # Constructor: 0 in 1ms
VariableFor in 0ms
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:15 Used null
Status: Ko
ConeflowerTest#test2
	1 Strat4 NULL Coneflower:11 Used null
Status: Ko
ConeflowerTest#test3
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:11 Used null
Status: Ko
ConeflowerTest#test2
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 8/1500 0%
ConeflowerTest#test1
	1 Strat4 NULL Coneflower:7 Used null
Status: Ko
Multirun 12/1500 0%
ConeflowerTest#testThrowException
	1 Strat4 VAR Coneflower:19 Used i
Status: Ok
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:15 Used java.lang.String()
Status: Ko
ConeflowerTest#test2
	1 Strat4 NEW Coneflower:11 Used java.lang.String()
Status: Ko
ConeflowerTest#test3
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used 0
Status: Ok
Multirun 4/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:11 Used java.lang.String()
Status: Ko
ConeflowerTest#test2
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used -1
Status: Ko
Multirun 8/1500 0%
ConeflowerTest#test1
	1 Strat4 NEW Coneflower:7 Used java.lang.String()
Status: Ok
ConeflowerTest#testThrowException
	1 Strat4 NEW Coneflower:19 Used 1
Status: Ko
Multirun 12/1500 0%
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.03 sec - in fr.inria.spirals.npefix.transformer.TryCatchRepairModelTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.388 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceGlobalTest
Running fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.134 sec - in fr.inria.spirals.npefix.patchTemplate.VariableFinderTest
Running fr.inria.spirals.npefix.patchTemplate.SkipLineTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.214 sec - in fr.inria.spirals.npefix.patchTemplate.SkipLineTest
Running fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.397 sec - in fr.inria.spirals.npefix.patchTemplate.SkipMethodReturnTest
Running fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.33 sec - in fr.inria.spirals.npefix.patchTemplate.ReplaceLocalTest
Running fr.inria.spirals.npefix.patch.PatchesGeneratorTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -105,3 +105,7 @@
     public void  multiDecisionLine() {
-        Arrays.asList(field.toString(), field.toString());
+        if (field == null) {
+            Arrays.asList( new String().toString(), new String().toString());
+        } else {
+            Arrays.asList(field.toString(), field.toString());
+        }
     }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,6 +20,8 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array != null) {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/src/main/java/Foo.java
+++ b/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return new Object();
+        }
         for (String element : array) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -111,4 +111,12 @@
 
-        } else if (array[0].isEmpty()) {
-
+        } else {
+            if (array[0] == null) {
+                if ( new String().isEmpty()) {
+                    
+                }
+            } else {
+                if (array[0].isEmpty()) {
+                    
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return new Object();
+        }
         for (String element : array) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            return result;
+        }
         for (String element : array) {
@@ -30,3 +33,5 @@
     public String fooLocal() {
-        System.out.print(field.toLowerCase());
+        if (field != null) {
+            System.out.print(field.toLowerCase());
+        }
         if(field == null) {

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,7 +20,16 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array == null) {
+            for (String element : result) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }
+        } else {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,7 +20,16 @@
         String result = "";
-        for (String element : array) {
-            result += element.toString();
-            if(element == null) {
-                return null;
+        if (array == null) {
+            for (String element : new String[0]) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
             }
+        } else {
+            for (String element : array) {
+                result += element.toString();
+                if(element == null) {
+                    return null;
+                }
+            }
         }

[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
--- a/target/test-classes/foo/src/main/java/Foo.java
+++ b/target/test-classes/foo/src/main/java/Foo.java
@@ -20,2 +20,5 @@
         String result = "";
+        if (array == null) {
+            array = new String[0];
+        }
         for (String element : array) {

Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.152 sec - in fr.inria.spirals.npefix.patch.PatchesGeneratorTest
Running fr.inria.spirals.npefix.main.all.LauncherTest
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 6ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 13ms
ForceNullInit in 2ms
AddImplicitCastChecker --> 4 in 4ms
BeforeDeref --> 29 (failed:0) in 19ms
target--> 32 (failed:0) in 33ms
TryRegister # Try: 1 in 13ms
Assign --> 19 (failed: 0) in 25ms
VarInit --> 10 in 8ms
MethodEncapsulation # Method: 28 in 63ms
ConstructorEncapsulation # Constructor: 2 in 17ms
VariableFor in 13ms
NoStrat
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
Strat1A
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1A Foo:21 result
Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1A Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1A Foo:58 Used empty
Status: Ok
FooClassTest#returnVoidTest
<No Strat> Status: Ko
Strat1B
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat1B Foo:21 result
Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat1B Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat1B Foo:58 Used empty
Status: Ok
FooClassTest#returnVoidTest
<No Strat> Status: Ko
Strat2A
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
	1 Strat2A Foo:16 Used java.lang.String()
Status: Ok
FooClassTest#foo1Test
	1 Strat2A Foo:21 java.lang.Object()
Status: Ko
FooClassTest#fooLocalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat2A Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat2A Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat2A Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
	1 Strat2A Foo:67 Used java.lang.String()
Status: Ok
Strat2B
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
	1 Strat2B Foo:16 Used java.lang.String()
Status: Ok
FooClassTest#foo1Test
	1 Strat2B Foo:21 java.lang.Object()
Status: Ko
FooClassTest#fooLocalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#fooGlobalTest
	1 Strat2B Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat2B Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat2B Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
	1 Strat2B Foo:67 Used java.lang.String()
Status: Ok
Strat3
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
	1 Strat3 Foo:16 Used false
Status: Ok
FooClassTest#foo1Test
	1 Strat3 Foo:21 Used false
Status: Ok
FooClassTest#fooLocalTest
	1 Strat3 Foo:31 Used false
Status: Ok
FooClassTest#fooGlobalTest
	1 Strat3 Foo:31 Used false
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat3 Foo:49 Used false
Status: Ok
FooClassTest#fooVariableGlobalTest
	1 Strat3 Foo:58 Used false
Status: Ko
FooClassTest#returnVoidTest
	1 Strat3 Foo:67 Used false
Status: Ok
Strat4 NULL
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 NULL Foo:21 Used null
Status: Ok
FooClassTest#fooLocalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NULL Foo:31 Used null
Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat4 NULL Foo:49 Used null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 NULL Foo:58 Used null
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
Strat4 VAR
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 VAR Foo:21 Used result
Status: Ok
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
	1 Strat4 VAR Foo:49 Used empty
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 VAR Foo:58 Used empty
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
Strat4 NEW
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
<No Strat> Status: Ko
FooClassTest#foo1Test
	1 Strat4 NEW Foo:21 Used java.lang.Object()
Status: Ok
FooClassTest#fooLocalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ko
FooClassTest#fooGlobalTest
	1 Strat4 NEW Foo:31 Used java.lang.String()
Status: Ok
FooClassTest#fooVariableLocalTest
	1 Strat4 NEW Foo:49 Used java.lang.String()
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 Strat4 NEW Foo:58 Used java.lang.String()
Status: Ko
FooClassTest#returnVoidTest
<No Strat> Status: Ko
Strat4 VOID
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
	1 Strat4 VOID Foo:16 Used null
Status: Ok
FooClassTest#foo1Test
<No Strat> Status: Ko
FooClassTest#fooLocalTest
<No Strat> Status: Ko
FooClassTest#fooGlobalTest
<No Strat> Status: Ko
FooClassTest#fooVariableLocalTest
<No Strat> Status: Ko
FooClassTest#fooVariableGlobalTest
<No Strat> Status: Ko
FooClassTest#returnVoidTest
	1 Strat4 VOID Foo:67 Used null
Status: Ok
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 5ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 10ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 4ms
BeforeDeref --> 29 (failed:0) in 11ms
target--> 32 (failed:0) in 27ms
TryRegister # Try: 1 in 6ms
Assign --> 19 (failed: 0) in 19ms
VarInit --> 10 in 6ms
MethodEncapsulation # Method: 52 in 66ms
ConstructorEncapsulation # Constructor: 2 in 22ms
VariableFor in 3ms
ArrayReadReturnNull
FooArrayAccessTest#fooTest
<No Strat> Status: Ko
FooArrayAccessTest#fooTest1
<No Strat> Status: Ko
FooArrayAccessTest#fooTest2
<No Strat> Status: Ko
FooClassTest#fooTest
	1 ArrayReadReturnNull Foo:16 null
Status: Ko
FooClassTest#foo1Test
	1 ArrayReadReturnNull Foo:21 null
Status: Ko
FooClassTest#fooLocalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooClassTest#fooGlobalTest
	1 ArrayReadReturnNull Foo:31 null
Status: Ko
FooClassTest#fooVariableLocalTest
	1 ArrayReadReturnNull Foo:49 null
Status: Ko
FooClassTest#fooVariableGlobalTest
	1 ArrayReadReturnNull Foo:58 null
Status: Ko
FooClassTest#returnVoidTest
	1 ArrayReadReturnNull Foo:67 null
Status: Ko
[main] INFO spoon.Launcher - Running in NOCLASSPATH mode (doc: http://spoon.gforge.inria.fr/launcher.html).
TernarySplitter  in 4ms
type = (element != null) ? element.getClass() : Object.class
CheckNotNull  in 9ms
ForceNullInit in 1ms
AddImplicitCastChecker --> 4 in 3ms
BeforeDeref --> 29 (failed:0) in 9ms
target--> 32 (failed:0) in 23ms
TryRegister # Try: 1 in 5ms
Assign --> 19 (failed: 0) in 16ms
VarInit --> 10 in 5ms
MethodEncapsulation # Method: 76 in 57ms
ConstructorEncapsulation # Constructor: 2 in 5ms
VariableFor in 3ms
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.026 sec - in fr.inria.spirals.npefix.main.all.LauncherTest

Results :

Tests run: 29, Failures: 0, Errors: 0, Skipped: 2

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 20.105 s
[INFO] Finished at: 2020-03-18T05:24:31+01:00
[INFO] Final Memory: 29M/210M
[INFO] ------------------------------------------------------------------------
Finished: SUCCESS