Closed ricardojaferreira closed 4 years ago
I'm having exactly the same problem (with the same setup).
I was using JUnit 5 for my tests; when I changed to JUnit 4, the problem disappeared.
I am using Junit 4. I suspected that the problem is with the JDK version. Probably I have to downgrade to Java 8. I will try when I have some time.
I'm running into the same or a similar problem. I'm trying to run a mutation test using a Maven build using eclipse oxygen. I'm targeting Java 8. JUnit version is 4.12.
Exception:
Exception in thread "main" java.lang.IllegalArgumentException at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source) at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source) at org.pitest.classinfo.ClassInfoVisitor.getClassInfo(ClassInfoVisitor.java:41) at org.pitest.classinfo.Repository.nameToClassInfo(Repository.java:70) at org.pitest.classinfo.Repository.fetchClass(Repository.java:60) at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:16) at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:6) at org.pitest.functional.FCollection.flatMapTo(FCollection.java:56) at org.pitest.functional.FCollection.flatMap(FCollection.java:66) at org.pitest.classpath.CodeSource.getCode(CodeSource.java:46) Closed at org.pitest.mutationtest.verify.DefaultBuildVerifier.verify(DefaultBuildVerifier.java:32) at org.pitest.mutationtest.tooling.MutationCoverage.verifyBuildSuitableForMutationTesting(MutationCoverage.java:206) at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:108) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:103) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:45) at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:76) at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45) at org.pitest.pitclipse.pitrunner.PitRunner.runPIT(PitRunner.java:46) at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:25)
Full output:
9:41:18 AM PIT >> FINE : Running report with ReportOptions [targetClasses=[^springSetupKidcodely\.App$, ^springSetupKidcodely\.entity\.Game$, ^springSetupKidcodely\.gameController\.GameController$, ^springSetupKidcodely\.repository\.GameRepo$, ^springSetupKidcodely\.service\.GameService$], excludedMethods=[], excludedClasses=[], codePaths=[], reportDir=C:\aaa\eclipse-workspace\.metadata\.plugins\org.pitest.pitclipse.core\html_results, historyInputLocation=null, historyOutputLocation=null, sourceDirs=[C:\aaa\eclipse-workspace\SpringSetupKidcodely\src\main\java, C:\aaa\eclipse-workspace\SpringSetupKidcodely\src\main\resources, C:\aaa\eclipse-workspace\SpringSetupKidcodely\src\test\java, C:\aaa\eclipse-workspace\SpringSetupKidcodely\src\test\resources], classPathElements=[C:\aaa\eclipse-workspace\SpringSetupKidcodely\target\classes, C:\aaa\eclipse-workspace\SpringSetupKidcodely\target\test-classes, C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-rest-webmvc\3.0.8.RELEASE\spring-data-rest-webmvc-3.0.8.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-rest-core\3.0.8.RELEASE\spring-data-rest-core-3.0.8.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-tx\5.0.7.RELEASE\spring-tx-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\hateoas\spring-hateoas\0.24.0.RELEASE\spring-hateoas-0.24.0.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-commons\2.0.8.RELEASE\spring-data-commons-2.0.8.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar, C:\Users\aaa\.m2\repository\org\atteo\evo-inflector\1.2.2\evo-inflector-1.2.2.jar, C:\Users\aaa\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.6\jackson-datatype-jdk8-2.9.6.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-webmvc\5.0.7.RELEASE\spring-webmvc-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-aop\5.0.7.RELEASE\spring-aop-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-beans\5.0.7.RELEASE\spring-beans-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-context\5.0.7.RELEASE\spring-context-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-expression\5.0.7.RELEASE\spring-expression-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar, C:\Users\aaa\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar, C:\Users\aaa\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar, C:\Users\aaa\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar, C:\Users\aaa\.m2\repository\javax\xml\bind\jaxb-api\2.3.0\jaxb-api-2.3.0.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.0.3.RELEASE\spring-boot-starter-data-jpa-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter\2.0.3.RELEASE\spring-boot-starter-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot\2.0.3.RELEASE\spring-boot-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.0.3.RELEASE\spring-boot-autoconfigure-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.0.3.RELEASE\spring-boot-starter-logging-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar, C:\Users\aaa\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar, C:\Users\aaa\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar, C:\Users\aaa\.m2\repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar, C:\Users\aaa\.m2\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar, C:\Users\aaa\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar, C:\Users\aaa\.m2\repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.0.3.RELEASE\spring-boot-starter-aop-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.0.3.RELEASE\spring-boot-starter-jdbc-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\com\zaxxer\HikariCP\2.7.9\HikariCP-2.7.9.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-jdbc\5.0.7.RELEASE\spring-jdbc-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\hibernate\hibernate-core\5.2.17.Final\hibernate-core-5.2.17.Final.jar, C:\Users\aaa\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar, C:\Users\aaa\.m2\repository\org\jboss\jandex\2.0.3.Final\jandex-2.0.3.Final.jar, C:\Users\aaa\.m2\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar, C:\Users\aaa\.m2\repository\javax\transaction\javax.transaction-api\1.2\javax.transaction-api-1.2.jar, C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-jpa\2.0.8.RELEASE\spring-data-jpa-2.0.8.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-orm\5.0.7.RELEASE\spring-orm-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-aspects\5.0.7.RELEASE\spring-aspects-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.0.3.RELEASE\spring-boot-starter-test-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-test\2.0.3.RELEASE\spring-boot-test-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.0.3.RELEASE\spring-boot-test-autoconfigure-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar, C:\Users\aaa\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar, C:\Users\aaa\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar, C:\Users\aaa\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar, C:\Users\aaa\.m2\repository\junit\junit\4.12\junit-4.12.jar, C:\Users\aaa\.m2\repository\org\assertj\assertj-core\3.9.1\assertj-core-3.9.1.jar, C:\Users\aaa\.m2\repository\org\mockito\mockito-core\2.15.0\mockito-core-2.15.0.jar, C:\Users\aaa\.m2\repository\net\bytebuddy\byte-buddy-agent\1.7.11\byte-buddy-agent-1.7.11.jar, C:\Users\aaa\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar, C:\Users\aaa\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar, C:\Users\aaa\.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar, C:\Users\aaa\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar, C:\Users\aaa\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-core\5.0.7.RELEASE\spring-core-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-jcl\5.0.7.RELEASE\spring-jcl-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-test\5.0.7.RELEASE\spring-test-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\xmlunit\xmlunit-core\2.5.1\xmlunit-core-2.5.1.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.0.3.RELEASE\spring-boot-starter-web-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.0.3.RELEASE\spring-boot-starter-json-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.6\jackson-datatype-jsr310-2.9.6.jar, C:\Users\aaa\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.6\jackson-module-parameter-names-2.9.6.jar, C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.0.3.RELEASE\spring-boot-starter-tomcat-2.0.3.RELEASE.jar, C:\Users\aaa\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.31\tomcat-embed-core-8.5.31.jar, C:\Users\aaa\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.31\tomcat-embed-el-8.5.31.jar, C:\Users\aaa\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.31\tomcat-embed-websocket-8.5.31.jar, C:\Users\aaa\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.10.Final\hibernate-validator-6.0.10.Final.jar, C:\Users\aaa\.m2\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar, C:\Users\aaa\.m2\repository\org\springframework\spring-web\5.0.7.RELEASE\spring-web-5.0.7.RELEASE.jar, C:\Users\aaa\.m2\repository\org\hibernate\hibernate-entitymanager\5.2.17.Final\hibernate-entitymanager-5.2.17.Final.jar, C:\Users\aaa\.m2\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar, C:\Users\aaa\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar, C:\Users\aaa\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.1.Final\hibernate-commons-annotations-5.0.1.Final.jar, C:\Users\aaa\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.2.Final\hibernate-jpa-2.1-api-1.0.2.Final.jar, C:\Users\aaa\.m2\repository\org\javassist\javassist\3.22.0-GA\javassist-3.22.0-GA.jar, C:\Users\aaa\.m2\repository\net\bytebuddy\byte-buddy\1.7.11\byte-buddy-1.7.11.jar, C:\Users\aaa\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.2_spec\1.0.1.Final\jboss-transaction-api_1.2_spec-1.0.1.Final.jar, C:\Users\aaa\.m2\repository\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar, C:\Users\aaa\.p2\pool\plugins\org.pitest.command-line-osgi_1.1.9.jar, C:\Users\aaa\.p2\pool\plugins\org.pitest.html-report-osgi_1.1.9.jar, C:\Users\aaa\.p2\pool\plugins\org.pitest.osgi_1.1.9.jar, C:\Users\aaa\.p2\pool\plugins\org.pitest.pitrunner_1.1.6.201607050705.jar, C:\Users\aaa\.p2\pool\plugins\org.pitest.guava-shade-osgi_18.0.0.jar], mutators=[DEFAULTS], dependencyAnalysisMaxDistance=-1, mutateStaticInitializers=false, jvmArgs=[], numberOfThreads=8, timeoutFactor=1.25, timeoutConstant=3000, targetTests=[^springSetupKidcodely\.test\.GameServiceTests$], loggingClasses=[java.util.logging, org.apache.log4j, org.slf4j, org.apache.commons.logging], maxMutationsPerClass=0, verbose=true, failWhenNoMutations=false, outputs=[HTML, PITCLIPSE_MUTATIONS], groupConfig=TestGroupConfig [excludedGroups=[], includedGroups=[]], mutationUnitSize=0, shouldCreateTimestampedReports=true, detectInlinedCode=false, exportLineCoverage=false, mutationThreshold=0, coverageThreshold=0, mutationEngine=gregor, javaExecutable=null, includeLaunchClasspath=true] 9:41:18 AM PIT >> FINE : System class path is C:\aaa\eclipse-workspace\SpringSetupKidcodely\target\classes;C:\aaa\eclipse-workspace\SpringSetupKidcodely\target\test-classes;C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-rest-webmvc\3.0.8.RELEASE\spring-data-rest-webmvc-3.0.8.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-rest-core\3.0.8.RELEASE\spring-data-rest-core-3.0.8.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-tx\5.0.7.RELEASE\spring-tx-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\hateoas\spring-hateoas\0.24.0.RELEASE\spring-hateoas-0.24.0.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-commons\2.0.8.RELEASE\spring-data-commons-2.0.8.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\plugin\spring-plugin-core\1.2.0.RELEASE\spring-plugin-core-1.2.0.RELEASE.jar;C:\Users\aaa\.m2\repository\org\atteo\evo-inflector\1.2.2\evo-inflector-1.2.2.jar;C:\Users\aaa\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.6\jackson-datatype-jdk8-2.9.6.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-webmvc\5.0.7.RELEASE\spring-webmvc-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-aop\5.0.7.RELEASE\spring-aop-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-beans\5.0.7.RELEASE\spring-beans-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-context\5.0.7.RELEASE\spring-context-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-expression\5.0.7.RELEASE\spring-expression-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\com\fasterxml\jackson\core\jackson-databind\2.9.6\jackson-databind-2.9.6.jar;C:\Users\aaa\.m2\repository\com\fasterxml\jackson\core\jackson-core\2.9.6\jackson-core-2.9.6.jar;C:\Users\aaa\.m2\repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;C:\Users\aaa\.m2\repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\Users\aaa\.m2\repository\javax\xml\bind\jaxb-api\2.3.0\jaxb-api-2.3.0.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-data-jpa\2.0.3.RELEASE\spring-boot-starter-data-jpa-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter\2.0.3.RELEASE\spring-boot-starter-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot\2.0.3.RELEASE\spring-boot-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-autoconfigure\2.0.3.RELEASE\spring-boot-autoconfigure-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-logging\2.0.3.RELEASE\spring-boot-starter-logging-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;C:\Users\aaa\.m2\repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;C:\Users\aaa\.m2\repository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;C:\Users\aaa\.m2\repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;C:\Users\aaa\.m2\repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;C:\Users\aaa\.m2\repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;C:\Users\aaa\.m2\repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-aop\2.0.3.RELEASE\spring-boot-starter-aop-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\aspectj\aspectjweaver\1.8.13\aspectjweaver-1.8.13.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-jdbc\2.0.3.RELEASE\spring-boot-starter-jdbc-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\com\zaxxer\HikariCP\2.7.9\HikariCP-2.7.9.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-jdbc\5.0.7.RELEASE\spring-jdbc-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\hibernate\hibernate-core\5.2.17.Final\hibernate-core-5.2.17.Final.jar;C:\Users\aaa\.m2\repository\antlr\antlr\2.7.7\antlr-2.7.7.jar;C:\Users\aaa\.m2\repository\org\jboss\jandex\2.0.3.Final\jandex-2.0.3.Final.jar;C:\Users\aaa\.m2\repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;C:\Users\aaa\.m2\repository\javax\transaction\javax.transaction-api\1.2\javax.transaction-api-1.2.jar;C:\Users\aaa\.m2\repository\org\springframework\data\spring-data-jpa\2.0.8.RELEASE\spring-data-jpa-2.0.8.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-orm\5.0.7.RELEASE\spring-orm-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-aspects\5.0.7.RELEASE\spring-aspects-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-test\2.0.3.RELEASE\spring-boot-starter-test-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-test\2.0.3.RELEASE\spring-boot-test-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-test-autoconfigure\2.0.3.RELEASE\spring-boot-test-autoconfigure-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;C:\Users\aaa\.m2\repository\net\minidev\json-smart\2.3\json-smart-2.3.jar;C:\Users\aaa\.m2\repository\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;C:\Users\aaa\.m2\repository\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;C:\Users\aaa\.m2\repository\junit\junit\4.12\junit-4.12.jar;C:\Users\aaa\.m2\repository\org\assertj\assertj-core\3.9.1\assertj-core-3.9.1.jar;C:\Users\aaa\.m2\repository\org\mockito\mockito-core\2.15.0\mockito-core-2.15.0.jar;C:\Users\aaa\.m2\repository\net\bytebuddy\byte-buddy-agent\1.7.11\byte-buddy-agent-1.7.11.jar;C:\Users\aaa\.m2\repository\org\objenesis\objenesis\2.6\objenesis-2.6.jar;C:\Users\aaa\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar;C:\Users\aaa\.m2\repository\org\hamcrest\hamcrest-library\1.3\hamcrest-library-1.3.jar;C:\Users\aaa\.m2\repository\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;C:\Users\aaa\.m2\repository\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-core\5.0.7.RELEASE\spring-core-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-jcl\5.0.7.RELEASE\spring-jcl-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-test\5.0.7.RELEASE\spring-test-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\xmlunit\xmlunit-core\2.5.1\xmlunit-core-2.5.1.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-web\2.0.3.RELEASE\spring-boot-starter-web-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-json\2.0.3.RELEASE\spring-boot-starter-json-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.6\jackson-datatype-jsr310-2.9.6.jar;C:\Users\aaa\.m2\repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.6\jackson-module-parameter-names-2.9.6.jar;C:\Users\aaa\.m2\repository\org\springframework\boot\spring-boot-starter-tomcat\2.0.3.RELEASE\spring-boot-starter-tomcat-2.0.3.RELEASE.jar;C:\Users\aaa\.m2\repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.31\tomcat-embed-core-8.5.31.jar;C:\Users\aaa\.m2\repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.31\tomcat-embed-el-8.5.31.jar;C:\Users\aaa\.m2\repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.31\tomcat-embed-websocket-8.5.31.jar;C:\Users\aaa\.m2\repository\org\hibernate\validator\hibernate-validator\6.0.10.Final\hibernate-validator-6.0.10.Final.jar;C:\Users\aaa\.m2\repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;C:\Users\aaa\.m2\repository\org\springframework\spring-web\5.0.7.RELEASE\spring-web-5.0.7.RELEASE.jar;C:\Users\aaa\.m2\repository\org\hibernate\hibernate-entitymanager\5.2.17.Final\hibernate-entitymanager-5.2.17.Final.jar;C:\Users\aaa\.m2\repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;C:\Users\aaa\.m2\repository\dom4j\dom4j\1.6.1\dom4j-1.6.1.jar;C:\Users\aaa\.m2\repository\org\hibernate\common\hibernate-commons-annotations\5.0.1.Final\hibernate-commons-annotations-5.0.1.Final.jar;C:\Users\aaa\.m2\repository\org\hibernate\javax\persistence\hibernate-jpa-2.1-api\1.0.2.Final\hibernate-jpa-2.1-api-1.0.2.Final.jar;C:\Users\aaa\.m2\repository\org\javassist\javassist\3.22.0-GA\javassist-3.22.0-GA.jar;C:\Users\aaa\.m2\repository\net\bytebuddy\byte-buddy\1.7.11\byte-buddy-1.7.11.jar;C:\Users\aaa\.m2\repository\org\jboss\spec\javax\transaction\jboss-transaction-api_1.2_spec\1.0.1.Final\jboss-transaction-api_1.2_spec-1.0.1.Final.jar;C:\Users\aaa\.m2\repository\mysql\mysql-connector-java\5.1.46\mysql-connector-java-5.1.46.jar;C:\Users\aaa\.p2\pool\plugins\org.pitest.command-line-osgi_1.1.9.jar;C:\Users\aaa\.p2\pool\plugins\org.pitest.html-report-osgi_1.1.9.jar;C:\Users\aaa\.p2\pool\plugins\org.pitest.osgi_1.1.9.jar;C:\Users\aaa\.p2\pool\plugins\org.pitest.pitrunner_1.1.6.201607050705.jar;C:\Users\aaa\.p2\pool\plugins\org.pitest.guava-shade-osgi_18.0.0.jar 9:41:18 AM PIT >> FINE : Maximum available memory is 4050 mb Closing server Exception in thread "main" java.lang.IllegalArgumentException at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source) at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source) at org.pitest.classinfo.ClassInfoVisitor.getClassInfo(ClassInfoVisitor.java:41) at org.pitest.classinfo.Repository.nameToClassInfo(Repository.java:70) at org.pitest.classinfo.Repository.fetchClass(Repository.java:60) at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:16) at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:6) at org.pitest.functional.FCollection.flatMapTo(FCollection.java:56) at org.pitest.functional.FCollection.flatMap(FCollection.java:66) at org.pitest.classpath.CodeSource.getCode(CodeSource.java:46) Closed at org.pitest.mutationtest.verify.DefaultBuildVerifier.verify(DefaultBuildVerifier.java:32) at org.pitest.mutationtest.tooling.MutationCoverage.verifyBuildSuitableForMutationTesting(MutationCoverage.java:206) at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:108) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:103) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:45) at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:76) at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45) at org.pitest.pitclipse.pitrunner.PitRunner.runPIT(PitRunner.java:46) at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:25)
I have the same issue after updating to Java 10 and Oxygen (from 8 and Mars). I guess this is due to Pitclipse using a pretty old version of Pit. The current Pit version is 1.4.0, the used version is 1.1.9
PR https://github.com/philglover/pitclipse/pull/75 updates the PIT version. I have not checked yet if this really fixes the problem.
I am getting java.lang.IllegalArgumentException when I run mutation testing using pitEclipse plugin version 0.31.1.
I am using JUnit 4.11 & Java 1.8. I tried to downgrade Junit but got same exception. Don't know what is the reason.
Same problem with JUnit 4.12 and JDK 11:
Exception in thread "main" java.lang.IllegalArgumentException
at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source)
at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source)
at org.pitest.classinfo.ClassInfoVisitor.getClassInfo(ClassInfoVisitor.java:41)
at org.pitest.classinfo.Repository.nameToClassInfo(Repository.java:70)
at org.pitest.classinfo.Repository.fetchClass(Repository.java:60)
at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:16)
at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:6)
at org.pitest.functional.FCollection.flatMapTo(FCollection.java:56)
at org.pitest.functional.FCollection.flatMap(FCollection.java:66)
at org.pitest.classpath.CodeSource.getCode(CodeSource.java:46)
at org.pitest.mutationtest.verify.DefaultBuildVerifier.verify(DefaultBuildVerifier.java:32)
at org.pitest.mutationtest.tooling.MutationCoverage.verifyBuildSuitableForMutationTesting(MutationCoverage.java:206)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:108)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:103)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:45)
at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:76)
at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
at org.pitest.pitclipse.pitrunner.PitRunner.runPIT(PitRunner.java:46)
at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:25)
The issue is still there with eclipse 2019-12 (Java 8, junit 4.12)
Edit: additional Stack trace
10:54:52 PIT >> INFO : MINION : 10:54:52 PIT >> FINE : Gathering coverage for test Description [testClass=com....]
10:54:52 PIT >> FINE : Coverage generator Minion exited ok
10:54:52 PIT >> INFO : Calculated coverage in 1 seconds.
10:54:52 PIT >> FINE : Used memory after coverage calculation 61 mb
10:54:52 PIT >> FINE : Free Memory after coverage calculation 183 mb
Exception in thread "main" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:155)
at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:142)
at org.pitest.bytecode.analysis.ClassTree.fromBytes(ClassTree.java:31)
at org.pitest.mutationtest.build.MutationSource.createMutations(MutationSource.java:61)
at org.pitest.mutationtest.build.MutationTestBuilder.lambda$classToMutations$1(MutationTestBuilder.java:94)
at org.pitest.functional.FCollection.flatMapTo(FCollection.java:58)
at org.pitest.functional.FCollection.flatMap(FCollection.java:68)
at org.pitest.mutationtest.build.MutationTestBuilder.createMutationTestUnits(MutationTestBuilder.java:58)
at org.pitest.mutationtest.tooling.MutationCoverage.buildMutationTests(MutationCoverage.java:281)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:135)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:120)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:50)
at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:87)
at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
at org.pitest.pitclipse.runner.PitRunner.lambda$1(PitRunner.java:63)
at com.google.common.base.Present.transform(Present.java:75)
at org.pitest.pitclipse.runner.PitRunner.main(PitRunner.java:47)
Thanks for confirming that this is still an issue. Sadly I can't reproduce it: Pitclipse works as expected on my side. Do you have the same stacktrace as the others? My tests may not cover your use case; could you share a code sample that raises the error?
Thanks for adding the stacktrace; not sure that the issue comes from Pitclipse per se. Pitest is calling ClassNode's default constructor which in turn calls ClassVisitor's constructor with an illegal argument. I'm not familiar with ASM but the issue may come from an incompatibility with a third party or with your JDK.
@MahatmaFatalError could you:
File > Import... > Projects from Folder or Archive
.If you are able to analyze my sample project then the issue is likely related to yours. In that case, could you share:
I know that I'm asking a lot but that would really help me fix this issue.
Thanks echebbi, the project you provided works on my machine with AdoptOpenJDK 1.8.0_222-b10. I will give you more details on my project throughout this week.
Hi @MahatmaFatalError, any news on this?
@echebbi Thanks for your support, I found a public sample project where the error is reproducible: https://github.com/SAP-samples/cloud-bulletinboard-ads/tree/solution-4-Create-ServiceTests
When I run this test as PIT Mutation Test, the following console output comes up:
Connecting to: localhost/127.0.0.1:53858
Connected
Received request: PitRequest [options=PitOptions [reportDir=/Users/MYUSERNAME/Documents/workspace-sts4/.metadata/.plugins/org.pitest.pitclipse.core/html_results, classUnderTest=com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest, classesToMutate=[com.sap.bulletinboard.ads.AppInitializer, com.sap.bulletinboard.ads.config.WebAppContextConfig, com.sap.bulletinboard.ads.config.SpringBootActuatorConfig, com.sap.bulletinboard.ads.controllers.NotFoundException, com.sap.bulletinboard.ads.controllers.AdvertisementController, com.sap.bulletinboard.ads.controllers.AdvertisementController$AdvertisementList, com.sap.bulletinboard.ads.controllers.DefaultController, com.sap.bulletinboard.ads.controllers.NotAuthorizedException, com.sap.bulletinboard.ads.controllers.BadRequestException, com.sap.bulletinboard.ads.controllers.HelloWorldController, com.sap.bulletinboard.ads.models.Advertisement], sourceDirs=[/Users/MYUSERNAME/git/cloud-bulletinboard-ads/src/main/java, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/src/test/java, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/src/main/resources, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/generated-sources/annotations, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/generated-test-sources/test-annotations], packages=[], threads=8, historyLocation=null, excludedClasses=[*Test], excludedMethods=[], avoidCallsTo=[java.util.logging, org.apache.log4j, org.slf4j, org.apache.commons.logging], mutators=[DEFAULTS], timeoutConst=3000, timeoutFactor=1.25], projects=[bulletinboard-ads]]
18:45:06 PIT >> INFO : ---------------------------------------------------------------------------
18:45:06 PIT >> INFO : Enabled (+) and disabled (-) features.
18:45:06 PIT >> INFO : -----------------------------------------
18:45:06 PIT >> INFO : +FFBLOCK Filters mutations in code duplicated by finally block inlining
18:45:06 PIT >> INFO : +FSTATI Filters mutations in static initializers and code called only from them
18:45:06 PIT >> INFO : +FSEQUIVEQUALS Filters equivalent mutations that affect only performance in short cutting equals methods
18:45:06 PIT >> INFO : +FFEACH Filters mutations in compiler generated code that implements for each loops
18:45:06 PIT >> INFO : +FINFINC Filters mutations to increments that may cause infinite loops
18:45:06 PIT >> INFO : +FFLOOP Filters any mutations to increments in for loops as they may cause timeouts
18:45:06 PIT >> INFO : +FRETEQUIV Filters return vals mutants with bytecode equivalent to the unmutated class
18:45:06 PIT >> INFO : +FINULL Filters mutations in compiler generated code that checks for null by calling getClass
18:45:06 PIT >> INFO : +FTRYWR Filters mutations in code generated for try with resources statements
18:45:06 PIT >> INFO : +FKOTLIN Filters out junk mutations in bytecode created by compiler for kotlin language features
18:45:06 PIT >> INFO : +FSTATINIT Filters mutations in static initializers and code called only from them
18:45:06 PIT >> INFO : +FLOGCALL Filters mutations in code that makes calls to logging frameworks
18:45:06 PIT >> INFO : +FINFIT Filters mutations that may cause infinite loops by removing calls to iterator.next
18:45:06 PIT >> INFO : +FANN Filters mutations in classes and methods with matching annotations of class or runtime retention
18:45:06 PIT >> INFO : [annotation] Annotation to avoid (full package name not required)
18:45:06 PIT >> INFO : -CLASSLIMIT Limits the maximum number of mutations per class
18:45:06 PIT >> INFO : [limit] Integer value for maximum mutations to create per class
18:45:06 PIT >> INFO : -EXPORT Exports mutants bytecode and other details to disk
18:45:06 PIT >> INFO : ---------------------------------------------------------------------------
18:45:06 PIT >> FINE : Running report with ReportOptions [targetClasses=[com.sap.bulletinboard.ads.AppInitializer, com.sap.bulletinboard.ads.config.WebAppContextConfig, com.sap.bulletinboard.ads.config.SpringBootActuatorConfig, com.sap.bulletinboard.ads.controllers.NotFoundException, com.sap.bulletinboard.ads.controllers.AdvertisementController, com.sap.bulletinboard.ads.controllers.AdvertisementController$AdvertisementList, com.sap.bulletinboard.ads.controllers.DefaultController, com.sap.bulletinboard.ads.controllers.NotAuthorizedException, com.sap.bulletinboard.ads.controllers.BadRequestException, com.sap.bulletinboard.ads.controllers.HelloWorldController, com.sap.bulletinboard.ads.models.Advertisement], excludedMethods=[], excludedClasses=[*Test], excludedTestClasses=[], codePaths=[], reportDir=/Users/MYUSERNAME/Documents/workspace-sts4/.metadata/.plugins/org.pitest.pitclipse.core/html_results, historyInputLocation=null, historyOutputLocation=null, sourceDirs=[/Users/MYUSERNAME/git/cloud-bulletinboard-ads/src/main/java, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/src/test/java, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/src/main/resources, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/generated-sources/annotations, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/generated-test-sources/test-annotations], classPathElements=[/Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/classes, /Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/test-classes, /Users/MYUSERNAME/.m2/repository/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar, /Users/MYUSERNAME/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-web/4.3.3.RELEASE/spring-web-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-aop/4.3.3.RELEASE/spring-aop-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-beans/4.3.3.RELEASE/spring-beans-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-context/4.3.3.RELEASE/spring-context-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-core/4.3.3.RELEASE/spring-core-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-webmvc/4.3.3.RELEASE/spring-webmvc-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-expression/4.3.3.RELEASE/spring-expression-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar, /Users/MYUSERNAME/.m2/repository/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar, /Users/MYUSERNAME/.m2/repository/org/slf4j/slf4j-api/1.7.20/slf4j-api-1.7.20.jar, /Users/MYUSERNAME/.m2/repository/com/sap/hcp/cf/logging/cf-java-logging-support-logback/2.1.1/cf-java-logging-support-logback-2.1.1.jar, /Users/MYUSERNAME/.m2/repository/com/sap/hcp/cf/logging/cf-java-logging-support-core/2.1.1/cf-java-logging-support-core-2.1.1.jar, /Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/jr/jackson-jr-objects/2.8.4/jackson-jr-objects-2.8.4.jar, /Users/MYUSERNAME/.m2/repository/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar, /Users/MYUSERNAME/.m2/repository/com/sap/hcp/cf/logging/cf-java-logging-support-servlet/2.1.1/cf-java-logging-support-servlet-2.1.1.jar, /Users/MYUSERNAME/.m2/repository/com/auth0/java-jwt/3.2.0/java-jwt-3.2.0.jar, /Users/MYUSERNAME/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar, /Users/MYUSERNAME/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.55/bcprov-jdk15on-1.55.jar, /Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.1/jackson-databind-2.8.1.jar, /Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar, /Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.1/jackson-core-2.8.1.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/boot/spring-boot-actuator/1.2.5.RELEASE/spring-boot-actuator-1.2.5.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/boot/spring-boot/1.2.5.RELEASE/spring-boot-1.2.5.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.2.5.RELEASE/spring-boot-autoconfigure-1.2.5.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar, /Users/MYUSERNAME/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar, /Users/MYUSERNAME/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, /Users/MYUSERNAME/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar, /Users/MYUSERNAME/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar, /Users/MYUSERNAME/.m2/repository/junit/junit/4.12/junit-4.12.jar, /Users/MYUSERNAME/.m2/repository/org/springframework/spring-test/4.3.3.RELEASE/spring-test-4.3.3.RELEASE.jar, /Users/MYUSERNAME/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar, /Users/MYUSERNAME/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar, /Users/MYUSERNAME/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar, /Users/MYUSERNAME/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.runner_2.0.0.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.runner_2.0.0.jar/bin, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-1.4.6.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-entry-1.4.6.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-command-line-1.4.6.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-html-report-1.4.6.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/com.google.guava_27.1.0.v20190517-1946.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.listeners_2.0.0.jar, /Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.listeners_2.0.0.jar/bin], mutators=[DEFAULTS], features=[], dependencyAnalysisMaxDistance=-1, jvmArgs=[], numberOfThreads=8, timeoutFactor=1.25, timeoutConstant=3000, targetTests=[^com\.sap\.bulletinboard\.ads\.controllers\.AdvertisementControllerTest$], loggingClasses=[java.util.logging, org.apache.log4j, org.slf4j, org.apache.commons.logging], maxMutationsPerClass=0, verbose=true, failWhenNoMutations=false, outputs=[HTML, PITCLIPSE_MUTATIONS, PITCLIPSE_SUMMARY], groupConfig=TestGroupConfig [excludedGroups=[], includedGroups=[]], fullMutationMatrix=false, mutationUnitSize=0, shouldCreateTimestampedReports=true, detectInlinedCode=false, exportLineCoverage=false, mutationThreshold=0, coverageThreshold=0, mutationEngine=gregor, javaExecutable=null, includeLaunchClasspath=true, properties={}, maxSurvivors=-1, excludedRunners=[], includedTestMethods=[], testPlugin=junit, useClasspathJar=false, skipFailingTests=false]
18:45:06 PIT >> FINE : System class path is /Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/classes:/Users/MYUSERNAME/git/cloud-bulletinboard-ads/target/test-classes:/Users/MYUSERNAME/.m2/repository/javax/servlet/javax.servlet-api/3.0.1/javax.servlet-api-3.0.1.jar:/Users/MYUSERNAME/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-web/4.3.3.RELEASE/spring-web-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-aop/4.3.3.RELEASE/spring-aop-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-beans/4.3.3.RELEASE/spring-beans-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-context/4.3.3.RELEASE/spring-context-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-core/4.3.3.RELEASE/spring-core-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-webmvc/4.3.3.RELEASE/spring-webmvc-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-expression/4.3.3.RELEASE/spring-expression-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar:/Users/MYUSERNAME/.m2/repository/ch/qos/logback/logback-core/1.1.7/logback-core-1.1.7.jar:/Users/MYUSERNAME/.m2/repository/org/slf4j/slf4j-api/1.7.20/slf4j-api-1.7.20.jar:/Users/MYUSERNAME/.m2/repository/com/sap/hcp/cf/logging/cf-java-logging-support-logback/2.1.1/cf-java-logging-support-logback-2.1.1.jar:/Users/MYUSERNAME/.m2/repository/com/sap/hcp/cf/logging/cf-java-logging-support-core/2.1.1/cf-java-logging-support-core-2.1.1.jar:/Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/jr/jackson-jr-objects/2.8.4/jackson-jr-objects-2.8.4.jar:/Users/MYUSERNAME/.m2/repository/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar:/Users/MYUSERNAME/.m2/repository/com/sap/hcp/cf/logging/cf-java-logging-support-servlet/2.1.1/cf-java-logging-support-servlet-2.1.1.jar:/Users/MYUSERNAME/.m2/repository/com/auth0/java-jwt/3.2.0/java-jwt-3.2.0.jar:/Users/MYUSERNAME/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/Users/MYUSERNAME/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.55/bcprov-jdk15on-1.55.jar:/Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.1/jackson-databind-2.8.1.jar:/Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.0/jackson-annotations-2.8.0.jar:/Users/MYUSERNAME/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.1/jackson-core-2.8.1.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/boot/spring-boot-actuator/1.2.5.RELEASE/spring-boot-actuator-1.2.5.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/boot/spring-boot/1.2.5.RELEASE/spring-boot-1.2.5.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.2.5.RELEASE/spring-boot-autoconfigure-1.2.5.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/org/yaml/snakeyaml/1.14/snakeyaml-1.14.jar:/Users/MYUSERNAME/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar:/Users/MYUSERNAME/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/Users/MYUSERNAME/.m2/repository/org/mockito/mockito-core/1.10.19/mockito-core-1.10.19.jar:/Users/MYUSERNAME/.m2/repository/org/objenesis/objenesis/2.1/objenesis-2.1.jar:/Users/MYUSERNAME/.m2/repository/junit/junit/4.12/junit-4.12.jar:/Users/MYUSERNAME/.m2/repository/org/springframework/spring-test/4.3.3.RELEASE/spring-test-4.3.3.RELEASE.jar:/Users/MYUSERNAME/.m2/repository/com/jayway/jsonpath/json-path/2.2.0/json-path-2.2.0.jar:/Users/MYUSERNAME/.m2/repository/net/minidev/json-smart/2.2.1/json-smart-2.2.1.jar:/Users/MYUSERNAME/.m2/repository/net/minidev/accessors-smart/1.1/accessors-smart-1.1.jar:/Users/MYUSERNAME/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.runner_2.0.0.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.runner_2.0.0.jar/bin:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-1.4.6.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-entry-1.4.6.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-command-line-1.4.6.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest_1.4.6/pitest-html-report-1.4.6.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/com.google.guava_27.1.0.v20190517-1946.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.listeners_2.0.0.jar:/Applications/SpringToolSuite4.app/Contents/Eclipse/plugins/org.pitest.pitclipse.listeners_2.0.0.jar/bin
18:45:06 PIT >> FINE : Maximum available memory is 3641 mb
18:45:07 PIT >> FINE : MINION : Installing PIT agent
18:45:07 PIT >> INFO : Sending 1 test classes to minion
18:45:07 PIT >> INFO : Sent tests to minion
18:45:07 PIT >> INFO : MINION : 18:45:07 PIT >> FINE : Expecting 1 tests classes from parent
18:45:07 PIT >> FINE : Tests classes received
18:45:07 PIT >> INFO : Checking environment
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper getDefaultTestExecutionListenerClassNames
INFORMATION: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.
18:45:07 PIT >> INFO : MINION : test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.supp
18:45:07 PIT >> INFO : MINION : ort.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]. Specify custom li
18:45:07 PIT >> INFO : MINION : stener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify
18:45:07 PIT >> INFO : MINION : custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper getTestExecutionListeners
INFORMATION: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@64729b1e, org.springframework.te
18:45:07 PIT >> INFO : MINION : st.context.support.DirtiesContextBeforeModesTestExecutionListener@10bbd20a, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@48503868, org.springframework.test.context.support.DirtiesContextTestExecutionListener@6895a785]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper getDefaultTestExecutionListenerClassNames
INFORMATION: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.
18:45:07 PIT >> INFO : MINION : test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.supp
18:45:07 PIT >> INFO : MINION : ort.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]. Specify custom li
18:45:07 PIT >> INFO : MINION : stener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify
18:45:07 PIT >> INFO : MINION : custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper getTestExecutionListeners
INFORMATION: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3cb1ffe6, org.springframework.te
18:45:07 PIT >> INFO : MINION : st.context.support.DirtiesContextBeforeModesTestExecutionListener@3dfc5fb8, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@467aecef, org.springframework.test.context.support.DirtiesContextTestExecutionListener@4d50efb8]
18:45:07 PIT >> INFO : MINION : 18:45:07 PIT >> INFO : Found 5 tests
18:45:07 PIT >> INFO : MINION : 18:45:07 PIT >> INFO : Dependency analysis reduced number of potential tests by 0
18:45:07 PIT >> INFO : 5 tests received
18:45:07 PIT >> INFO : MINION : 18:45:07 PIT >> FINE : Running 5 units
18:45:07 PIT >> INFO : MINION : 18:45:07 PIT >> FINE : Gathering coverage for test Description [testClass=com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest, name=create(com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest)]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper getDefaultTestExecutionListenerClassNames
INFORMATION: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.
18:45:07 PIT >> INFO : MINION : test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.supp
18:45:07 PIT >> INFO : MINION : ort.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]. Specify custom li
18:45:07 PIT >> INFO : MINION : stener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify
18:45:07 PIT >> INFO : MINION : custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.test.context.web.WebTestContextBootstrapper getTestExecutionListeners
INFORMATION: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@c81cdd1, org.springframework.tes
18:45:07 PIT >> INFO : MINION : t.context.support.DirtiesContextBeforeModesTestExecutionListener@1fc2b765, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@75881071, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2a70a3d8]
18:45:07 PIT >> INFO : MINION : Feb 13, 2020 6:45:07 PM org.springframework.web.context.support.GenericWebApplicationContext prepareRefresh
INFORMATION: Refreshing org.springframework.web.context.support.GenericWebApplicationContext@1da51a35: startup date [Thu Feb 13 18:45:07 CET 2020];
18:45:07 PIT >> INFO : MINION : root of context hierarchy
18:45:08 PIT >> INFO : MINION : Feb 13, 2020 6:45:08 PM org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor <init>
INFORMATION: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
18:45:08 PIT >> INFO : MINION : Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFORMATION: Mapped "{[/api/v1/ads],methods=[POST]}" onto public org.springframework.http.ResponseEntity<com.sap.bulletinboard.ads.models.Ad
18:45:08 PIT >> INFO : MINION : vertisement> com.sap.bulletinboard.ads.controllers.AdvertisementController.add(com.sap.bulletinboard.ads.models.Advertisement,org.springframework.web.util.UriComponentsBuilder) throws java.net.URISyntaxException
18:45:08 PIT >> INFO : MINION : Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFORMATION: Mapped "{[/api/v1/ads],methods=[GET]}" onto public com.sap.bulletinboard.ads.controllers.AdvertisementController$AdvertisementL
18:45:08 PIT >> INFO : MINION : ist com.sap.bulletinboard.ads.controllers.AdvertisementController.advertisements()
Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFORMATION: Mapped "{[/api/v1/ads/{id}],methods=[GET]}"
18:45:08 PIT >> INFO : MINION : onto public com.sap.bulletinboard.ads.models.Advertisement com.sap.bulletinboard.ads.controllers.AdvertisementController.advertisementById(java.lang.Long)
Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMa
18:45:08 PIT >> INFO : MINION : pping register
INFORMATION: Mapped "{[/],methods=[GET]}" onto public java.lang.String com.sap.bulletinboard.ads.controllers.DefaultController.get()
18:45:08 PIT >> INFO : MINION : Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFORMATION: Mapped "{[/hello/{name}],methods=[GET]}" onto public java.lang.String com.sap.bulletinboard.ads.controllers.HelloWorldControlle
18:45:08 PIT >> INFO : MINION : r.responseMsg(java.lang.String)
18:45:08 PIT >> INFO : MINION : Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFORMATION: Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.
18:45:08 PIT >> INFO : MINION : springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
18:45:08 PIT >> INFO : MINION : Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping register
INFORMATION: Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.auto
18:45:08 PIT >> INFO : MINION : configure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest)
18:45:08 PIT >> INFO : MINION : Feb 13, 2020 6:45:08 PM org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter initControllerAdviceCache
INFORMATION: Looking for @ControllerAdvice: org.springframework.web.context.support.GenericWebApplicationContext@1da51a35:
18:45:08 PIT >> INFO : MINION : startup date [Thu Feb 13 18:45:07 CET 2020]; root of context hierarchy
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/autoconfig],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION :
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/configprops],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke(
18:45:09 PIT >> INFO : MINION : )
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/env/{name:.*}],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.v
18:45:09 PIT >> INFO : MINION : alue(java.lang.String)
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/env],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/trace],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/dump],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/metrics/{name:.*}],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.v
18:45:09 PIT >> INFO : MINION : alue(java.lang.String)
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/metrics],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/info],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/health]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(java.security.Princi
18:45:09 PIT >> INFO : MINION : pal)
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/beans],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.mvc.EndpointHandlerMapping register
INFORMATION: Mapped "{[/mappings],methods=[GET]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.jmx.export.annotation.AnnotationMBeanExporter afterSingletonsInstantiated
INFORMATION: Registering beans for JMX exposure on startup
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter afterSingletonsInstantiated
INFORMATION: Registering beans for JMX exposure on startup
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.context.support.DefaultLifecycleProcessor start
INFORMATION: Starting beans in phase 0
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'requestMappingEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=r
18:45:09 PIT >> INFO : MINION : equestMappingEndpoint]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'environmentEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=envi
18:45:09 PIT >> INFO : MINION : ronmentEndpoint]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'healthEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=healthEnd
18:45:09 PIT >> INFO : MINION : point]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'beansEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=beansEndpo
18:45:09 PIT >> INFO : MINION : int]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'infoEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=infoEndpoin
18:45:09 PIT >> INFO : MINION : t]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'metricsEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=metricsE
18:45:09 PIT >> INFO : MINION : ndpoint]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'traceEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=traceEndpo
18:45:09 PIT >> INFO : MINION : int]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'dumpEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoint,name=dumpEndpoin
18:45:09 PIT >> INFO : MINION : t]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'autoConfigurationAuditEndpoint': registering with JMX server as MBean [org.springframework.boot:type=Endpoin
18:45:09 PIT >> INFO : MINION : t,name=autoConfigurationAuditEndpoint]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.boot.actuate.endpoint.jmx.EndpointMBeanExporter registerBeanInstance
INFORMATION: Located managed bean 'configurationPropertiesReportEndpoint': registering with JMX server as MBean [org.springframework.boot:type=
18:45:09 PIT >> INFO : MINION : Endpoint,name=configurationPropertiesReportEndpoint]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.mock.web.MockServletContext log
INFORMATION: Initializing Spring FrameworkServlet ''
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization started
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization completed in 12 ms
18:45:09 PIT >> INFO : MINION : 18:45:09 PIT >> WARNING : More threads at end of test (5) create(com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest) than start. (4)
18:45:09 PIT >> INFO : MINION : 18:45:09 PIT >> FINE : Gathering coverage for test Description [testClass=com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest, name=createAndGetByLocation(com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest)]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getDefaultTestExecutionListenerClassNames
INFORMATION: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.
18:45:09 PIT >> INFO : MINION : test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.supp
18:45:09 PIT >> INFO : MINION : ort.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]. Specify custom li
18:45:09 PIT >> INFO : MINION : stener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify
18:45:09 PIT >> INFO : MINION : custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getTestExecutionListeners
INFORMATION: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@1e008f36, org.springframework.te
18:45:09 PIT >> INFO : MINION : st.context.support.DirtiesContextBeforeModesTestExecutionListener@50acf55d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@3cae7b8b, org.springframework.test.context.support.DirtiesContextTestExecutionListener@184dbacc]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.mock.web.MockServletContext log
INFORMATION: Initializing Spring FrameworkServlet ''
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization started
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization completed in 1 ms
18:45:09 PIT >> INFO : MINION : 18:45:09 PIT >> FINE : Gathering coverage for test Description [testClass=com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest, name=readAll(com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest)]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getDefaultTestExecutionListenerClassNames
INFORMATION: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.
18:45:09 PIT >> INFO : MINION : test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.supp
18:45:09 PIT >> INFO : MINION : ort.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]. Specify custom li
18:45:09 PIT >> INFO : MINION : stener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify
18:45:09 PIT >> INFO : MINION : custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getTestExecutionListeners
INFORMATION: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@5bcb04cb, org.springframework.te
18:45:09 PIT >> INFO : MINION : st.context.support.DirtiesContextBeforeModesTestExecutionListener@385e36d4, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@2fc2a205, org.springframework.test.context.support.DirtiesContextTestExecutionListener@2881ad47]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.mock.web.MockServletContext log
INFORMATION: Initializing Spring FrameworkServlet ''
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization started
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization completed in 1 ms
18:45:09 PIT >> INFO : MINION : 18:45:09 PIT >> FINE : Gathering coverage for test Description [testClass=com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest, name=readById(com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest)]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getDefaultTestExecutionListenerClassNames
INFORMATION: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.
18:45:09 PIT >> INFO : MINION : test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.supp
18:45:09 PIT >> INFO : MINION : ort.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]. Specify custom li
18:45:09 PIT >> INFO : MINION : stener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify
18:45:09 PIT >> INFO : MINION : custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getTestExecutionListeners
INFORMATION: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@bd1111a, org.springframework.tes
18:45:09 PIT >> INFO : MINION : t.context.support.DirtiesContextBeforeModesTestExecutionListener@7a8136b3, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1de6932a, org.springframework.test.context.support.DirtiesContextTestExecutionListener@14dc3f89]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.mock.web.MockServletContext log
INFORMATION: Initializing Spring FrameworkServlet ''
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization started
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization completed in 2 ms
18:45:09 PIT >> INFO : MINION : 18:45:09 PIT >> FINE : Gathering coverage for test Description [testClass=com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest, name=readByIdNotFound(com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest)]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getDefaultTestExecutionListenerClassNames
INFORMATION: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.
18:45:09 PIT >> INFO : MINION : test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.supp
18:45:09 PIT >> INFO : MINION : ort.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]. Specify custom li
18:45:09 PIT >> INFO : MINION : stener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper instantiateListeners
INFORMATION: Could not instantiate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener]. Specify
18:45:09 PIT >> INFO : MINION : custom listener classes or make the default listener classes (and their required dependencies) available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.context.web.WebTestContextBootstrapper getTestExecutionListeners
INFORMATION: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@455824ad, org.springframework.te
18:45:09 PIT >> INFO : MINION : st.context.support.DirtiesContextBeforeModesTestExecutionListener@7318daf8, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@70f31322, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3f1ddac2]
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.mock.web.MockServletContext log
INFORMATION: Initializing Spring FrameworkServlet ''
18:45:09 PIT >> INFO : MINION : Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
INFORMATION: FrameworkServlet '': initialization started
Feb 13, 2020 6:45:09 PM org.springframework.test.web.servlet.TestDispatcherServlet initServletBean
I
18:45:09 PIT >> INFO : MINION : NFORMATION: FrameworkServlet '': initialization completed in 2 ms
18:45:09 PIT >> FINE : Coverage generator Minion exited ok
18:45:09 PIT >> INFO : Calculated coverage in 2 seconds.
18:45:09 PIT >> FINE : Used memory after coverage calculation 44 mb
18:45:09 PIT >> FINE : Free Memory after coverage calculation 201 mb
Exception in thread "main" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:155)
at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:142)
at org.pitest.bytecode.analysis.ClassTree.fromBytes(ClassTree.java:31)
at org.pitest.mutationtest.build.MutationSource.createMutations(MutationSource.java:61)
at org.pitest.mutationtest.build.MutationTestBuilder.lambda$classToMutations$1(MutationTestBuilder.java:94)
at org.pitest.functional.FCollection.flatMapTo(FCollection.java:58)
at org.pitest.functional.FCollection.flatMap(FCollection.java:68)
at org.pitest.mutationtest.build.MutationTestBuilder.createMutationTestUnits(MutationTestBuilder.java:58)
at org.pitest.mutationtest.tooling.MutationCoverage.buildMutationTests(MutationCoverage.java:281)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:135)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:120)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:50)
at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:87)
at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
at org.pitest.pitclipse.runner.PitRunner.lambda$1(PitRunner.java:63)
at com.google.common.base.Present.transform(Present.java:75)
at org.pitest.pitclipse.runner.PitRunner.main(PitRunner.java:47)
Same here.
Sometimes I think it may be something about permission when trying to write the report, since Pitclipse finds the tests and apparently executes and coverage them.
OS: Ubuntu 18.04.3 LTS IDE: Eclipse 2019-03 openjdk version "1.8.0_212" OpenJDK Runtime Environment (Zulu 8.38.0.13-CA-linux64) (build 1.8.0_212-b04) OpenJDK 64-Bit Server VM (Zulu 8.38.0.13-CA-linux64) (build 25.212-b04, mixed mode)
10:37:34 PIT >> FINE : Maximum available memory is 3490 mb
10:37:35 PIT >> FINE : MINION : Installing PIT agent
...
10:37:35 PIT >> INFO : Sending 1 test classes to minion
10:37:35 PIT >> INFO : Sent tests to minion
10:37:35 PIT >> INFO : MINION : 10:37:35 PIT >> FINE : Expecting 1 tests classes from parent
10:37:35 PIT >> FINE : Tests classes received
10:37:35 PIT >> INFO : Checking environment
10:37:35 PIT >> INFO : MINION : 10:37:35 PIT >> INFO : Found 4 tests
...
10:37:35 PIT >> INFO : MINION : 10:37:35 PIT >> FINE : Running 4 units
10:37:35 PIT >> INFO : MINION : 10:37:35 PIT >> FINE : Gathering coverage for test Description [testClass=go.engineering.infrastructure.persistence.AllTaskSnapshotsPersistentTest, name=should_add_a_task_snapshot_with_composed_task(go.engineering.infrastructure.persistence.AllTaskSnapshot
10:37:35 PIT >> INFO : MINION : sPersistentTest)]
..
10:37:35 PIT >> FINE : Coverage generator Minion exited ok
10:37:35 PIT >> INFO : Calculated coverage in 0 seconds.
10:37:35 PIT >> FINE : Used memory after coverage calculation 83 mb
10:37:35 PIT >> FINE : Free Memory after coverage calculation 152 mb
Exception in thread "main" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
at org.objectweb.asm.ClassVisitor.<init>(Unknown Source)
at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:155)
at org.objectweb.asm.tree.ClassNode.<init>(ClassNode.java:142)
at org.pitest.bytecode.analysis.ClassTree.fromBytes(ClassTree.java:31)
at org.pitest.mutationtest.build.MutationSource.createMutations(MutationSource.java:61)
at org.pitest.mutationtest.build.MutationTestBuilder.lambda$classToMutations$1(MutationTestBuilder.java:94)
at org.pitest.functional.FCollection.flatMapTo(FCollection.java:58)
at org.pitest.functional.FCollection.flatMap(FCollection.java:68)
at org.pitest.mutationtest.build.MutationTestBuilder.createMutationTestUnits(MutationTestBuilder.java:58)
at org.pitest.mutationtest.tooling.MutationCoverage.buildMutationTests(MutationCoverage.java:281)
at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:135)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:120)
at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:50)
at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:87)
at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45)
at org.pitest.pitclipse.runner.PitRunner.lambda$1(PitRunner.java:63)
at com.google.common.base.Present.transform(Present.java:79)
at org.pitest.pitclipse.runner.PitRunner.main(PitRunner.java:47)
Thanks for your feedbacks, I'll take a deeper look at this in the incoming days
@MahatmaFatalError, @lepsistemas, @LorenzoBettini
I just released v2.0.2
which should fix the issue. Could you test it and confirm that it works?
@echebbi Thanks for the fast update, however, the fix does not work for me:
Connecting to: localhost/127.0.0.1:57270
Connected
Received request: PitRequest [options=PitOptions [reportDir=/Users/myuser/Documents/workspace-sts4/.metadata/.plugins/org.pitest.pitclipse.core/html_results, classUnderTest=com.sap.bulletinboard.ads.controllers.AdvertisementControllerTest, classesToMutate=[com.sap.bulletinboard.ads.AppInitializer, com.sap.bulletinboard.ads.config.WebAppContextConfig, com.sap.bulletinboard.ads.config.SpringBootActuatorConfig, com.sap.bulletinboard.ads.controllers.NotFoundException, com.sap.bulletinboard.ads.controllers.AdvertisementController, com.sap.bulletinboard.ads.controllers.AdvertisementController$AdvertisementList, com.sap.bulletinboard.ads.controllers.DefaultController, com.sap.bulletinboard.ads.controllers.NotAuthorizedException, com.sap.bulletinboard.ads.controllers.BadRequestException, com.sap.bulletinboard.ads.controllers.HelloWorldController, com.sap.bulletinboard.ads.models.Advertisement], sourceDirs=[/Users/myuser/git/cloud-bulletinboard-ads/src/main/java, /Users/myuser/git/cloud-bulletinboard-ads/src/test/java, /Users/myuser/git/cloud-bulletinboard-ads/src/main/resources, /Users/myuser/git/cloud-bulletinboard-ads/target/generated-sources/annotations, /Users/myuser/git/cloud-bulletinboard-ads/target/generated-test-sources/test-annotations], packages=[], threads=8, historyLocation=null, excludedClasses=[*Test], excludedMethods=[], avoidCallsTo=[java.util.logging, org.apache.log4j, org.slf4j, org.apache.commons.logging], mutators=[DEFAULTS], timeoutConst=3000, timeoutFactor=1.25], projects=[bulletinboard-ads]]
Exception in thread "main" java.lang.NoClassDefFoundError: org/pitest/mutationtest/commandline/MutationCoverageReport
at org.pitest.pitclipse.runner.PitRunner.lambda$1(PitRunner.java:63)
at com.google.common.base.Present.transform(Present.java:75)
at org.pitest.pitclipse.runner.PitRunner.main(PitRunner.java:47)
Caused by: java.lang.ClassNotFoundException: org.pitest.mutationtest.commandline.MutationCoverageReport
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 3 more
BTW, the Animals sample project you provided doesn't work either with the same exception.
@MahatmaFatalError that Pitest 1.4.6
looks suspicious to me: Pitest has been updated to 1.4.11 in https://github.com/pitest/pitclipse/commit/cc79b0f581783959717bde55457e816d39ed3792
@echebbi version 2.0.2 ships with Pitest 1.4.11 doesn't it?
@echebbi by looking at the update site we have https://dl.bintray.com/kazejiyu/Pitclipse/releases/2.0.2/features/:org.pitest.feature_1.4.6.jar (this corresponds to the feature Pitest
in the above screenshot), so the version number is wrong: it is the same as the previous version, thus p2 does not update that feature and then you get the old version of pitest, leading to the class not found error.
@MahatmaFatalError could you please try and uninstall Pitclipse and then install it again?
@echebbi @MahatmaFatalError at least that's my interpretation of the problem, I can't try that myself now.
@LorenzoBettini yes, version 2.0.2 ships Pitest 1.4.11. I believe that the number 1.4.6 comes from the feature.xml
file which I forgot to update.
It actually looks like the pitest-command-line.jar
is missing (or at least not properly added to the classpath); I don't understand why as I successfully used Pitclipse from a local update site but I'll check this.
That being said, it looks like my local update site provides the Pitest plug-in v1.4.11 as expected:
whereas the update site deployed online provides Pitest 1.4.6:
even though it looks like the right JARs have been deployed:
Honestly that puzzles me. I'll try to fix the version of the org.pitest
feature then redeploy Pitclipse 2.0.2, just in case.
Ok, 2.0.2 deployed again and works as expected, sorry for the inconvenience. @MahatmaFatalError could you please try again?
I reinstalled Pitest 1.4.11 and Pitclipse 2.0.2 and now it functioning! Great work, highly appreciated! 👍
Great, I'm glad the issue is finally fixed. Thanks for your feedbacks.
Thank you @echebbi it fixed for me as well.
I am still facing this issue installed directly from the marketplace.
Pitclipse version 2.2.0 Eclipse version 4.28.0 jdk version 20 Operating System macOS Monterey
I am still facing this issue installed directly from the marketplace.
Pitclipse version 2.2.0 Eclipse version 4.28.0 jdk version 20 Operating System macOS Monterey
This has nothing to do with the original problem: this is about your Java version (20) not being supported by the version of pit used by pitclipse.
I am always getting the following errors when I try to run my jUnit tests with PIT.
I am using macOs High Sierra, with JDK 1.9 and with Eclipse Oxygen .2 Release 4.7; Pitclipse 0.31.4.201401081810 installed directly from the marketplace.
I have also tried with the lastest Eclipse Oxygen .3 Release and JDK1.10
Connecting to: localhost/127.0.0.1:55327 Connected Received request: PitRequest [options=PitOptions [reportDir=/Users/ricardo/Documents/eclipse-workspace/.metadata/.plugins/org.pitest.pitclipse.core/html_results, classUnderTest=null, classesToMutate=[dkeep.cli.DungeonKeep, dkeep.cli.Interpreter, dkeep.gui.GUIInterpreter, dkeep.gui.DungeonKeppGUI, dkeep.logic.LevelTwo, dkeep.logic.Map, dkeep.logic.Level, dkeep.logic.Hero, dkeep.logic.Guard, dkeep.logic.LevelOne, dkeep.logic.Basher, dkeep.logic.OnlyOneInstanceException, dkeep.logic.Personality, dkeep.logic.Move, dkeep.logic.WrongCallException, dkeep.logic.GameElements, dkeep.logic.MessageType, dkeep.logic.Game, dkeep.logic.Rookie, dkeep.logic.Sentinel, dkeep.logic.LevelOptions, dkeep.logic.AvailableLevels, dkeep.logic.Characters, dkeep.logic.Wall, dkeep.logic.Club, dkeep.logic.Ogre, dkeep.logic.Drunken, dkeep.logic.Lever, dkeep.logic.Door, dkeep.logic.Objects, dkeep.logic.MessageCenter, dkeep.logic.Suspicious, dkeep.logic.Weapon, dkeep.logic.Key, dkeep.logic.EmptySpace, dkeep.test.TestInterpreter, dkeep.test.Z_GameTests_ToDelete, dkeep.test.GameTests], sourceDirs=[/Users/ricardo/Documents/eclipse-workspace/LPOO1718_T1G/guided_project/src], packages=[dkeep.test.*], threads=4, historyLocation=null, excludedClasses=[], excludedMethods=[], avoidCallsTo=[java.util.logging, org.apache.log4j, org.slf4j, org.apache.commons.logging], mutators=[DEFAULTS], timeoutConst=3000, timeoutFactor=1.25], projects=[guided_project]] WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.pitest.reloc.xstream.core.util.Fields (file:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.osgi_1.1.9.jar) to field java.util.TreeMap.comparator WARNING: Please consider reporting this to the maintainers of org.pitest.reloc.xstream.core.util.Fields WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 11:50:50 AM PIT >> FINE : Running report with ReportOptions [targetClasses=[^dkeep\.cli\.DungeonKeep$, ^dkeep\.cli\.Interpreter$, ^dkeep\.gui\.GUIInterpreter$, ^dkeep\.gui\.DungeonKeppGUI$, ^dkeep\.logic\.LevelTwo$, ^dkeep\.logic\.Map$, ^dkeep\.logic\.Level$, ^dkeep\.logic\.Hero$, ^dkeep\.logic\.Guard$, ^dkeep\.logic\.LevelOne$, ^dkeep\.logic\.Basher$, ^dkeep\.logic\.OnlyOneInstanceException$, ^dkeep\.logic\.Personality$, ^dkeep\.logic\.Move$, ^dkeep\.logic\.WrongCallException$, ^dkeep\.logic\.GameElements$, ^dkeep\.logic\.MessageType$, ^dkeep\.logic\.Game$, ^dkeep\.logic\.Rookie$, ^dkeep\.logic\.Sentinel$, ^dkeep\.logic\.LevelOptions$, ^dkeep\.logic\.AvailableLevels$, ^dkeep\.logic\.Characters$, ^dkeep\.logic\.Wall$, ^dkeep\.logic\.Club$, ^dkeep\.logic\.Ogre$, ^dkeep\.logic\.Drunken$, ^dkeep\.logic\.Lever$, ^dkeep\.logic\.Door$, ^dkeep\.logic\.Objects$, ^dkeep\.logic\.MessageCenter$, ^dkeep\.logic\.Suspicious$, ^dkeep\.logic\.Weapon$, ^dkeep\.logic\.Key$, ^dkeep\.logic\.EmptySpace$, ^dkeep\.test\.TestInterpreter$, ^dkeep\.test\.Z_GameTests_ToDelete$, ^dkeep\.test\.GameTests$], excludedMethods=[], excludedClasses=[], codePaths=[], reportDir=/Users/ricardo/Documents/eclipse-workspace/.metadata/.plugins/org.pitest.pitclipse.core/html_results, historyInputLocation=null, historyOutputLocation=null, sourceDirs=[/Users/ricardo/Documents/eclipse-workspace/LPOO1718_T1G/guided_project/src], classPathElements=[/Users/ricardo/Documents/eclipse-workspace/LPOO1718_T1G/guided_project/bin, /Applications/Eclipse.app/Contents/Eclipse/plugins/org.junit_4.12.0.v201504281640/junit.jar, /Applications/Eclipse.app/Contents/Eclipse/plugins/org.hamcrest.core_1.3.0.v201303031735.jar, /Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.command-line-osgi_1.1.9.jar, /Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.html-report-osgi_1.1.9.jar, /Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.osgi_1.1.9.jar, /Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.pitrunner_1.1.6.201607050705.jar, /Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.guava-shade-osgi_18.0.0.jar], mutators=[DEFAULTS], dependencyAnalysisMaxDistance=-1, mutateStaticInitializers=false, jvmArgs=[], numberOfThreads=4, timeoutFactor=1.25, timeoutConstant=3000, targetTests=[^dkeep\.test\..*$], loggingClasses=[java.util.logging, org.apache.log4j, org.slf4j, org.apache.commons.logging], maxMutationsPerClass=0, verbose=true, failWhenNoMutations=false, outputs=[HTML, PITCLIPSE_MUTATIONS], groupConfig=TestGroupConfig [excludedGroups=[], includedGroups=[]], mutationUnitSize=0, shouldCreateTimestampedReports=true, detectInlinedCode=false, exportLineCoverage=false, mutationThreshold=0, coverageThreshold=0, mutationEngine=gregor, javaExecutable=null, includeLaunchClasspath=true] 11:50:50 AM PIT >> FINE : System class path is /Users/ricardo/Documents/eclipse-workspace/LPOO1718_T1G/guided_project/bin:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.junit_4.12.0.v201504281640/junit.jar:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.hamcrest.core_1.3.0.v201303031735.jar:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.command-line-osgi_1.1.9.jar:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.html-report-osgi_1.1.9.jar:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.osgi_1.1.9.jar:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.pitrunner_1.1.6.201607050705.jar:/Applications/Eclipse.app/Contents/Eclipse/plugins/org.pitest.guava-shade-osgi_18.0.0.jar 11:50:50 AM PIT >> FINE : Maximum available memory is 2048 mb Closing server Closed Exception in thread "main" java.lang.IllegalArgumentException at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source) at org.pitest.reloc.asm.ClassReader.<init>(Unknown Source) at org.pitest.classinfo.ClassInfoVisitor.getClassInfo(ClassInfoVisitor.java:41) at org.pitest.classinfo.Repository.nameToClassInfo(Repository.java:70) at org.pitest.classinfo.Repository.fetchClass(Repository.java:60) at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:16) at org.pitest.classinfo.NameToClassInfo.apply(NameToClassInfo.java:6) at org.pitest.functional.FCollection.flatMapTo(FCollection.java:56) at org.pitest.functional.FCollection.flatMap(FCollection.java:66) at org.pitest.classpath.CodeSource.getCode(CodeSource.java:46) at org.pitest.mutationtest.verify.DefaultBuildVerifier.verify(DefaultBuildVerifier.java:32) at org.pitest.mutationtest.tooling.MutationCoverage.verifyBuildSuitableForMutationTesting(MutationCoverage.java:206) at org.pitest.mutationtest.tooling.MutationCoverage.runReport(MutationCoverage.java:108) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:103) at org.pitest.mutationtest.tooling.EntryPoint.execute(EntryPoint.java:45) at org.pitest.mutationtest.commandline.MutationCoverageReport.runReport(MutationCoverageReport.java:76) at org.pitest.mutationtest.commandline.MutationCoverageReport.main(MutationCoverageReport.java:45) at org.pitest.pitclipse.pitrunner.PitRunner.runPIT(PitRunner.java:46) at org.pitest.pitclipse.pitrunner.PitRunner.main(PitRunner.java:25)