Go to Post I propose, these forums are not a competition. There is no race to prove a point, to prove you are right, to prove you are wrong. - rees2001 [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-02-2012, 01:54
DPG2013 DPG2013 is offline
Registered User
FRC #4163
 
Join Date: Jan 2012
Location: georgia
Posts: 7
DPG2013 is an unknown quantity at this point
downloading my java code

[left]I'm having issues downloading code to my robot in Netbeans. It seems like it has something to with the frc plugins maybe. it says :

init:
init:
Deleting directory C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\build
Deleting directory C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite
Deleting directory C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\j2meclasses
clean:
Created dir: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\build
Compiling 1 source file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\build
compile:
Created dir: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\j2meclasses
preverify:
Created dir: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite
Building jar: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite\DorothyGilcrist2_0219 12_1.0.0.jar
jar-app:
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
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 96 classes and generated 4 files.
Expanding: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite\DorothyGilcrist2_0219 12_1.0.0.jar into C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite
Moving 1 file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite
Moving 1 file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite
Moving 1 file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\suite
Deleting: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\D orothyGilcrist2_021912\image.suite.api
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) 64-Bit Server VM 22.0-b10
Target IP: 10.41.63.2
Network interfaces on host:
[CommView] Atheros AR9002WB-1NG Wireless Network Adapter: address: 192.168.1.76 netmask: 255.255.255.254
Atheros AR8152/8158 PCI-E Fast Ethernet Controller (NDIS 6.20): address: 10.41.63.10 netmask: 255.0.0.0 <--- on robot's subnet
Connecting FTP @10.41.63.2
C:\Users\DJLoddiDoddi\sunspotfrcsdk\build.xml:96: The following error occurred while executing this line:
C:\Users\DJLoddiDoddi\sunspotfrcsdk\ant\upgrade.xm l:40:
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutp utStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStre am.java:153)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder. java:221)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEnc oder.java:291)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.j ava:295)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java: 141)
at java.io.OutputStreamWriter.flush(OutputStreamWrite r.java:229)
at java.io.BufferedWriter.flush(BufferedWriter.java:2 54)
at org.apache.commons.net.ftp.FTP.__send(FTP.java:496 )
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:470)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:547)
at org.apache.commons.net.ftp.FTP.port(FTP.java:872)
at org.apache.commons.net.ftp.FTPClient._openDataConn ection_(FTPClient.java:667)
at org.apache.commons.net.ftp.FTPClient.retrieveFile( FTPClient.java:1595)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.checkVersion (UpgradeTask.java:34)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Upgr adeTask.java:215)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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:39 0)
at org.apache.tools.ant.Target.performTasks(Target.ja va:411)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.ex ecuteTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java :442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(C allTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unkn own Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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:39 0)
at org.apache.tools.ant.Target.performTasks(Target.ja va:411)
at org.apache.tools.ant.Project.executeSortedTargets( Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project .java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl .run(BridgeImpl.java:285)
at org.apache.tools.ant.module.run.TargetExecutor.run (TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(Run ClassThread.java:153)
BUILD FAILED (total time: 9 seconds)
  #2   Spotlight this post!  
Unread 20-02-2012, 05:45
linuxboy linuxboy is offline
Registered User
AKA: Oliver Graff
FRC #3780
Team Role: Alumni
 
Join Date: Nov 2010
Rookie Year: 2009
Location: MI, USA
Posts: 217
linuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud oflinuxboy has much to be proud of
Re: downloading my java code

Do you have a firewall enabled on that computer? IIRC windows firewall can cause those sorts of errors. Try disabling any firewalls on the machine and downloading the code again.

- Oliver
  #3   Spotlight this post!  
Unread 21-02-2012, 13:54
DPG2013 DPG2013 is offline
Registered User
FRC #4163
 
Join Date: Jan 2012
Location: georgia
Posts: 7
DPG2013 is an unknown quantity at this point
Re: downloading my java code

thanks that actually worked
Closed Thread


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 01:37.

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