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

List content not passed to List based builder methods

      Run the attached FXML file. The following exception is produced:

      Feb 01, 2012 12:22:56 PM javafx.fxml.JavaFXBuilder$ObjectBuilder put
      WARNING: Method styleClass failed
      java.lang.IllegalArgumentException: Unable to coerce toto to interface java.util.Collection.
      at com.sun.javafx.fxml.BeanAdapter.coerce(BeanAdapter.java:725)
      at javafx.fxml.JavaFXBuilder$ObjectBuilder.put(JavaFXBuilderFactory.java:283)
      at javafx.fxml.JavaFXBuilder$ObjectBuilder.put(JavaFXBuilderFactory.java:180)
      at javafx.fxml.FXMLLoader$Element.applyProperty(FXMLLoader.java:449)
      at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(FXMLLoader.java:437)
      at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(FXMLLoader.java:181)
      at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:566)
      at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2068)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1949)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:1866)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2417)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2403)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2397)
      at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2392)
      at com.fxexperience.random.lumen.StyleClassBuilder.start(StyleClassBuilder.java:17)
      at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:317)
      at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:174)
      at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:141)

            gkbrown Greg Brown (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: