JavaMonitor tool throwing NPEs whenever displaying event output

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.4.0
    • Affects Version/s: 1.3.0
    • Component/s: 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...

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: