swingx
  1. swingx
  2. SWINGX-1275

JXTreeTable.getToolTipText(mouseEvent) : IllegalArgumentException: column must be valid, was-1

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.3
    • Component/s: TreeTable
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,275

      Description

      I'm still not sure exactly how I got this to happen, but I was moving the mouse over a JXTreeTable and
      got the following error. Perhaps instead of throwing IllegalArgumentException, isHierarchical should
      silently return false for indices which are out of bounds?

      Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: column must be valid, was-1
      at org.jdesktop.swingx.JXTreeTable.isHierarchical(JXTreeTable.java:1760)
      at org.jdesktop.swingx.JXTreeTable.getToolTipText(JXTreeTable.java:1197)
      at javax.swing.ToolTipManager$insideTimerAction.actionPerformed(ToolTipManager.java:658)
      at javax.swing.Timer.fireActionPerformed(Timer.java:271)
      at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            kleopatra
            Reporter:
            trejkaz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: