- marked as critical
-
assigned issue to
Can't add a state to a chance node
In the domain tab of node properties, the button add doesn't have any effect.
Reproduce it by:
-
Creating an influence diagram
-
Then a decision node
-
Then linking him a chance node as a child
-
Opening node properties of the chance child node
-
Add button has no effect
Tweak:
If you need 3 or 4 states only, using standard domains and renaming does the trick
OM version:
org.openmarkov.full-0.3.0-20180618.133613-68
Head of traceback:
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
at org.openmarkov.core.action.NodeStateEdit.<init>(NodeStateEdit.java:114)
at org.openmarkov.gui.component.DiscretizeTablePanel.actionPerformedAddValue(DiscretizeTablePanel.java:860)
at org.openmarkov.gui.dialog.common.KeyTablePanel.actionPerformed(KeyTablePanel.java:356)
at org.openmarkov.gui.component.DiscretizeTablePanel.actionPerformed(DiscretizeTablePanel.java:835)
Comments (3)
-
-
reporter - edited description
- changed title to Can't add a state to a chance node
-
reporter - changed status to resolved
States can be added now, which is great. Thank you @carmenyago for resolving this issue.
- Log in to comment