Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gephi-toolkit fails to open some gephi files #4

Closed
adrian-castravete opened this issue Sep 17, 2013 · 1 comment
Closed

gephi-toolkit fails to open some gephi files #4

adrian-castravete opened this issue Sep 17, 2013 · 1 comment

Comments

@adrian-castravete
Copy link

When the program reaches this line:

73   pc.openProject(file).run();

I get this exception.

java.lang.IllegalArgumentException: [255,255,255]
at com.sun.beans.editors.ColorEditor.setAsText(ColorEditor.java:103)
at org.gephi.utils.Serialization.readValueFromText(Serialization.java:93)
at org.gephi.utils.Serialization.readValueFromText(Serialization.java:111)
at org.gephi.preview.PreviewModelImpl.readXML(PreviewModelImpl.java:504)
at org.gephi.preview.PreviewPersistenceProvider.readXML(PreviewPersistenceProvider.java:80)
at org.gephi.project.io.GephiReader.readWorkspaceChildren(GephiReader.java:167)
at org.gephi.project.io.GephiReader.readWorkspace(GephiReader.java:147)
at org.gephi.project.io.GephiReader.readAll(GephiReader.java:108)
at org.gephi.project.io.LoadTask.run(LoadTask.java:114)
at com.myawesomedomain.testgephi.Gephi2Gexf.convert(Gephi2Gexf.java:73)
at start.MainTest.script1(MainTest.java:51)
at start.MainTest.run(MainTest.java:42)
at java.lang.Thread.run(Thread.java:679)
org.gephi.project.io.GephiFormatException: Gephi failed importing the project.

The problem appears only on some files and it seems to corrupt the state of the application. Other files saved after closing those files copy the bug.

For example of files one could view this gist:
https://gist.github.com/adrian-castravete/6594428

Project.xml is the unzipped gephi file, before opening any other project in gephi.
ProjectBroken.xml is the unzipped gephi file, after copying the weird bug (after I opened a gephi file in gephi and closed it).

For some reason gephi isn't bothered by anything when opening and closing any of these files, but the gephi-toolkit fails after the bug has happened.

@eduramiba
Copy link
Member

Closing old bug between Java 6 and Java 7 color persistence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants