felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4320) Cannot run properly JavaFX application into OSGI Felix framework
Date Tue, 19 Nov 2013 12:49:20 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Felix Meschberger resolved FELIX-4320.

    Resolution: Invalid

I don't think this is a bug. So I will close this as invalid. Please us the users(at)felix(dot)apache(dot)org
list for questions like this.

As hinted on stackoverflow, though, I suspect this is related to URL handlers: It may work
if URLHandlersService support is enabled in your Felix framework (it may be that is disabled
in your framework). The reason being that Class.getResource(String) returns an URL and probably
JavaFX internally converts the URL to a String, replaces .css with .bss and tries to create
an URL again which fails because the bundle: scheme handler is missing. (Just guessing, though)

> Cannot run properly JavaFX application into OSGI Felix framework
> ----------------------------------------------------------------
>                 Key: FELIX-4320
>                 URL: https://issues.apache.org/jira/browse/FELIX-4320
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>         Environment:  Windows 7, OSGI Felix 4.2.1, Netbeans 7.4, Java 8 b115 
>            Reporter: rcbandit
>            Priority: Blocker
>   Original Estimate: 4h
>  Remaining Estimate: 4h
> I cannot run properly JavaFX application deployed into Felix OSGI framework. I face the
problem described here:
> http://stackoverflow.com/questions/15187147/exception-logged-when-using-custom-css-in-javafx-in-felix-osgi
> I the css files are not loaded properly. According to the post I can solve this problem
by setting the JavaFX application to load text css files instead of binaty bss.
> How I can set this value -Dbinary.css=false in a low level into the JavaFX application?

This message was sent by Atlassian JIRA

View raw message