gephi/trunk — Issue #183: NullPointerException when creating newProjects too quickly.
Author: mbastian
Created: 2011-10-22 16:43:38+00:00
State: open
Labels: Fix Released, Medium

java.lang.NullPointerException
at org.gephi.project.impl.ProjectControllerImpl.openWorkspace(ProjectControllerImpl.java:241)
at org.gephi.project.impl.ProjectControllerImpl.openProject(ProjectControllerImpl.java:205)
at org.gephi.project.impl.ProjectControllerImpl.newProject(ProjectControllerImpl.java:81)

Occurs when trying to make new Project too quickly because the disable() function in FilterControllerImpl doesn't check to see if model is already null before before calling model.getCurrentResult(). Should be easy 1 line fix.