InvocationTargetException when trying to create a utility table of a utility node without parents
Issue #236
resolved
When the user tries to create a utility table of a utility node without parents in the GUI, there is an InvocationTargetException.
Comments (2)
-
-
- changed status to resolved
Now the code takes into account the possibility of have Utility node with no parents
- Log in to comment
Apparently it is related to bug
#238. The InvocationTargetException was caused by:java.lang.NullPointerException at org.openmarkov.core.gui.dialog.common.TablePotentialPanel.getPotentialStartIndexOfColumn(TablePotentialPanel.java:737) at org.openmarkov.core.gui.dialog.common.TablePotentialPanel.setPotentialDataInCentreArea(TablePotentialPanel.java:529) at org.openmarkov.core.gui.dialog.common.TablePotentialPanel.convertListPotentialsToTableFormat(TablePotentialPanel.java:325) at org.openmarkov.core.gui.dialog.common.TablePotentialPanel.setData(TablePotentialPanel.java:179) at org.openmarkov.core.gui.dialog.common.TablePotentialPanel.<init>(TablePotentialPanel.java:101)