[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •Export to SVG java.lang.NullPointerException
Page 1 of 1

Export to SVG java.lang.NullPointerException

Posted: 19 Sep 2014 19:41
by vethno
Hi,

I have been unable to solve this problem and I'm basically at my wit's end. Every time I try to export to SVG I receive a java.lang.NullPointerException error.

I am using a Mac OSX 10.9.4 and Gephi 0.8.2.

I modified the gephi config file to use Java 6, since it wouldn't run on my mac with Java 7.

Thanks,

V

Re: Export to SVG java.lang.NullPointerException

Posted: 02 Dec 2014 23:06
by mattsson.c
Hello,
I'm having the same problem, vethno, did you ever figure out a solution?
If I try saving in SVG format from the menu bar I get a null pointer exception at roughly 30%, and if exporting from the preview pane I get one at 99%.
I'm running the same setup.
There was one post about removing spaces and special characters from the node labels, but that has not solved it.
Any help would be greatly appreciated, I'm new to this.
Thank you,
CM

Re: Export to SVG java.lang.NullPointerException

Posted: 03 Dec 2014 22:51
by mattsson.c
Actually!
Try removing some plugins. I'm not sure which of the ones I pruned did the trick, but Gephi is now saving painlessly to an svg file.
Cheers,
CM

Re: Export to SVG java.lang.NullPointerException

Posted: 11 Dec 2014 21:39
by joethemachine
I'm having the exact same problem. When exporting a graph in png or svg formats, I receive this error. It is file-dependent so some networks export fine, and some do not. I'm running windows 8.1 with JRE 7 and 8 with expanded memory modification in the config file. Everything else works well, it's only this problem.

My guess is that it can probably be traced to a single plugin, does anyone have any advice on how to go about fixing this issue?

CM can you post a list of the plugins you disabled so that we can cross reference?

Joe