Can FTP to robot, Netbeans can't

Earlier today I was able to download and run code on the robot with no problems. Netbeans suddenly stopped being able to connect to the robot, though. I can still ping both the router (on the robot) and the cRIO. I can also FTP to the cRIO with FileZilla. This is the Netbeans output:

init:
init:
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\build
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\j2meclasses
clean:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\build
Compiling 2 source files to C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\build
compile:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\j2meclasses
preverify:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite
Building jar: C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite\FootballRobot2_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 90 classes and generated 4 files.
Expanding: C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite\FootballRobot2_1.0.0.jar into C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\suite
Deleting: C:\Users\carobotics\Documents\NetBeansProjects\FootballRobot2\image.suite.api
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) Client VM 19.0-b09
Target IP: 10.6.19.2
Network interfaces on host:
    NETGEAR WN311T Wireless PCI Adapter:  address: 10.6.19.6 netmask: 255.255.255.255 or hidden by IPv6 address (due to Java on Windows Bug:6707289)
Connecting FTP @10.6.19.2
Remote OTA server does not match, upgrading
C:\Users\carobotics\sunspotfrcsdk\build.xml:95: The following error occurred while executing this line:
C:\Users\carobotics\sunspotfrcsdk\ant\upgrade.xml:40: 
org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
        at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:267)
        at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:460)
        at org.apache.commons.net.ftp.FTP.sendCommand(FTP.java:520)
        at org.apache.commons.net.ftp.FTP.port(FTP.java:849)
        at org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:477)
        at org.apache.commons.net.ftp.FTPClient.__storeFile(FTPClient.java:388)
        at org.apache.commons.net.ftp.FTPClient.storeFile(FTPClient.java:1388)
        at com.sun.spot.sdk.tool.ftp.UpgradeTask.upgrade(UpgradeTask.java:317)
        at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(UpgradeTask.java:216)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:1397)
        at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        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.GeneratedMethodAccessor65.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        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:1397)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1366)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1249)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:281)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:154)
BUILD FAILED (total time: 57 seconds)

There are two things to look at:

  1. The output said:

Remote OTA server does not match, upgrading

Which might implies that something changed. So is this the first time you’ve used that development machine on that cRIO? Or are using a new version of the netbeans modules?

Host OS: Windows 7

Double check the windows fire wall. The SDK uses a java implementation of an ftp client, so the Java executable needs permission to open ports, etc.

I tired it running as an administrator with the Windows Firewall completely disabled (nothing but the robot on the network). Still the same error.

I hadn’t noticed the remote OTA message. I usually associate that with the cRIO being reimaged. It was reimaged, but it has been working since then. The only thing I changed was networking settings (specifically HomeGroup settings) on the other network interface. Even with that network interface disabled (as it was in the output you see above), it still doesn’t work. I’ve tried another computer as well and I’ve double and triple checked the network settings:

Computer IP: 10.6.19.6
Subnet: 255.0.0.0

I’m going to try reimaging the cRIO now.

No luck with reimaging. Or rather it reimaged just fine, but the problem persists. It works just fine with a wireless connection, by the way.