gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00769
[Bug 654030] Re: NullPointerException on importing CSV data in Data Laboratory
Hi Axel, importing dynamic attributes from CSV works fine if the dynamic column is already created and dynamic.
So to import CSV data with dynamic weights for edges in a existing project the Weight column has to be dynamic float and can't be float. The edges are keeping the value 1 because the weight column is float and can't have a dynamic value.
--
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