-
Notifications
You must be signed in to change notification settings - Fork 94
java.lang.IllegalStateException: LimitObjectGene has no value when trying to generate whitbox tests #813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Here is my EMDriver: ` import org.evomaster.client.java.controller.AuthUtils; import br.Application; @Api(value = "API REST")
} |
thx.
|
@arcuri82 Thank you again, I tried running the latest version: 1.6.1, and I succeeded :-) And the final result had some odd variables, like Bytecode line coverage: NaN% and a large number of potential faults. I'm trying to run EM with --maxtime 120m now |
|
thanks. few things:
|
issue #813: better info if getPackagePrefixesToCover() is misconfigured
hi @victorhugofr , could you please check if you still get the same issue with the latest 2.0.0 release? (we have made several fixes with might be related to the issues you experienced) |
closed as it might be fixed, and no further info has been provided |
When i try to run whitebox mode, EM returns an error:
* [ERROR] EvoMaster process terminated abruptly. This is likely a bug in EvoMaster. Please copy&paste the fol lowing stacktrace, and create a new issue on https://github.com/EMResearch/EvoMaster/issues java.lang.IllegalStateException: LimitObjectGene has no value at org.evomaster.core.search.gene.LimitObjectGene.getValueAsPrintableString(LimitObjectGene.kt:32) at org.evomaster.core.search.gene.Gene.getValueAsPrintableString$default(Gene.kt:267) at org.evomaster.core.search.gene.OptionalGene.getValueAsPrintableString(OptionalGene.kt:143) at org.evomaster.core.search.gene.Gene.getValueAsPrintableString$default(Gene.kt:267) at org.evomaster.core.search.gene.ObjectGene.getValueAsPrintableString(ObjectGene.kt:108) at org.evomaster.core.search.gene.Gene.getValueAsPrintableString$default(Gene.kt:267) at org.evomaster.core.search.gene.OptionalGene.getValueAsPrintableString(OptionalGene.kt:143) at org.evomaster.core.search.gene.Gene.getValueAsPrintableString$default(Gene.kt:267) at org.evomaster.core.problem.rest.service.RestResourceFitness.doCalculateCoverage(RestResourceFitness.kt:76) at org.evomaster.core.problem.rest.service.RestResourceFitness.doCalculateCoverage(RestResourceFitness.kt:17) at org.evomaster.core.search.service.FitnessFunction.calculateIndividualWithPostHandling(FitnessFunction.kt:104) at org.evomaster.core.search.service.FitnessFunction.calculateCoverage(FitnessFunction.kt:56) at org.evomaster.core.search.service.FitnessFunction.calculateCoverage$default(FitnessFunction.kt:48) at org.evomaster.core.search.algorithms.MioAlgorithm.searchOnce(MioA lgorithm.kt:38) at org.evomaster.core.search.service.SearchAlgorithm.search(SearchAlgorithm.kt:66) at org.evomaster.core.Main$Companion.run(Main.kt:437) at org.evomaster.core.Main$Companion.initAndRun(Main.kt:150) at org.evomaster.core.Main$Companion.main(Main.kt:74) at org.evomaster.core.Main.main(Main.kt)
Version of EM: 1.5.0
Running from JAR
Command-line options: java -jar evomaster.jar --outputFolder src/test/java --generateSqlDataWithSearch false --heuristicsForSQL false
The text was updated successfully, but these errors were encountered: