← Back to team overview

gephi.team team mailing list archive

[Bug 654030] Re: NullPointerException on importing CSV data in Data Laboratory

 

Thanks again for this, Mathieu - really appreciate the fast response.

Just following up again on the parallel edges question: what I'm
wondering is whether there's a way to get Gephi to accept edges which
appear only in specific time slices when importing CSVs of edges.

For example, say I want an edge to exist only during 2001-2003 and
2005-2007 - which could be expressed like this:

source,target,Time Interval
a,b,<[2001,2003]>
a,b,<[2005,2007]>

At the moment, importing this CSV into Gephi ignores the second line
(it's regarded as a parallel edge).

Does Gephi do slices at all at the moment, and if so, how do you express
them in the internal time interval notation ?

Axel

-- 
NullPointerException on importing CSV data in Data Laboratory
https://bugs.launchpad.net/bugs/654030
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.

Status in Gephi - Network exploration and manipulation: Fix Committed
Status in Gephi 0.7 series: Fix Committed

Bug description:


Graph API throws NPE because source or target is null

Stack trace:
java.lang.NullPointerException
	at org.gephi.graph.dhns.core.GraphFactoryImpl.newEdge(GraphFactoryImpl.java:128)
	at org.gephi.graph.dhns.core.GraphFactoryImpl.newEdge(GraphFactoryImpl.java:123)
	at org.gephi.graph.dhns.core.GraphFactoryImpl.newEdge(GraphFactoryImpl.java:47)
	at org.gephi.datalab.impl.GraphElementsControllerImpl.buildEdge(GraphElementsControllerImpl.java:431)
	at org.gephi.datalab.impl.GraphElementsControllerImpl.createEdge(GraphElementsControllerImpl.java:89)
	at org.gephi.datalab.impl.AttributeColumnsControllerImpl.importCSVToEdgesTable(AttributeColumnsControllerImpl.java:597)
	at org.gephi.datalab.plugin.manipulators.general.ui.ImportCSVUIWizardAction.performAction(ImportCSVUIWizardAction.java:85)
	at org.gephi.datalab.plugin.manipulators.general.ImportCSV.execute(ImportCSV.java:40)





References