gephi/trunk — Issue #220: NullPointerException at org.gephi.visualization.opengl.text.TextModel.writeXML
Author: mbastian
Created: 2011-10-22 16:44:05+00:00
State: open
Labels: Fix Released, Low, project

Way to reproduce:
1) Open Gephi
2) Create New project
3) Create empty workspace
4) Save project

Stack trace:

java.lang.NullPointerException
at org.gephi.visualization.opengl.text.TextModel.writeXML(TextModel.java:387)
at org.gephi.visualization.VizModel.writeXML(VizModel.java:486)
at org.gephi.visualization.VizModelPersistenceProvider.writeXML(VizModelPersistenceProvider.java:39)
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)
at java.lang.Thread.run(Thread.java:637)