computerish
25-09-2011, 14:34
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\Foo tballRobot2\build
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\j2meclasses
clean:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\build
Compiling 2 source files to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\build
compile:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\j2meclasses
preverify:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Building jar: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\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\Foo tballRobot2\suite\FootballRobot2_1.0.0.jar into C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Deleting: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\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.FTPConnectionClosedExce ption: Connection closed without indication.
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java :267)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:460)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:520)
at org.apache.commons.net.ftp.FTP.port(FTP.java:849)
at org.apache.commons.net.ftp.FTPClient._openDataConn ection_(FTPClient.java:477)
at org.apache.commons.net.ftp.FTPClient.__storeFile(F TPClient.java:388)
at org.apache.commons.net.ftp.FTPClient.storeFile(FTP Client.java:1388)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.upgrade(Upgr adeTask.java:317)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Upgr adeTask.java:216)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.ex ecuteTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1249)
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.GeneratedMethodAccessor65.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:1397)
at org.apache.tools.ant.Project.executeTarget(Project .java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.java:154)
BUILD FAILED (total time: 57 seconds)
init:
init:
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\build
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Deleting directory C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\j2meclasses
clean:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\build
Compiling 2 source files to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\build
compile:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\j2meclasses
preverify:
Created dir: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Building jar: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\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\Foo tballRobot2\suite\FootballRobot2_1.0.0.jar into C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Moving 1 file to C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\suite
Deleting: C:\Users\carobotics\Documents\NetBeansProjects\Foo tballRobot2\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.FTPConnectionClosedExce ption: Connection closed without indication.
at org.apache.commons.net.ftp.FTP.__getReply(FTP.java :267)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:460)
at org.apache.commons.net.ftp.FTP.sendCommand(FTP.jav a:520)
at org.apache.commons.net.ftp.FTP.port(FTP.java:849)
at org.apache.commons.net.ftp.FTPClient._openDataConn ection_(FTPClient.java:477)
at org.apache.commons.net.ftp.FTPClient.__storeFile(F TPClient.java:388)
at org.apache.commons.net.ftp.FTPClient.storeFile(FTP Client.java:1388)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.upgrade(Upgr adeTask.java:317)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Upgr adeTask.java:216)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:291)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:1397)
at org.apache.tools.ant.helper.SingleCheckExecutor.ex ecuteTargets(SingleCheckExecutor.java:38)
at org.apache.tools.ant.Project.executeTargets(Projec t.java:1249)
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.GeneratedMethodAccessor65.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:1397)
at org.apache.tools.ant.Project.executeTarget(Project .java:1366)
at org.apache.tools.ant.helper.DefaultExecutor.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.java:154)
BUILD FAILED (total time: 57 seconds)