gbear605
19-01-2016, 19:54
I have two independent problems with SFX. First: I cannot get my plugin (https://github.com/Nashoba-Robotics/CoffinLED) to work. The log is
Using Java 1.8.0_25-b17 and JRuby 1.7.23
Release/Built? true Version Identifier: jenkins-SFX-42-42-c6c3c5118c391af8bd0faf54c9713f8e89806c6e
Exception in thread "JavaFX Application Thread" org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `gsub' for nil:NilClass
at RUBY.find_toolbox_parts(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:320)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:281)
at RUBY.initialize(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/plugins/control_info.rb:148)
at RUBY.load(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/plugins/plugins.rb:48)
at org.jruby.RubyArray.map(org/jruby/RubyArray.java:2414)
at RUBY.load(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/plugins/plugins.rb:39)
at RUBY.find_toolbox_parts(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:320)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
at RUBY.find_toolbox_parts(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:310)
at RUBY.init_stage_1(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:167)
at org.jruby.gen.InterfaceImpl768155092.run(org/jruby/gen/InterfaceImpl768155092.gen:13)
This only happens when my plugin is in the plugins folder, so it is clearly an issue with it. However, I can't tell what is causing the issue, since I'm not calling any gsub method.
The second problem is more generic: When I attempt to follow http://wpilib.screenstepslive.com/s/4485/m/26401/l/255410-setting-sfx-to-launch-with-the-ds, it doesn't work, but when I follow the trouble shooting steps, they have no issues.
Thanks for any help
Using Java 1.8.0_25-b17 and JRuby 1.7.23
Release/Built? true Version Identifier: jenkins-SFX-42-42-c6c3c5118c391af8bd0faf54c9713f8e89806c6e
Exception in thread "JavaFX Application Thread" org.jruby.exceptions.RaiseException: (NoMethodError) undefined method `gsub' for nil:NilClass
at RUBY.find_toolbox_parts(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:320)
at org.jruby.RubyProc.call(org/jruby/RubyProc.java:281)
at RUBY.initialize(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/plugins/control_info.rb:148)
at RUBY.load(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/plugins/plugins.rb:48)
at org.jruby.RubyArray.map(org/jruby/RubyArray.java:2414)
at RUBY.load(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/plugins/plugins.rb:39)
at RUBY.find_toolbox_parts(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:320)
at org.jruby.RubyArray.each(org/jruby/RubyArray.java:1613)
at RUBY.find_toolbox_parts(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:310)
at RUBY.init_stage_1(/Users/garrison/wpilib/tools/sfx.jar!/sfx/lib/designer.rb:167)
at org.jruby.gen.InterfaceImpl768155092.run(org/jruby/gen/InterfaceImpl768155092.gen:13)
This only happens when my plugin is in the plugins folder, so it is clearly an issue with it. However, I can't tell what is causing the issue, since I'm not calling any gsub method.
The second problem is more generic: When I attempt to follow http://wpilib.screenstepslive.com/s/4485/m/26401/l/255410-setting-sfx-to-launch-with-the-ds, it doesn't work, but when I follow the trouble shooting steps, they have no issues.
Thanks for any help