- changed status to resolved
NullPointerException when trying to edit potential in TreeADD
Issue #157
resolved
[I am attaching a network to reproduce the error.]
When going to right-click on variable "State [1]", click "Edit probability", right click on "Duration of Treatment [0]=[0.0, 2.0) -> P(State [1]| State[0])", click "Edit potential", there is an exception NullPointerException.
The same happens if we click on the branch "Duration of Treatment [0]=[2.0, infinity)".
Comments (1)
-
- Log in to comment
Resolved. It was caused by a bug in the parser, that failed to handle the special case when a TreeADDPotential has nested TreeADDPotentials that don't specify their list of variables.