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

Gryo and nested objects not serializing using GryoSerializers

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.1.1-incubating
    • None
    • structure
    • None

    Description

      If you have a HashMap filled with objects that are Kryo serializable (that is, the objects have a registered Serializer), it will try and serialize them as Java serialization objects.

      I believe this is because of add(Triplet.<Class, Function<Kryo, Serializer>, Integer>with(HashMap.class, null, 11)); means use JavaSerializer and thus, Kryo serialization ends there. ?? .... :|

      I'm noticing this when I have a HashMap full of ComputerVertex objects which implement Vertex, but I'm get a "ComputerVertex not serializable exception" when it should be converted to a DetachedVertex and serialized. ???

      Attachments

        Activity

          People

            Unassigned Unassigned
            okram Marko A. Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: