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

javadt: NullPointerException dumping an object which has a null field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • core-svc
    • None
    • beta2
    • generic
    • generic
    • Not verified



      Name: tb29552 Date: 09/27/2000


      Reported by ###@###.###:

      This is in the GUI Debug Tool:

      > Here's a small bug fix for a NullPointerException dumping an object
      > which has a null field:
      >
      > CommandInterpreter.java:
      > 1268c1268,1269
      > < out.println(obj.getValue(field).toString());
      > ---
      > > Object o = obj.getValue(field);
      > > out.println((o == null) ? "null" : o.toString());

      ======================================================================

            tbell Tim Bell
            tbell Tim Bell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: