IllegalArgumentException - [255,255,255] when trying to open a project #812

Closed
SebGR92 opened this Issue Aug 13, 2013 · 11 comments

Projects

None yet

9 participants

@SebGR92

Hello -

I can't open my gephi project anymore (see screenshot). Any idea?

Windows 7
Product Version: Gephi 0.8.2 201210100934
Java: 1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01
System: Windows 7 version 6.1 running on x86; Cp1252; en_FR (gephi)

image

Of course, I forgot to mention than my project has the .gephi extension. And this project has been saved from Gephi itself.

@kustere

Yeah I have the same problem running on either a windows XP and Windows 8 machine
1.7.0_25; Java HotSpot(TM) Client VM 23.25-b01

@kustere

I have found a really crappy workaround. It appears that Gephi basically stores its data as an XML file within a zip file that contains a .gephi extension. If you rename this gephi file as .zip and then expand the zip file there should be a file inside that contains all the data. extract this file within the zip file and save into a new location and add the .gephi extension to this file and then open within gephi.

This seems to at least allow you to open the file. But this is a VERY VERY VERY significant bug as I would have thought that saving and opening files as kinda important.

@eduramiba
Gephi member

Hi,
We are aware of this problem. It seems to appear when saving .gephi files with Java6 and opening them with Java7.

@kustere

must have something to do with the compression algorithm as the approach I have described seems to get around it although you have to try and open the file multiple times and then it randomly works. Any word on when the next release will be out with maybe this fixed?

@SebGR92

Nice workaround, @kustere, it worked for me. 👍

@torTech

... problem is persistent here ... no success with workaround ...

@elplatt

Issue remains. The workaround didn't help, for me.

@dylanhogg

The workaround from @kustere appears not to work anymore.

Another workaround is to install jdk1.6.x in addition to your existing Java7. Then edit jdkhome in /etc/gephi.conf to use Java6, e.g. jdkhome="C:/Program Files/Java/jdk1.6.0_43"

Alternatively, supply a --jdkhome param when launching Gephi.

@suburbera

Hi, i've tried every workaround suggested here but still, i can't open my .gephi file.
Any other suggestion?

@ad2114

I've already got my jdkhome set to Java 6 in gephi.conf, but am still getting the error message. Is there another fix?

@mbastian
Gephi member

Closing as this has been fixed through the introduction of a new save/load module in Gephi 0.9.0. Thanks for your patience on this annoying bug.

@mbastian mbastian closed this Feb 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment