Applying standard domains does not work for Decision nodes

Issue #34 resolved
Iñigo Bermejo created an issue

It gives an IndexOutOfBoundsException in NodeReplaceStatesEdit because this kind of nodes don't have any potentials assigned by default.

Exception in thread "AWT-EventQueue-0" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.rangeCheck(Unknown Source) at java.util.ArrayList.get(Unknown Source) at org.openmarkov.core.action.NodeReplaceStatesEdit.doEdit(NodeReplaceStatesEdit.java:101) at org.openmarkov.core.action.PNESupport.doEdit(PNESupport.java:132) at org.openmarkov.core.gui.dialog.node.NodeDomainValuesTablePanel.actionPerformedStandarDomain(NodeDomainValuesTablePanel.java:1498) at org.openmarkov.core.gui.dialog.node.NodeDomainValuesTablePanel.actionPerformed(NodeDomainValuesTablePanel.java:1468)

Comments (1)

  1. Log in to comment