JSR003: ObjectInstance throws NPE in hashCode() and equals()

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: core-svc
    • b46
    • generic
    • generic

      ObjectInstance lets you construct an ObjectInstance with a null ClassName,
      but will later throw a NPE if equals() or hashCode() is called.

      In some particular cases (e.g bogus DynamicMBean sometime returning a
      null className, proxies to remote MBeans throwing exception in getMBeanInfo()
      when the remote connection is broken, etc...), it can break queryNames() and
      queryMBeans().

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: