Uploaded image for project: 'Apache MetaModel'
  1. Apache MetaModel
  2. METAMODEL-1163

MutableRelationship does not deserialize since METAMODEL-7 was fixed

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0
    • Labels:
      None

      Description

      Very similar issue to METAMODEL-1160 it would seem. Just for MutableRelationship, not CsvTable.

      java.lang.ClassCastException: cannot assign instance of [Lorg.apache.metamodel.schema.Column; to field org.apache.metamodel.schema.MutableRelationship._foreignColumns of type java.util.List in instance of org.apache.metamodel.schema.MutableRelationship
              at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2133)
              at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1305)
              at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2024)
              at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
              at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            kaspersor Kasper Sørensen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development