gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00754
[Bug 654030] Re: NullPointerException on importing CSV data in Data Laboratory
You can't import directly the time interval data from the CSV import in
data laboratory, but you have an easy way to convert a numerical column
into the time interval. Import your time data as a DOUBLE or INT and
look at this wiki tutorial:
http://wiki.gephi.org/index.php/Import_Dynamic_Data#Tranform_existing_column_in_Time_Interval
to know how to get the time interval from that.
On the tutorial you also have the method with importing slices from a
GEXF file.
The fact you're properly importing a Time_INTERVAL column but it is not
activated as the dynamic column could be improved, we could activate it
by default is no other TIME_INTERVAL columns exists. It is currently not
done, as it is not the default use-case.
--
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