Utility table potentials can not be edited

Issue #238 resolved
Iñigo Bermejo created an issue

An attempt to edit a cell in a utility table potential results in an ArrayIndexOutOfBoundsException being thrown because of a negative index. I guess this is caused by the special feature of utility potentials (where the utility variable is not included in the list of variables).

Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1 at org.openmarkov.core.gui.action.TablePotentialValueEdit.doEdit(TablePotentialValueEdit.java:210) at org.openmarkov.core.action.PNESupport.doEdit(PNESupport.java:116) at org.openmarkov.core.model.network.ProbNet.doEdit(ProbNet.java:138)

Comments (1)

  1. Log in to comment