Facing Class cast exception where application is trying to cast to the same class.

Solution Unverified - Updated -

Issue

  • Facing class cast issue, where the application is trying to cast to the same class: xxx.yyy.zzz.PreviousEnquiryStatus cannot be cast to xxx.yyy.zzz.PreviousEnquiryStatus.
2015-09-11 12:55:01,470 ERROR (abc-thread-1869) [xxx.yyy.zzz] ID-apprlxap191-corp-dmz-59268-1441457132364-31-85440 abc:fetch-callback-notify-requests-scheduler-route unexpected exception: xxx.yyy.zzz.PreviousEnquiryStatus cannot be cast to xxx.yyy.zzz.PreviousEnquiryStatus

  • So far this bundle was processing the messages fine and this issue pops up suddenly. User had to restart the bundle to fix this issue, then it started working fine again.
  • This bundle is deployed in a cluster - 2 instances of JBoss Fuse 6.1

Environment

  • Red Hat JBoss Fuse
    • 6.1.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content