Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8113913

TextBox: rawTextProperty can't handle null

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      fx-beta-b34

      Description

      binding the rawTextProperty to another property with null value throws an NPE

          
          @Test
          public void testTextBoxRawtext() {
              StringProperty property = new StringProperty();
              new TextBox().rawTextProperty().bindBidirectional(property);
          }

      see also:
      http://forums.oracle.com/forums/thread.jspa?threadID=2250186

        Attachments

          Activity

            People

            • Assignee:
              gkbrown Greg Brown (Inactive)
              Reporter:
              fastegal Jeanette Winzenburg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: