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\DorothyGilcrist2_021912\build
Deleting directory C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\suite
Deleting directory C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\j2meclasses
clean:
Created dir: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\build
Compiling 1 source file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\build
compile:
Created dir: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\j2meclasses
preverify:
Created dir: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\suite
Building jar: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\suite\DorothyGilcrist2_021912_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\DorothyGilcrist2_021912\suite\DorothyGilcrist2_021912_1.0.0.jar into C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\suite
Moving 1 file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\suite
Moving 1 file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\suite
Moving 1 file to C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\suite
Deleting: C:\Users\DJLoddiDoddi\Documents\NetBeansProjects\DorothyGilcrist2_021912\image.suite.api
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot™ 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.xml:40:
java.net.SocketException: Software caused connection abort: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:221)
at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:291)
at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:295)
at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:141)
at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
at java.io.BufferedWriter.flush(BufferedWriter.java:254)
at org.apache.commons.net.ftp.FTP.__send(FTP.java:496)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:470)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:547)
at org.apache.commons.net.ftp.FTP.port(FTP.java:872)
at org.apache.commons.net.ftp.FTPClient.openDataConnection(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(UpgradeTask.java:215)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java: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.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.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(RunClassThread.java:153)
BUILD FAILED (total time: 9 seconds)

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

thanks that actually worked