Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1935

GraphML Export Fails with List Cardinality

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Do
    • 3.3.2
    • None
    • io
    • None

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            james.d.baker James Baker
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: