- edited description
Line in VariableEliminationCore throws NullPointerException
Issue #304
resolved
The code line:
utility = new TablePotential(null);
in method "getUtility()" of class VariableEliminationCore invokes the constructor "TablePotential(TablePotential potential)", which invokes the constructor "Potential (Potential potential)", which always throws NullPointerException in the code line:
this(potential.getVariables(), potential.getPotentialRole());
Comments (3)
-
reporter -
reporter -
assigned issue to
-
assigned issue to
-
reporter - changed status to resolved
I have fixed this issue by replacing above line with the next code:
utility = new TablePotential(null,PotentialRole.UNSPECIFIED);
- Log in to comment