I tried to compile/run this using the main code from one of the standard projects. I followed the directions in the PDF, and removed the calls to the unsupported systems (specifically some Timer() calls).
When I run the program I get the following exception:
Code:
Exception in thread "main" java.lang.NullPointerException
at org.jRIO.DashboardDisplay.DashboardDisplay.joystickButtonGeneration(DashboardDisplay.java:929)
at edu.wpi.first.wpilibj.Joystick.<init>(Joystick.java:59)
at robotsimulation.DefaultRobot.<init>(DefaultRobot.java:112)
at robotsimulation.RobotSimulation.main(RobotSimulation.java:28)
It appears that the Joystick code is having issues. One question I would have is do you have to change the wpilib imports in your code to the new library? For instance I include the 'Joystick' library from wpilib. I would that I need to change these imports, but I haven't tried it yet.
Any clues as to what is happening?
Thanks