2 Replies Latest reply: May 18, 2012 8:25 AM by 935283 RSS

    JavaFX + Felix OSGI

    935283
      Good Day
      I create bundle from javafx 2.1.0 and try run Simple application in Felix OSGI container
      Application started but I get Exception
      Can you give me any suggestions how to resolve this issue ,
      Application is inside in favaFx Bundle and run form Activator class by start method

      java.io.IOException: Resource does not exist: bundle://6.0:1/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      java.io.IOException: Resource does not exist: bundle://6.0:1/com/sun/javafx/scene/control/skin/caspian/caspian.bss
      at org.apache.felix.framework.URLHandlersBundleURLConnection.<init>(URLHandlersBundleURLConnection.java:136)
      at org.apache.felix.framework.URLHandlersBundleStreamHandler.openConnection(URLHandlersBundleStreamHandler.java:64)
      at java.net.URL.openConnection(URL.java:969)
      at java.net.URL.openStream(URL.java:1035)
      at com.sun.javafx.css.Stylesheet.loadBinary(Stylesheet.java:201)
      at com.sun.javafx.css.StyleManager.loadStylesheetUnPrivileged(StyleManager.java:465)
      at com.sun.javafx.css.StyleManager.loadStylesheet(StyleManager.java:304)
      at com.sun.javafx.css.StyleManager.setDefaultUserAgentStylesheet(StyleManager.java:532)
      at javafx.scene.control.UAStylesheetLoader$1.run(UAStylesheetLoader.java:62)
      at java.security.AccessController.doPrivileged(Native Method)
      at javafx.scene.control.UAStylesheetLoader.loadUAStylesheet(UAStylesheetLoader.java:58)
      at javafx.scene.control.UAStylesheetLoader.doLoad(UAStylesheetLoader.java:51)
      at javafx.scene.control.Control.<clinit>(Control.java:95)
      at javafx.bundle.JavaFxMenus.buildMenuBarWithMenus(JavaFxMenus.java:37)
      at javafx.bundle.JavaFxMenus.start(JavaFxMenus.java:91)
      at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:315)
      at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:174)
      at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:141)
      at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
      at com.sun.glass.ui.gtk.GtkApplication$2$1.run(GtkApplication.java:79)
      at java.lang.Thread.run(Thread.java:722)
      Thanks