Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-447

TextInput Component's selection methods throw NPE when textNode property is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5
    • wtk
    • None
    • Windows XP, Java 1.6.0_17

    Description

      TextInput Component: setSelection(int selectionStart, int selectionLength):
      third <if> should be:
      "if (selectionStart < 0

      selectionStart + selectionLength > (textNode == null ? 0 : textNode.getCharacterCount())) "
      or something similar

      Attachments

        Activity

          People

            Unassigned Unassigned
            guretzki Thomas Guretzki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified