← Back to team overview

gephi.team team mailing list archive

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

 

I see, you're at the most advanced level already :-) With several slices for elements. I would indeed recommend to use GEXF as the format can nicely represent intervals. I can give you more details about slices. You have two ways to format your intervals, with DATE or DOUBLE (cf the tutorial), so you can be as precise as double values. If your values represents nanoseconds, that is fine, you don't need to define slices properly.
In the GEXF format, slices is just a set of intervals, you don't need to declare them in advance or something like this.

I created the bug 659017 to enable dynamic when importing time interval
column from CSV wizard. That would make possible direct import of time
intervals if they are correctly formatted.

-- 
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