Go to Post People don't lead because they are chosen to lead; they are chosen to lead because they lead. - EricH [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 12-03-2016, 01:01 AM
Yildirim Yildirim is offline
Registered User
FRC #6429
 
Join Date: Oct 2016
Location: Turkey
Posts: 7
Yildirim is an unknown quantity at this point
Builed Failed error

Hi everyone I am getting this when deploy my code what should I do? :

WARNING: Host is not on same subnet as robot. May not be able to complete all communication with robot.
Connecting FTP @10.0.0.2
C:\Users\FRC Team\sunspotfrcsdk\build.xml:79: The following error occurred while executing this line:
C:\Users\FRC Team\sunspotfrcsdk\ant\configure.xml:41:
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Du alStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(Abstrac tPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress( AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractP lainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:182)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:203)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:296)
at com.sun.spot.sdk.tool.ftp.JakartaFtpWrapper.connec tAndLogin(Unknown Source)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Unkn own Source)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:293)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:68)
at net.sf.antcontrib.logic.Switch$Case.execute(Switch .java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at net.sf.antcontrib.logic.Switch.execute(Switch.java :138)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:293)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(S equential.java:68)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:293)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execut e(MacroInstance.java:396)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:293)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:43 5)
at org.apache.tools.ant.Target.performTasks(Target.ja va:456)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1405)
at org.apache.tools.ant.Project.executeTarget(Project .java:1376)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1260)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:286)
at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:555)
at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:153)
BUILD FAILED (total time: 28 seconds)
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2016, 12:56 PM
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 63
phurley67 is an unknown quantity at this point
Re: Builed Failed error

Quote:
Connecting FTP @10.0.0.2
Makes me think you have not set your team number in the eclipse settings. Go into settings and under "WPLib Preferences" set your team number.
Reply With Quote
  #3   Spotlight this post!  
Unread 12-03-2016, 02:24 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Builed Failed error

Are you programming a cRIO or a roboRIO? i agree that you need to set the team number, but it appears you are using netbeans with the cRIO libraries.
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


All times are GMT -5. The time now is 07:30 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