View Single Post
  #1   Spotlight this post!  
Unread 19-01-2016, 19:54
gbear605's Avatar
gbear605 gbear605 is offline
Scarebear
FRC #1768 (Nashoba Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: United States
Posts: 30
gbear605 is an unknown quantity at this point
Problems with SmartDashboardFX (SFX)

I have two independent problems with SFX. First: I cannot get my plugin to work. The log is

Code:
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/...ch-with-the-ds, it doesn't work, but when I follow the trouble shooting steps, they have no issues.

Thanks for any help
Reply With Quote