While testing the DataApp Sample with NetBeans 7.1 RC1, and JavaFX 2.0.2, we ran into the following error.
This same error occurs either:
1) When trying to build DataAppPreloader, which has a preloader.css file. Since I'm building with NB 7.1. RC1, I also
create new NB projects for all of the DataApp sample, including DataAppPreloader and DataAppServer.
2) When trying to run DataAppServer in this same environment. Since DataApp is an end-to-end solution that has both
a JavaFX client and server code that runs on Glassfish, "run" implies deployment to the Glassfish server.
The error message is(note: the CSS conversion error msg and stacktrace exist, regardless of the "msvcr100.dll" msg):
-copy-binary-css:
css files to binary convert: dataapppreloader\preloader.css
Error: failed to msvcr100.dll java.lang.UnsatisfiedLinkError: Native Library C:\Program Files (x86)\Oracle\JavaFX 2.0 SDK\rt\bin\msvcr100.dll already loaded in another classloader
C:\cygwin\home\demo\projects\javafx202\javafx3\jfx\apps\ga-samples\DataApp\DataAppPreloader\nbproject\jfx-impl.xml:289: ERROR: Conversion of CSS file to binary form failed for file: C:\cygwin\home\demo\projects\javafx202\javafx3\jfx\apps\ga-samples\DataApp\DataAppPreloader\build\classes\dataapppreloader\preloader.css, reason: cannot writeBinary <Value>
<value>[Lcom.sun.javafx.scene.layout.region.Repeat;@1cb8ef6</value>
<converter>null</converter>
</Value>
at com.sun.javafx.tools.ant.CSSToBinTask.execute(CSSToBinTask.java:55)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:285)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: com.sun.javafx.tools.packager.PackagerException: ERROR: Conversion of CSS file to binary form failed for file: C:\cygwin\home\demo\projects\javafx202\javafx3\jfx\apps\ga-samples\DataApp\DataAppPreloader\build\classes\dataapppreloader\preloader.css, reason: cannot writeBinary <Value>
<value>[Lcom.sun.javafx.scene.layout.region.Repeat;@1cb8ef6</value>
<converter>null</converter>
</Value>
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1257)
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1192)
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1177)
at com.sun.javafx.tools.packager.PackagerLib.generateBSS(PackagerLib.java:402)
at com.sun.javafx.tools.ant.CSSToBinTask.execute(CSSToBinTask.java:53)
... 15 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1251)
... 19 more
Caused by: java.lang.InternalError: cannot writeBinary <Value>
<value>[Lcom.sun.javafx.scene.layout.region.Repeat;@1cb8ef6</value>
<converter>null</converter>
</Value>
at com.sun.javafx.css.Value.writeBinary(Value.java:568)
at com.sun.javafx.css.Value.writeBinary(Value.java:499)
at com.sun.javafx.css.Declaration.writeBinary(Declaration.java:67)
at com.sun.javafx.css.Rule.writeBinary(Rule.java:130)
at com.sun.javafx.css.Stylesheet.writeBinary(Stylesheet.java:149)
at com.sun.javafx.css.parser.Css2Bin.convertToBinary(Css2Bin.java:49)
... 24 more
This same error occurs either:
1) When trying to build DataAppPreloader, which has a preloader.css file. Since I'm building with NB 7.1. RC1, I also
create new NB projects for all of the DataApp sample, including DataAppPreloader and DataAppServer.
2) When trying to run DataAppServer in this same environment. Since DataApp is an end-to-end solution that has both
a JavaFX client and server code that runs on Glassfish, "run" implies deployment to the Glassfish server.
The error message is(note: the CSS conversion error msg and stacktrace exist, regardless of the "msvcr100.dll" msg):
-copy-binary-css:
css files to binary convert: dataapppreloader\preloader.css
Error: failed to msvcr100.dll java.lang.UnsatisfiedLinkError: Native Library C:\Program Files (x86)\Oracle\JavaFX 2.0 SDK\rt\bin\msvcr100.dll already loaded in another classloader
C:\cygwin\home\demo\projects\javafx202\javafx3\jfx\apps\ga-samples\DataApp\DataAppPreloader\nbproject\jfx-impl.xml:289: ERROR: Conversion of CSS file to binary form failed for file: C:\cygwin\home\demo\projects\javafx202\javafx3\jfx\apps\ga-samples\DataApp\DataAppPreloader\build\classes\dataapppreloader\preloader.css, reason: cannot writeBinary <Value>
<value>[Lcom.sun.javafx.scene.layout.region.Repeat;@1cb8ef6</value>
<converter>null</converter>
</Value>
at com.sun.javafx.tools.ant.CSSToBinTask.execute(CSSToBinTask.java:55)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:285)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: com.sun.javafx.tools.packager.PackagerException: ERROR: Conversion of CSS file to binary form failed for file: C:\cygwin\home\demo\projects\javafx202\javafx3\jfx\apps\ga-samples\DataApp\DataAppPreloader\build\classes\dataapppreloader\preloader.css, reason: cannot writeBinary <Value>
<value>[Lcom.sun.javafx.scene.layout.region.Repeat;@1cb8ef6</value>
<converter>null</converter>
</Value>
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1257)
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1192)
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1177)
at com.sun.javafx.tools.packager.PackagerLib.generateBSS(PackagerLib.java:402)
at com.sun.javafx.tools.ant.CSSToBinTask.execute(CSSToBinTask.java:53)
... 15 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.javafx.tools.packager.PackagerLib.createBinaryCss(PackagerLib.java:1251)
... 19 more
Caused by: java.lang.InternalError: cannot writeBinary <Value>
<value>[Lcom.sun.javafx.scene.layout.region.Repeat;@1cb8ef6</value>
<converter>null</converter>
</Value>
at com.sun.javafx.css.Value.writeBinary(Value.java:568)
at com.sun.javafx.css.Value.writeBinary(Value.java:499)
at com.sun.javafx.css.Declaration.writeBinary(Declaration.java:67)
at com.sun.javafx.css.Rule.writeBinary(Rule.java:130)
at com.sun.javafx.css.Stylesheet.writeBinary(Stylesheet.java:149)
at com.sun.javafx.css.parser.Css2Bin.convertToBinary(Css2Bin.java:49)
... 24 more
- duplicates
-
JDK-8128471 CSS cannot write binary -fx-background-repeat: repeat, no-repeat;
-
- Resolved
-
-
JDK-8128471 CSS cannot write binary -fx-background-repeat: repeat, no-repeat;
-
- Resolved
-
- relates to
-
JDK-8128202 FXML login demo with CSS converted to BSS fails to launch in jnlp/plugin mode
-
- Resolved
-