NumberFormatException on opening a project

Bug #541816 reported by Mathieu Bastian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gephi
Won't Fix
Medium
Mathieu Bastian
0.7
Won't Fix
Medium
Unassigned

Bug Description

Project file compatibility has been broken on 0.7alpha2 due to a bug. Files saved with 0.7alpha throw errors when opened with current version.

Stack trace:

java.lang.NumberFormatException: For input string: \"\"
 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
 at java.lang.Integer.parseInt(Integer.java:470)
 at java.lang.Integer.parseInt(Integer.java:499)
 at org.gephi.graph.dhns.utils.DHNSSerializer.readTreeStructure(DHNSSerializer.java:229)
 at org.gephi.graph.dhns.utils.DHNSSerializer.readDhns(DHNSSerializer.java:136)
 at org.gephi.graph.dhns.DhnsPersistenceProvider.readXML(DhnsPersistenceProvider.java:49)
 at org.gephi.project.io.GephiReader.readWorkspaceChildren(GephiReader.java:145)
 at org.gephi.project.io.GephiReader.readWorkspace(GephiReader.java:131)
 at org.gephi.project.io.GephiReader.readProject(GephiReader.java:104)
 at org.gephi.project.io.GephiReader.readAll(GephiReader.java:81)
 at org.gephi.project.io.LoadTask.run(LoadTask.java:76)
 at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:227)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
 at java.util.concurrent.FutureTask.run(FutureTask.java:138)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:619)

Tags: project
Changed in gephi:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.