Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Cannot find CANTimeout Exception (http://www.chiefdelphi.com/forums/showthread.php?t=90911)

warfaj 04-02-2011 13:42

Cannot find CANTimeout Exception
 
I've recently been having some trouble with Netbeans. I have been trying to compile this one program with no avail. Each time I get the error

cannot find symbol
symbol: CANTimeoutException
location: package edu.wpi.first.wpilibj.can

:confused:

I have installed the latest frc plugins and I am running Netbeans 6.91. I have imported the class but all I receive in return is an error.

Any information would be helpful.

Thanks in advance.

slijin 05-02-2011 09:32

Re: Cannot find CANTimeout Exception
 
Try rebooting the robot. We've also had this problem, and we've found that simply rebooting the robot generally rectifies it, though we've yet to pinpoint any source for this problem,.

buildmaster5000 07-02-2011 17:53

Re: Cannot find CANTimeout Exception
 
Make sure you also have the can class imported. Either of the following will work:
Code:

import  edu.wpi.first.wpilibj.can.CANTimeoutException;
//or
import edu.wpi.first.wpilibj.can.*;

A nifty shortcut is ctrl+shift+i which is fix imports. It is the first thing I try when I see a red line and I know the syntax is right.


All times are GMT -5. The time now is 09:45.

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