[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 •[SOLVED] GEXF and gexf4j - problem getting it started
Page 1 of 1

[SOLVED] GEXF and gexf4j - problem getting it started

Posted: 21 Aug 2011 19:28
by Lentin
Hi,
I want to generate Graphs with gex4f in Eclipse. However, I do not get it started.
I tried to launch the example from http://gexf.net/gexf4j/ but what I get is red-code.
For example, it says in the first line: Type mismatch: cannot convert from GexfImpl to Gexf
I think that I imported the jar-File correctly.
Does anybody have an idea of what could be the issue?
Thanks!

Re: GEXF and gexf4j - problem getting it started

Posted: 22 Aug 2011 10:31
by Lentin
I found the error, however now, starting the program, the following exception is thrown:

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
	at com.ojn.gexf4j.core.impl.MetadataImpl.setCreator(MetadataImpl.java:47)
	at GexfBuilder.main(GexfBuilder.java:14)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Preconditions
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 2 more
Has someone an idea?
Thanks a lot!

Re: GEXF and gexf4j - problem getting it started

Posted: 08 May 2012 18:34
by admin
A new version of the library is available here. Please use Github issues system.