Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Long.compareTo() has thrown a ClassCastException
    Java Runtime
    4
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.ClassCastException: org.hibernate.action.internal.DelayedPostInsertIdentifier cannot be cast to java.lang.Long
    at java.lang.Long.compareTo(Long.java:54)
    at org.hibernate.internal.util.compare.ComparableComparator.compare(ComparableComparator.java:41)
    at org.hibernate.internal.util.compare.ComparableComparator.compare(ComparableComparator.java:36)
    at org.hibernate.type.AbstractStandardBasicType.compare(AbstractStandardBasicType.java:225)
7 frames hidden

External results for this pattern (10)

  1. Stig Runar Vangenvia Hibernate JIRA4 months ago
    org.hibernate.action.internal.DelayedPostInsertIdentifier cannot be cast to java.lang.Long
    Show stack trace
  2. Lucasvia Stack Overflow4 months ago
    java.lang.String cannot be cast to java.lang.Long
    Show stack trace
  3. Binoy Babuvia Stack Overflow4 months ago
    java.lang.String cannot be cast to java.lang.Long
    Show stack trace
  4. 843790via Oracle Community1 year ago
    java.lang.String
    Show stack trace
  5. 843793via Oracle Community1 year ago
    java.lang.String
    Show stack trace
  6. Swaranga Sarmavia Coderanch2 years ago
    java.lang.Integer cannot be cast to java.lang.Long
    Show stack trace
  7. java.lang.Double cannot be cast to java.lang.Long
    Show stack trace
  8. Gufran Mohammed Pathanvia pig-user2 years ago
    ERROR 1066: Unable to open iterator for alias E. Backend error : Exception while executing [POBinCond (Name: POBinCond[chararray] - scope-298 Operator Key: scope-298) children: [[LessThanExpr (Name: Less Than[boolean] - scope-295 Operator Key: scope-295) children: [[POProject (Name: Project[int][0] - scope-293 Operator Key: scope-293) children: null at []], [ConstantExpression (Name: Constant(10) - scope-294 Operator Key: scope-294) children: null at []]] at []], [ConstantExpression (Name: Constant(less than 20) - scope-296 Operator Key: scope-296) children: null at []], [ConstantExpression (Name: Constant(More than or equal to 20) - scope-297 Operator Key: scope-297) children: null at []]] at []]: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
    Show stack trace
  9. Gufran Mohammed Pathanvia pig-user2 years ago
    ERROR 1066: Unable to open iterator for alias E. Backend error : Exception while executing [POBinCond (Name: POBinCond[chararray] - scope-298 Operator Key: scope-298) children: [[LessThanExpr (Name: Less Than[boolean] - scope-295 Operator Key: scope-295) children: [[POProject (Name: Project[int][0] - scope-293 Operator Key: scope-293) children: null at []], [ConstantExpression (Name: Constant(10) - scope-294 Operator Key: scope-294) children: null at []]] at []], [ConstantExpression (Name: Constant(less than 20) - scope-296 Operator Key: scope-296) children: null at []], [ConstantExpression (Name: Constant(More than or equal to 20) - scope-297 Operator Key: scope-297) children: null at []]] at []]: java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
    Show stack trace