View Single Post
  #20   Spotlight this post!  
Unread 07-02-2013, 21:55
twiggzee twiggzee is offline
Registered User
FRC #3502 (Octo-(PI)-Rates)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 55
twiggzee is an unknown quantity at this point
Re: paper: Team 341 Vision System Code

if it's not too much to ask, could someone please walk me through how to run the code with test images? I put the argument (a string with the path to my test image) in the arguments field of the project properties, run window. but when i run it in netbeans, i get the following errors in the netbeans output window. i guess it is trying the run the smartdashboard somehow, as it is supposed to, but how do I make this work for test images.

ant -f \\\\shs-ms10\\Students\\home\\shs.install\\NetBeansProject s\\OctoVision run
init:
Deleting: \\shs-ms10\Students\home\shs.install\NetBeansProjects\Oc toVision\build\built-jar.properties
deps-jar:
Updating property file: \\shs-ms10\Students\home\shs.install\NetBeansProjects\Oc toVision\build\built-jar.properties
Compiling 1 source file to \\shs-ms10\Students\home\shs.install\NetBeansProjects\Oc toVision\build\classes
compile:
run:
Exception in thread "main" java.lang.NullPointerException
at edu.wpi.first.smartdashboard.gui.DashboardPrefs.ge tInstance(DashboardPrefs.java:43)
at edu.wpi.first.smartdashboard.camera.WPICameraExten sion.<init>(WPICameraExtension.java:103)
at edu.octopirates.smartdashboard.octovision.OctoVisi onWidget.<init>(OctoVisionWidget.java:91)
at edu.octopirates.smartdashboard.octovision.OctoVisi onWidget.main(OctoVisionWidget.java:351)
__________________
Wendy
Team 3502
Reply With Quote