java.lang.UnsupportedOperationException: not defined for custom collection types

Hibernate JIRA | gobbo | 1 decade ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Print Sidereals

    GitHub | 5 years ago | UrsKR
    net.sf.anathema.framework.reporting.ReportException: java.lang.UnsupportedOperationException: Trait Template Collection can't handle custom trait types

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      not defined for custom collection types

      at org.hibernate.type.CustomCollectionType.getReturnedClass()
    2. Hibernate
      Printer.toString
      1. org.hibernate.type.CustomCollectionType.getReturnedClass(CustomCollectionType.java:55)
      2. org.hibernate.type.CollectionType.toLoggableString(CollectionType.java:137)
      3. org.hibernate.pretty.Printer.toString(Printer.java:53)
      4. org.hibernate.pretty.Printer.toString(Printer.java:90)
      4 frames
    3. Hibernate
      SessionImpl.managedFlush
      1. org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:91)
      2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
      3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:669)
      4. org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:293)
      4 frames
    4. Hibernate
      JDBCTransaction.commit
      1. org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:86)
      1 frame