evosuite-plus-plus icon indicating copy to clipboard operation
evosuite-plus-plus copied to clipboard

Null pointer problem in running ProjectOverallTest.java

Open peri103 opened this issue 2 years ago • 0 comments

Context

After I downloaded the code and configured it in eclipse, I ran ProjectOverallTest.java. It is found that when the Boolean value aor is set to false, the program can get two files: BasicRules_ESTest_scaffoldin.java and BasicRules_ESTest.java. However, when I change the value of aor to true, the program will get a null pointer error. I am not sure whether it‘s the code error or configurations have some error such as some paths.

Steps to Reproduce

  1. Set the boolean aor = true (the testBasicRulesObj method in ProjectOverallTest.java)2. 2.
  2. Run it
  3. See error

Current Result

Error when generating tests for: feature.objectconstruction.testgeneration.example.graphcontruction.BasicRules.checkRules.BasicRules with seed 1655267180609. Configuration id : null image image

Environment

OS: MacOS Eclipse version: 4.23.0

peri103 avatar Jun 15 '22 13:06 peri103