Go to Post Afterall, there's a thread for everything and everything in it's thread. - Molten [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 11-01-2014, 13:49
wolfspell12 wolfspell12 is offline
Registered User
FRC #3244
 
Join Date: Jan 2014
Location: Minnesota
Posts: 16
wolfspell12 is an unknown quantity at this point
Question cRIO Connection Failure

We're having some problems deploying code to the cRIO. Other people have had this problem before by the looks of some googling, but I think we tried all the traditional fixes, such as disabling firewalls, checking IP address, and went as far as uninstalling our antivirus in attempt to fix the connection issue. The cRIO port is lit green, as it should be when tethered to the cRIO. Any help would be greatly appreciated. The following is the error message we get whenever clicking the run button in NetBeans.

Code:
ant -f C:\\Users\\gcgh\\Documents\\NetBeansProjects\\RobotTemplate deploy run
clean:
Deleting directory C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build
Created dir: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build
Created dir: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\classes
[crio-compile] ./src, C:/Users/gcgh/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/gcgh/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/gcgh/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 1 source file to C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\classes
compile:
preverify:
Created dir: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\preverify
Created dir: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/gcgh/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/gcgh/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/gcgh/sunspotfrcsdk\lib\squawk.jar -> ./build/preverify
Expanding: C:\Users\gcgh\sunspotfrcsdk\lib\wpilibj.jar into C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\preverify
Expanding: C:\Users\gcgh\sunspotfrcsdk\lib\networktables-crio.jar into C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\app.jar
suite:
Created dir: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\suite
[crio-suite] ./build/app.jar -> ./build/suite/image
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]
[Including resource: META-INF/maven/edu.wpi.first.wpilib.networktables.java/NetworkTablesAzalea/pom.properties]
[Including resource: META-INF/maven/edu.wpi.first.wpilib.networktables.java/NetworkTablesAzalea/pom.xml]
Romizer processed 388 classes and generated 4 files.
Expanding: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\app.jar into C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\suite
Moving 1 file to C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\suite
Moving 1 file to C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\suite
Moving 1 file to C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\build\suite
Deleting: C:\Users\gcgh\Documents\NetBeansProjects\RobotTemplate\image.suite.api
deploy:
[crio-configure] Configuration files not included in this version of the sdk
[crio-configure] Checking that crio is configured for Java
Host OS: Windows 7 6.1, 6.1
Host JVM: Java HotSpot(TM) Client VM 24.45-b08
Target IP: 10.32.44.2
Network interfaces on host:
    Intel(R) PRO/1000 PL Network Connection:  address: 10.32.44.100 netmask: 255.255.255.0 <--- on robot's subnet
Connecting FTP @10.32.44.2
C:\Users\gcgh\sunspotfrcsdk\build.xml:79: The following error occurred while executing this line:
C:\Users\gcgh\sunspotfrcsdk\ant\configure.xml:41: 
java.net.ConnectException: Connection timed out: connect
	at java.net.DualStackPlainSocketImpl.connect0(Native Method)
	at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:579)
	at org.apache.commons.net.SocketClient.connect(SocketClient.java:182)
	at org.apache.commons.net.SocketClient.connect(SocketClient.java:203)
	at org.apache.commons.net.SocketClient.connect(SocketClient.java:296)
	at com.sun.spot.sdk.tool.ftp.JakartaFtpWrapper.connectAndLogin(Unknown Source)
	at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Unknown Source)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.taskdefs.Sequential.execute(Sequential.java:68)
	at net.sf.antcontrib.logic.Switch$Case.execute(Switch.java:171)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(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(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.taskdefs.Sequential.execute(Sequential.java:68)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.taskdefs.MacroInstance.execute(MacroInstance.java:396)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
	at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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:435)
	at org.apache.tools.ant.Target.performTasks(Target.java:456)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:283)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:541)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 31 seconds)
Reply With Quote
 


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 08:39.

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