swingx-ws
  1. swingx-ws
  2. SWINGX_WS-14

java.lang.NullPointerException JXMapViewer$PanMouseInputListener

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Blocker Blocker
    • Resolution: Unresolved
    • Affects Version/s: initial
    • Fix Version/s: 1.1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      14

      Description

      This is related to defect 1, but I can not annotate that.

      java.lang.NullPointerException
      at
      org.jdesktop.swingx.JXMapViewer$PanMouseInputListener.mouseDragged(JXMapViewer.java:773)

      occurs because prev is not always initialised, and specifically, when the middle
      button is pressed to recenter (mousePressed event). mouseDragged should test
      for prev being null or not.

        Issue Links

          Activity

          Hide
          le_top added a comment -

          Addin dependency

          Show
          le_top added a comment - Addin dependency
          Hide
          rah003 added a comment -

          Bumped to the next version.

          Show
          rah003 added a comment - Bumped to the next version.

            People

            • Assignee:
              swingx-ws-issues
              Reporter:
              le_top
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: