pddl4j
pddl4j copied to clipboard
NullPointerException goal is null
Hello, I have a NullPointerException with my problem and my domain which seems to me correct.
The error is :
java.lang.NullPointerException: Cannot invoke "fr.uga.pddl4j.problem.operator.Condition.cardinality()" because the return value of "fr.uga.pddl4j.heuristics.state.AbstractStateHeuristic.getGoal()" is null
However I have a goal in my problem file.
Here the pddl files : domain.pddl.txt p01.pddl.txt
Are you sure that your goal is reachable ? If no actions can produce your goal, the goal is not reachable and set to null. You can used the command line option "-l ALL" to have the traces produce within the instantiation process and check if an action produce you goal.