List.clear fails on an empty list

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 0.9
    • Affects Version/s: 0.9
    • Component/s: core-libs
    • 0.9internal
    • sparc
    • generic
    • Not verified

      Calling List.clear() on an empty list causes this exception.



      Exception in thread "AWT WServer Thread" oak.lang.IllegalArgumentException
      at oak.lang.Exception.<init>(Exception.oak)
      at oak.lang.IllegalArgumentException.<init>(IllegalArgumentException.oak)
      at awt.List.delItems(List.oak:154)
      at awt.List.clear(List.oak:121)
      at webrunner.tools.OakSearch.SearchWindow.doSearch(SearchWindow.oak:210)
      at webrunner.tools.OakSearch.QueryTextField.selected(SearchWindow.oak:61)

            Assignee:
            Sami Shaio (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: