JMenu entry without JMenuItems cause NullPointer on Keyboard entry

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.2.0
    • Component/s: client-libs
    • None

      If a JMenu entry doesn't have any JMenuItems keyboard strokes will generate a Null Pointer Exception. The problem is in JMenuBar.bindingForKeyStrokeRecursive() line 559 (JDK1.2Beta3). subcomponents needs to be tested for null.

      Attached is a sample program that illustrates the problem.

            Assignee:
            Georges Saab
            Reporter:
            Roger Brinkley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: