gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00774
[Bug 654030] Re: NullPointerException on importing CSV data in Data Laboratory
Hi Eduardo,
Thanks for this. I've now bitten the bullet and scripted something that
creates a working GEXF file from my data - the method is explained at
http://www.mappingonlinepublics.net/2010/10/20/dynamic-networks-in-
gephi-from-twapperkeeper-to-gexf/.
As far as I can tell, it _is_ possible for edge weights to be dynamic,
though - in GEXF, for example, this would be expressed in the following
fashion:
<edge source="user1" target="user2" start="0" end="5400" weight="0">
<attvalues>
<attvalue for="weight" value="1" start="0" end="1800"/>
<attvalue for="weight" value="2" start="1800" end="3600"/>
<attvalue for="weight" value="1" start="3600" end="5400"/>
</attvalues>
<slices>
<slice start="0" end="1800" />
<slice start="1800" end="3600" />
<slice start="3600" end="5400" />
</slices>
</edge>
This works in the GEXF files I've created now...
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