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

Alejandro Carbonara commented on TINKERPOP-1935:
------------------------------------------------

I ran into this error too. 

The error message is rather undescriptive. Could it throw some kind of error 
message that says that Tinkerpop does not support exporting graphs with 
multi-properties to GraphML?

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

Reply via email to