diff --git a/VisualizationModule/src/org/gephi/visualization/VizModel.java b/VisualizationModule/src/org/gephi/visualization/VizModel.java index 95b7b2de9..c3d3c8380 100644 --- a/VisualizationModule/src/org/gephi/visualization/VizModel.java +++ b/VisualizationModule/src/org/gephi/visualization/VizModel.java @@ -90,8 +90,10 @@ public void init() { SwingUtilities.invokeLater(new Runnable() { public void run() { - for (PropertyChangeListener l : listeners) { - l.propertyChange(evt); + if (listeners != null) { + for (PropertyChangeListener l : listeners) { + l.propertyChange(evt); + } } } }); diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml index cc2c0e57c..c1f155a78 100644 --- a/nbproject/private/private.xml +++ b/nbproject/private/private.xml @@ -1,4 +1,4 @@ - - - - + + + +