← Back to team overview

gephi.team team mailing list archive

[Bug 526126] [NEW] Problems when restoring Ranking Window

 

Public bug reported:

Problems appears if Ranking Window has been closed and be reopened after
new Gephi start. When restored after a project has been created or
opened, its controls stays disabled. Then, if workspace is changed, it
throws the following exception:

java.lang.NullPointerException
	at org.gephi.ranking.impl.RankingModelImpl$1.unselect(RankingModelImpl.java:71)
	at org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:534)
	at org.gephi.project.impl.ProjectControllerImpl.closeCurrentWorkspace(ProjectControllerImpl.java:456)
	...

Way to reproducte:
1) Open Gephi with a graph file
2) Close Ranking window
3) Restart gephi
4) Open a graph file
5) Got to Window > Ranking 
The Ranking window has disabled controls
6) Create a new workspace (Ctrl + N)
7) Switch workspace
Throw NullPointerException

** Affects: gephi
     Importance: Low
     Assignee: Mathieu Bastian (mathieu.bastian)
         Status: Confirmed

** Affects: gephi/0.7
     Importance: Low
         Status: Confirmed


** Tags: ranking window

** Also affects: gephi/0.7
   Importance: Undecided
       Status: New

** Changed in: gephi/0.7
       Status: New => Confirmed

** Changed in: gephi/0.7
   Importance: Undecided => Low

-- 
Problems when restoring Ranking Window
https://bugs.launchpad.net/bugs/526126
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.

Status in Gephi - Network exploration and manipulation: Confirmed
Status in Gephi 0.7 series: Confirmed

Bug description:
Problems appears if Ranking Window has been closed and be reopened after new Gephi start. When restored after a project has been created or opened, its controls stays disabled. Then, if workspace is changed, it throws the following exception:

java.lang.NullPointerException
	at org.gephi.ranking.impl.RankingModelImpl$1.unselect(RankingModelImpl.java:71)
	at org.gephi.project.impl.ProjectControllerImpl.fireWorkspaceEvent(ProjectControllerImpl.java:534)
	at org.gephi.project.impl.ProjectControllerImpl.closeCurrentWorkspace(ProjectControllerImpl.java:456)
	...

Way to reproducte:
1) Open Gephi with a graph file
2) Close Ranking window
3) Restart gephi
4) Open a graph file
5) Got to Window > Ranking 
The Ranking window has disabled controls
6) Create a new workspace (Ctrl + N)
7) Switch workspace
Throw NullPointerException





Follow ups

References