Go to Post Do you think Pizton's Lard would want to be a FIRST supplier and give every team some lard in the KoP? We could grease our gearboxes with it and every finals match could smell like bacon. - Ty Tremblay [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 11-01-2014, 21:40
hiyou102's Avatar
hiyou102 hiyou102 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2000
Location: Anywhere
Posts: 107
hiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud of
SmartDashboard 2.0 launch issue

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:

Code:
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.
__________________
Team 4334 2012-2014
  #2   Spotlight this post!  
Unread 14-01-2014, 21:56
ktrobotcreator's Avatar
ktrobotcreator ktrobotcreator is offline
Programmer
FRC #1245 (Shazbots)
Team Role: Programmer
 
Join Date: Jul 2012
Rookie Year: 2007
Location: Colorado
Posts: 38
ktrobotcreator is an unknown quantity at this point
Re: SmartDashboard 2.0 launch issue

We had a very similar issue. I think the problem is the space in the Username. Can you move the sfx folder to just the C: drive so it doesn't have to go through the User account with the space? When you launch sfx it needs to make two other files, sfxlib.jar being one of them. I forget the name of the other. Even if the files exist already, the space in the Username is problematic for the system finding them.

We ended up making a different user account with a name without spaces and it worked just fine for opening. Although we haven't been able to get it to open with Driver Station. (http://www.chiefdelphi.com/forums/sh...93#post1327293)

I hope this helps!
  #3   Spotlight this post!  
Unread 15-01-2014, 16:35
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: SmartDashboard 2.0 launch issue

(sfx dev here) hmm, thats very odd. This is the latest released build I assume? Does moving to a non-space user dir work?
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
  #4   Spotlight this post!  
Unread 17-01-2014, 21:06
Peter Rivera Peter Rivera is offline
Registered User
FRC #0662
 
Join Date: Jan 2014
Location: Colorado Springs
Posts: 1
Peter Rivera is an unknown quantity at this point
Re: SmartDashboard 2.0 launch issue

Yes, we also had the same problem with being unable to launch SmartDashboard 2.0. The sfx directory had the sfx.jar file, but issuing the command "java -jar sfx.jar" resulted in an error stating that the file "sfxlib.jar" was not found.


The directory path had a directory with spaces, which was being translated by java into "%20".

Moving the sfx.jar file to a directory with no spaces allowed the sfxlib.jar and sfxmeta.jar to be created, and the SmartDashboard was launched.

Also tried moving these two files into the directory that had a space, but still received the error that the sfxlib.jar file was not found, and the directory path had "%20" as the path (instead of a space), which is probably why java was unable to find the file.

Peter Rivera
Programming Mentor
RMR 662 - Rocky Mountain Robotics
  #5   Spotlight this post!  
Unread 18-01-2014, 16:45
hiyou102's Avatar
hiyou102 hiyou102 is offline
Registered User
no team
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2000
Location: Anywhere
Posts: 107
hiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud ofhiyou102 has much to be proud of
Re: SmartDashboard 2.0 launch issue

Quote:
Originally Posted by byteit101 View Post
(sfx dev here) hmm, thats very odd. This is the latest released build I assume? Does moving to a non-space user dir work?
I moved it it to the C:// directory and got the error mentioned in this post.
__________________
Team 4334 2012-2014
  #6   Spotlight this post!  
Unread 26-02-2014, 22:59
riftware riftware is offline
Parent Mentor
AKA: Andrew Chandler
FRC #0031
Team Role: Mentor
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Tulsa
Posts: 27
riftware is an unknown quantity at this point
Re: SmartDashboard 2.0 launch issue

Putting this line into the FRC DS Data Storage.ini works for me - I have to switch to Java then back to default to launch it. Also it takes a second for it to show up.

DashboardCmdLine = "C:\\apps\\jdk1.7.0_51\\bin\\java.exe -jar c:\\SFX\\sfx.jar"

Things to know:
1: I installed java to the directory above so modify accordingly
2: I copied sfx.jar and plugins to a new directory called SFX right off the root of the C: drive.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:26.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi