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

FXML: property attribute cause "com.sun.javafx.fxml.PropertyNotFoundException: Property "GridLinesVisible" does not exist or is read-only"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0
    • fx2.0
    • javafx
    • None
    • promotion build 41

      attemp to load file:
      _____________________________
      <?xml version="1.0" encoding="UTF-8"?>

      <?import javafx.scene.layout.GridPane?>

      <GridPane GridLinesVisible="true" xmlns:fx="http://javafx.com/fxml">
      </GridPane>
      _____________________________

      cause
      19.08.2011 17:53:06 javafx.fxml.FXMLLoader logException
      SEVERE: The following error occurred at line 6 in file /C:/Users/shubov/JavaClientTrunk2/FxmlTests/build/classes/test/fxmltests/resources/static-property2.fxml[Ljava.lang.StackTraceElement;@ef5502
      com.sun.javafx.fxml.PropertyNotFoundException: Property "GridLinesVisible" does not exist or is read-only.
              at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:379)
              at com.sun.javafx.fxml.BeanAdapter.put(BeanAdapter.java:45)
              at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:260)
              at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:254)
              at javafx.fxml.FXMLLoader$Element.processEndElement(FXMLLoader.java:124)
              at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:380)
              at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:1575)
              at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1395)
              at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1738)
              at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1723)
              at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1718)
              at test.fxmltests.app.ShortAppStaticProperty.start(ShortAppStaticProperty.java:35)
              at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:298)
              at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:136)
              at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:108)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
              at com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
              at java.lang.Thread.run(Thread.java:619)

            vshubov Victor Shubov (Inactive)
            vshubov Victor Shubov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: