hiyou102
11-01-2014, 21:40
I've been trying to start the new javafx SmartDashboard have run into the following error why trying to launch the jar extracted from the zip:
C:\Users\TEAM 4334\sunspotfrcsdk\tools\sfx>java -jar sfx.jar
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:29 warning: already initialized constant ARG_CONVERTER_SUFFIX
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:32 warning: already initialized constant NAME_TO_COLORS
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:138 warning: already initialized constant CONVERTERS
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:173 warning: already initialized constant ENUM_CACHE
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:176 warning: already initialized constant ENUM_OVERRIDES
Exception running Application:
#<NameError: uninitialized constant JRubyFX::Controller::FxmlLoader>
org/jruby/RubyModule.java:2684:in `const_missing'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/imports.rb:71:i
n `const_missing'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/controller.rb:3
34:in `get_fxml_loader'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/controller.rb:1
17:in `load_into'
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/core_ext/stage
.rb:82:in `fxml'
classpath:jar-bootstrap.rb:74:in `start'
org/jruby/RubyBasicObject.java:1536:in `instance_eval'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/module.rb:49:in
`with'
classpath:jar-bootstrap.rb:73:in `start'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/java_fx_impl.rb
:119:in `launch_app_after_platform'
org/jruby/gen/InterfaceImpl570972409.gen:13:in `run'
Any help with the issue would be appreciated. I am running windows 7 and using Java 1.7.0_13.
C:\Users\TEAM 4334\sunspotfrcsdk\tools\sfx>java -jar sfx.jar
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:29 warning: already initialized constant ARG_CONVERTER_SUFFIX
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:32 warning: already initialized constant NAME_TO_COLORS
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:138 warning: already initialized constant CONVERTERS
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:173 warning: already initialized constant ENUM_CACHE
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/utils/common_c
onverters.rb:176 warning: already initialized constant ENUM_OVERRIDES
Exception running Application:
#<NameError: uninitialized constant JRubyFX::Controller::FxmlLoader>
org/jruby/RubyModule.java:2684:in `const_missing'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/imports.rb:71:i
n `const_missing'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/controller.rb:3
34:in `get_fxml_loader'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/controller.rb:1
17:in `load_into'
file:/C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/core_ext/stage
.rb:82:in `fxml'
classpath:jar-bootstrap.rb:74:in `start'
org/jruby/RubyBasicObject.java:1536:in `instance_eval'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/module.rb:49:in
`with'
classpath:jar-bootstrap.rb:73:in `start'
file:C:/Users/TEAM 4334/sunspotfrcsdk/tools/sfx/sfx.jar!/jrubyfx/java_fx_impl.rb
:119:in `launch_app_after_platform'
org/jruby/gen/InterfaceImpl570972409.gen:13:in `run'
Any help with the issue would be appreciated. I am running windows 7 and using Java 1.7.0_13.