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

TextBox: rawTextProperty can't handle null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • None
    • javafx
    • fx-beta-b34

      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

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

              Created:
              Updated:
              Resolved:
              Imported: