Menu

#2036 ClassCastException in AttributeChangeNotificationFilter

v3.2
closed-fixed
JBossMX (91)
5
2004-09-21
2004-09-20
No

In JBoss 3.2.5, the isNotificationEnabled method of
javax.management.AttributeChangeNotificationFilter
throws a ClassCastException when passed an argument
that is not of type AttributeChangeNotification. The
JMX 1.2 specification indicates that, as an
implementation of NotificationFilter, it should return
false in this case.

The class
com.itgssi.gatejmx.support.StructureChangeNotification
referenced in the exception trace in the attached
console log is a custom implementation of
javax.management.Notification. The exception occurs
when an application XMBean passes a
StructureChangeNotification to sendNotification.

Discussion

  • Jeff Carpenter

    Jeff Carpenter - 2004-09-20

    Console log with example exception trace

     
  • Adrian Brock

    Adrian Brock - 2004-09-21

    Logged In: YES
    user_id=9459

    Backported the version from jboss4 which includes this fix
    and some others.

     
  • Adrian Brock

    Adrian Brock - 2004-09-21
    • assigned_to: nobody --> ejort
    • status: open --> closed-fixed
     

Log in to post a comment.