Error loading BN-two-diseases.pgmx net

Issue #116 wontfix
Miguel Ángel Artaso Landa created an issue

When trying to load BN-two-diseases.pgmx net located in the org.openmarkov.exampleAPI repository, an error is thrown by OpenMarkov:

null

java.lang.NullPointerException at

org.openmarkov.io.probmodel.PGMXReader.getICIPotential

(PGMXReader.java:1980)

[...]

When then error is thrown, the class is dealing with the variable named as "Disease 1".

Comments (3)

  1. Iñigo Bermejo

    It fails because we changed the names of some ICI potentials. As keeping backwards compatibility would be an unworthy effort, I have updated the file so it complies with the new names. I have also updated the files in CISIAD's web page, in the examples' section.

  2. Miguel Ángel Artaso Landa reporter

    Maybe my Eclipse is playing with me but if I try to execute de API example with the file in the repository, it keeps throwing an error. If I use the file you attached to the solution, the updated one, the program executes with no errors. Just in case.

  3. Log in to comment