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

Old JavaFX sample BrickBreaker generate IllegalArgumentException when game started

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 7u6
    • 7u6
    • javafx
    • None

      if install 7u6 or any JRE with JavaFX 2.2.0 and open applet http://jre.us.oracle.com/java/re/javafx/2.0.2/promoted/fcs/b08-samples-respin3/binaries/windows-i586/javafx-samples-2.0.2/BrickBreaker.html
      When game will start Exeption will output in Java Console.
      New samples for javaFX work fine.

      Exception:
      java.lang.IllegalArgumentException: Invalid URL: Invalid URL or resource not found
      at javafx.scene.image.Image.validateUrl(Image.java:986)
      at javafx.scene.image.Image.<init>(Image.java:538)
      at brickbreaker.Level.initInfoPanel(Level.java:537)

            dmasada Debra Masada (Inactive)
            fbasin Felix Basin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: