Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8184249

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 15
    • None
    • hotspot
    • b19
    • generic
    • generic

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: