Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Broken SFX? (http://www.chiefdelphi.com/forums/showthread.php?t=141475)

Guy997 11-01-2016 17:13

Broken SFX?
 
I'm trying to get SFX 2.0 working on our computer. This did not happen in the past, maybe because we installed Java 8, but when we try and open SFX, it doesn't even open. Our programming team has figured out that it needs Java 7 to run, but we are coding in Java 8. When we install Java 7, SFX works but Eclipse does not. Eclipse doesn't even open. Is there a way for us to get SFX 2.0 working again without switching back to Java 7?

Joe Ross 11-01-2016 17:30

I couldn't get it working with Java 8 during beta and filed a bug, but there were many other priorities.

fsilberberg 12-01-2016 10:43

Re: Broken SFX?
 
It should be working, works for me on Java 8 update 60. Can you post the output of a
Code:

java -version
Also the output of
Code:

java -jar sfx.jar
(from the tools directory).

Joe Ross 12-01-2016 11:53

Re: Broken SFX?
 
Here's what it printed for me (see artf4769 in the beta tracker)

Code:

Using Java 1.8.0_66-b18 and JRuby 1.7.17
NameError: cannot load Java class com.sun.javafx.Logging
          for_name at org/jruby/javasupport/JavaClass.java:1286
  get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
      java_import at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/java/core_ext/object.rb:27
              map at org/jruby/RubyArray.java:2412
      java_import at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/java/core_ext/object.rb:22
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-fxmlloader-0.4-java/lib/
jrubyfx-fxmlloader.rb:39
          require at org/jruby/RubyKernel.java:1071
          require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:55
          require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:53
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-1.1.1-java/lib/jrubyfx/
controller.rb:1
          require at org/jruby/RubyKernel.java:1071
          require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:55
          require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:53
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-1.1.1-java/lib/jrubyfx/
controller.rb:21
            (root) at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/kernel19/kernel.rb:1
          require at org/jruby/RubyKernel.java:1071
  require_relative at file:/C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-core-1.7.17.jar!/
jruby/kernel19/kernel.rb:24
            (root) at C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/gems/jrubyfx-1.1.1-java/lib/jrubyfx.rb:
40
              load at org/jruby/RubyKernel.java:1087
            (root) at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:1
          require at org/jruby/RubyKernel.java:1071
          require at /C:/Users/JOE-XP~1/AppData/Local/Temp/jruby7266290731767961735extract/jruby-stdlib-1.7.17.jar!/
META-INF/jruby.home/lib/ruby/shared/rubygem
s/core_ext/kernel_require.rb:135
            (root) at file:/C:/Users/Joe-XPS13-W7/wpilib/tools/sfx-2014.11.01/sfx.jar!/sfx/lib/main.rb:15
error: org.jruby.embed.EvalFailedException: (NameError) cannot load Java class com.sun.javafx.Logging


fsilberberg 12-01-2016 14:08

Re: Broken SFX?
 
Joe, was that copied from the tracker? If so, try it again now, SFX was updated in the last week.

Joe Ross 12-01-2016 16:42

Re: Broken SFX?
 
Quote:

Originally Posted by fsilberberg (Post 1522067)
Joe, was that copied from the tracker? If so, try it again now, SFX was updated in the last week.

Sorry, I missed that. It does work for me now when run from the tools directory. However, the eclipse plugins launch from the old location and don't work.

Guy997 13-01-2016 17:50

Re: Broken SFX?
 
We have exactly the same error as Joe Ross. Even when we update SFX and uninstall+reinstall all the NI software, we get the same error. Is there a possible fix for this? We are using Java 8 Update 65.

byteit101 14-01-2016 01:05

Re: Broken SFX?
 
The correct version of SFX has a sha1sum of the total zip of 347c0ee66cf120adf5bb9a48f426dc0969e82766
and a sha1sum of the internal sfx.jar of c469e52941d0a121907026b0f2bc5d221a516eab.

Running it has a build ID of:
Release/Built? true Version Identifier: jenkins-SFX-42-42-c6c3c5118c391af8bd0faf54c9713f8e89806c6e

Are these the versions you are running? The most recent version is available at http://first.wpi.edu/FRC/roborio/mav....11.01-zip.zip

Guy997 14-01-2016 09:45

Re: Broken SFX?
 
Thank you! It works now. We still had the 2014.11.01 version installed somehow...

BradAMiller 14-01-2016 18:28

Re: Broken SFX?
 
Quote:

Originally Posted by Guy997 (Post 1523436)
Thank you! It works now. We still had the 2014.11.01 version installed somehow...

There was a bug with the eclipse plugins that Joe fixed via a patch that will be in tomorrows update. Before that it was loading last years version of sfx if it was still installed on your computer. The patch will make it launch this years version.

AbsoluteZero 17-01-2016 16:55

Re: Broken SFX?
 
I was having the same problem until I updated my eclipse libraries and downloaded this year's sfx and when I run it in the command prompt it works, but upon opening up DS nothing happens. This is the command prompt error I get:

C:\Users\student>java -jar C:\\Users\\student\\wpilib\\tools\\sfx.jar
io/console not supported; tty will not be manipulated
Using Java 1.8.0_66-b17 and JRuby 1.7.23
Release/Built? true Version Identifier: jenkins-SFX-42-42 c6c3c5118c391af8bd0faf
54c9713f8e89806c6e
WARNING! Double loading detected! Please make note of this if you report bugs!

SndMndBdy 01-02-2016 09:30

Re: Broken SFX?
 
I've gotten the SFX dashboard working in our environment, including grabbing the latest version from the link above. However, the playback feature doesn't seem to work. When I hit the green triangle button, the screen shifts into playback mode, but the controls for playback don't appear. Has anyone seen anything similar? There are no errors on the command line. I'm running java 8 on Windows.


All times are GMT -5. The time now is 03:01.

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