gephi/trunk — Issue #221: NullPointerException at org.gephi.graph.dhns.utils.DHNSSerializer.writeDhns
Author: mbastian
Created: 2011-10-22 16:44:06+00:00
State: open
Labels: Fix Released, Low, project, save

Way to reproduce:
1) Launch Gephi
2) New project
3) Add new empty workspace (Ctrl+N)
4) Save project
Exception is thrown

Stack trace:

java.lang.NullPointerException
at org.gephi.graph.dhns.utils.DHNSSerializer.writeDhns(DHNSSerializer.java:93)
at org.gephi.graph.dhns.DhnsPersistenceProvider.writeXML(DhnsPersistenceProvider.java:42)
at org.gephi.project.io.GephiWriter.writeWorkspaceChildren(GephiWriter.java:167)
at org.gephi.project.io.GephiWriter.writeWorkspace(GephiWriter.java:158)
at org.gephi.project.io.GephiWriter.writeProject(GephiWriter.java:138)
at org.gephi.project.io.GephiWriter.writeAll(GephiWriter.java:80)
at org.gephi.project.io.SaveTask.run(SaveTask.java:95)
at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:228)
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)