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

JavaMonitor tool throwing NPEs whenever displaying event output

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • client-libs
    • None
    • beta
    • unknown
    • generic
    • Not verified

      Launch an app with JavaMonitor and J2SDK 1.3. Turn on any event to listen to (e.g. "Motion" under AWT events) to generate an event or two. Immediately after generating an event, you'll get an NPE at JavaMonitor.displayEvent (line 445). It would appear that the call eventPane.getViewport().getViewRect() is returning null with this edition of the Java Swing libraries, and that is not being tested for. It is likely that the code for scrolling the viewport in displayEvent() needs to be updated.

      We should consider whether this is important enough for a Jaccess-1.3.1 and a Jaccess 1.2.1 release...

            busersunw Btplusnull User (Inactive)
            pkorn Peter Korn (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: