← Back to team overview

gephi.team team mailing list archive

[Bug 567263] Re: Error when importing nodes with empty labels in NET format

 

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

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

-- 
Error when importing nodes with empty labels in NET format
https://bugs.launchpad.net/bugs/567263
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 Released
Status in Gephi 0.7 series: Fix Released

Bug description:
An exception is thrown on importing Pajek NET format with empty labels like below:

*Vertices 141
1 "Label A"
2 ""
3 "Label B"

Stack trace:
java.lang.ArrayIndexOutOfBoundsException: 1
at org.gephi.io.importer.plugin.file.ImporterPajek.readVertex(ImporterPajek.java:167)
at org.gephi.io.importer.plugin.file.ImporterPajek.importData(ImporterPajek.java:126)
Caused: java.lang.RuntimeException
at org.gephi.io.importer.plugin.file.ImporterPajek.importData(ImporterPajek.java:149)
at org.gephi.io.importer.plugin.file.ImporterPajek.importData(ImporterPajek.java:63)
at org.gephi.desktop.importer.DesktopImportController$4.run(DesktopImportController.java:214)
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)
[catch] at java.lang.Thread.run(Thread.java:619)





References