Skip to content
This repository has been archived by the owner on Oct 15, 2021. It is now read-only.

Commit

Permalink
Fix NPE in VizModel
Browse files Browse the repository at this point in the history
  • Loading branch information
mbastian committed Sep 29, 2011
1 parent 05e2aaa commit 7d8c0c2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions VisualizationModule/src/org/gephi/visualization/VizModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
});
Expand Down
8 changes: 4 additions & 4 deletions nbproject/private/private.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
</project-private>
<?xml version="1.0" encoding="UTF-8"?>
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/1"/>
</project-private>

0 comments on commit 7d8c0c2

Please sign in to comment.