gephi / gephi/gephi

Error while importing GML format file in Gephi

Open
#2,304 3 comments 0 reactions 0 assignees View on GitHub
Confirmed Import Low
Dominant language
Java
Stars
6.6k
Forks
1.6k
Avg merge
9h 38m
Merged PRs (30d)
75

Description

```
java.lang.ClassCastException: java.lang.Double cannot be cast to java.lang.String
at org.gephi.io.importer.plugin.file.ImporterGML.parseNode(ImporterGML.java:197)
at org.gephi.io.importer.plugin.file.ImporterGML.parseGraph(ImporterGML.java:170)
at org.gephi.io.importer.plugin.file.ImporterGML.importData(ImporterGML.java:94)
at org.gephi.io.importer.plugin.file.ImporterGML.execute(ImporterGML.java:73)
Caused: java.lang.RuntimeException
at org.gephi.io.importer.plugin.file.ImporterGML.execute(ImporterGML.java:75)
at org.gephi.io.importer.impl.ImportControllerImpl.importFile(ImportControllerImpl.java:199)
at org.gephi.io.importer.impl.ImportControllerImpl.importFile(ImportControllerImpl.java:169)
at org.gephi.desktop.importer.DesktopImportControllerUI$4.run(DesktopImportControllerUI.java:341)
Caused: java.lang.RuntimeException
at org.gephi.desktop.importer.DesktopImportControllerUI$4.run(DesktopImportControllerUI.java:349)
[catch] at org.gephi.utils.longtask.api.LongTaskExecutor$RunningLongTask.run(LongTaskExecutor.java:274)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.