SA: clhsdb 'intConstant' throws a NullPointerException when not attached to a VM

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 15
    • Affects Version/s: None
    • Component/s: hotspot
    • b19
    • generic
    • generic

      when not attached to a process or a corefile, intConstant throws a null pointer exception.
      hsdb> intConstant
      Error: java.lang.NullPointerException

      it would be better to throw a message like the following:

      hsdb> vmstructsdump
      Command not valid until attached to a VM

            Assignee:
            Chris Plummer
            Reporter:
            Jini George (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: