← Back to team overview

gephi.team team mailing list archive

[Bug 545997] [NEW] NullPointerException at org.gephi.graph.dhns.utils.DHNSSerializer.writeDhns

 

Public bug reported:

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)

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

** Affects: gephi/0.7
     Importance: Low
         Status: Fix Committed


** Tags: project save

** 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

** Changed in: gephi
       Status: Confirmed => Fix Committed

** Changed in: gephi/0.7
       Status: Confirmed => Fix Committed

** Summary changed:

- java.lang.NullPointerException at org.gephi.graph.dhns.utils.DHNSSerializer.writeDhns
+ NullPointerException at org.gephi.graph.dhns.utils.DHNSSerializer.writeDhns

-- 
NullPointerException at org.gephi.graph.dhns.utils.DHNSSerializer.writeDhns
https://bugs.launchpad.net/bugs/545997
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: Fix Committed
Status in Gephi 0.7 series: Fix Committed

Bug description:
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)





Follow ups

References