Go to Post "Things should be as simple as possible, but not simpler" - Albert Einstein - Edward Debler [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-31-2010, 03:56 PM
L337Lobster L337Lobster is offline
L337 Programmer
AKA: Jackson
FRC #0225 (Awesome-O)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: York
Posts: 5
L337Lobster is an unknown quantity at this point
Exclamation Run code errors.

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)
I cannot figure out as of yet how to go about fixing this.
__________________
Reply With Quote
  #2   Spotlight this post!  
Unread 01-31-2010, 06:51 PM
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
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.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Reply With Quote
  #3   Spotlight this post!  
Unread 01-31-2010, 08:25 PM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
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.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 07:34 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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