NullPointerException error creating a network

Create issue
Issue #159 resolved
Miguel Ángel Artaso Landa created an issue

When the org.openmarkov.full is launched and you try to create a network, an exception is fired.

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at [...] The lines 284 of the class is:


And when the network is being created, probNet is still null at this point. So, by analogy with other lines of the class, it could be rewritten as follows:

jcheckBoxShowCommentOnOpening.setSelected(probNet != null && probNet.getShowCommentWhenOpening());

Comments (1)

  1. Log in to comment