gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00232
[Bug 567263] [NEW] Error when importing nodes with empty labels in NET format
Public bug reported:
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)
** Affects: gephi
Importance: Low
Assignee: Mathieu Bastian (mathieu.bastian)
Status: Confirmed
** Affects: gephi/0.7
Importance: Undecided
Status: Confirmed
** Tags: pajek
** Also affects: gephi/0.7
Importance: Undecided
Status: New
** Changed in: gephi/0.7
Status: New => Confirmed
--
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: Confirmed
Status in Gephi 0.7 series: Confirmed
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)
Follow ups
References