|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
When i attempt to run the code to put it on the cRio i get the following:
Code:
init: init: No to.jar.file specified. Using "suite\BuiltInDefaultCode_1.0.0.jar" Deleting directory C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\build Deleting directory C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite Deleting directory C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\j2meclasses clean: Created dir: C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\build Compiling 1 source file to C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\build compile: Created dir: C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\j2meclasses preverify: Created dir: C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite Building jar: C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite\BuiltInDefaultCode_1.0.0.jar jar-app: Using "suite\BuiltInDefaultCode_1.0.0.jar" CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods [translating suite image [closed: false, parent: squawk] ...] ### Excluding compile: com.sun.squawk.Method::getParameterTypes ### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt Romizer processed 73 classes and generated these files: C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\image.sym C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\image.suite C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\image.suite.metadata C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\image.suite.api Expanding: C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite\BuiltInDefaultCode_1.0.0.jar into C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite Moving 1 file to C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite Moving 1 file to C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite Moving 1 file to C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\suite Deleting: C:\Users\L337-Lobster\Documents\NetBeansProjects\MyRobot\image.suite.api Connecting FTP @10.2.25.2 C:\Users\L337-Lobster\sunspotfrcsdk\build.xml:95: The following error occurred while executing this line: C:\Users\L337-Lobster\sunspotfrcsdk\ant\upgrade.xml:40: java.net.ConnectException: Connection timed out: connect BUILD FAILED (total time: 24 seconds) |
|
#2
|
||||
|
||||
|
Re: Run code errors.
You can try a few things to make sure everything is ok and then if you get the error. Just keep trying until it goes, it will eventually.
1.) Goto Run -> CMD PING 10.2.25.2 - You should receive 4 responses of less then 50ms 2.) Next in the same command window type: FTP 10.2.25.2 - hit enter twice it should log into the FTP on the cRio then type "ls" this should give you a directory listing of the cRio root If everything works, try running a cable from you PC to the router and then run your project. If you still have issues run another cable from the router to the cRio directly and try again. This seems to be a issue where the system gives up to easily and effects poor connection and slower computers. We have student using the classmate and it took three tries to get it to download. We have also seen a issue with the system hanging on "Setting Up for Run" on multiple computers and ended up writing a batch file to copy the image.suite file to the cRio directly. |
|
#3
|
||||
|
||||
|
Re: Run code errors.
Also, if ftp works from the command line, but doesn't from the run command, make sure that the firewall on the PC is turned off.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| can't run code | viper110110 | Programming | 3 | 09-18-2009 09:25 PM |
| Errors compiling Kevin's new code (pragmas) | Bryan Herbst | Programming | 11 | 01-31-2008 12:50 PM |
| ADC code errors | epl692 | Programming | 2 | 01-22-2008 12:56 PM |
| Timers causing code errors? | Uberbots | Programming | 6 | 01-22-2008 02:10 AM |