tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephen mallette (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TINKERPOP-1935) GraphML Export Fails with List Cardinality
Date Mon, 03 Jun 2019 20:42:00 GMT

    [ https://issues.apache.org/jira/browse/TINKERPOP-1935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855026#comment-16855026
] 

stephen mallette commented on TINKERPOP-1935:
---------------------------------------------

I won't bother to re-open this, but note that I did push in a change to improve the error
message as [~alejandro.carbonara] suggested:

https://github.com/apache/tinkerpop/commit/c52d2649d64cc88786be55cf761fdd303bdca2d6

Thanks for the idea!

> GraphML Export Fails with List Cardinality
> ------------------------------------------
>
>                 Key: TINKERPOP-1935
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1935
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: io
>    Affects Versions: 3.3.2
>            Reporter: James Baker
>            Priority: Major
>
> Exporting to GraphML throws an error if there are nodes with a List Cardinality and multiple
values set for a property. This works fine when exporting to GraphSON.
> The exception thrown is:
> {{java.lang.IllegalStateException: Multiple properties exist for the provided key, use
Vertex.properties(name)}}{{at org.apache.tinkerpop.gremlin.structure.Vertex$Exceptions.multiplePropertiesExistForProvidedKey(Vertex.java:179)}}
> {{ at org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerVertex.property(TinkerVertex.java:75)}}
> {{ at org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeVertices(GraphMLWriter.java:315)}}
> {{ at org.apache.tinkerpop.gremlin.structure.io.graphml.GraphMLWriter.writeGraph(GraphMLWriter.java:193)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message