Java NetBeans deploy error

Here is the output
*ant -f C:\Users\student\Documents\NetBeansProjects\SampleRobot deploy run
clean:
Created dir: C:\Users\student\Documents\NetBeansProjects\SampleRobot\build
Created dir: C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\classes
[crio-compile] ./src, C:/Users/student/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/student/sunspotfrcsdk\lib
etworktables-crio.jar, C:/Users/student/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 1 source file to C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\classes
warning: [options] source value 1.3 is obsolete and will be removed in a future release
warning: [options] target value 1.2 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
3 warnings
compile:
preverify:
Created dir: C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\preverify
Created dir: C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/student/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/student/sunspotfrcsdk\lib
etworktables-crio.jar, C:/Users/student/sunspotfrcsdk\lib\squawk.jar -> ./build/preverify
Expanding: C:\Users\student\sunspotfrcsdk\lib\wpilibj.jar into C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\preverify
Expanding: C:\Users\student\sunspotfrcsdk\lib
etworktables-crio.jar into C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\app.jar
suite:
Created dir: C:\Users\student\Documents\NetBeansProjects\SampleRobot\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.SymbolParser::getSignatureTypeAt

Excluding compile: com.sun.squawk.Method::getParameterTypes

[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\student\Documents\NetBeansProjects\SampleRobot\build\app.jar into C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\suite
Moving 1 file to C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\suite
Moving 1 file to C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\suite
Moving 1 file to C:\Users\student\Documents\NetBeansProjects\SampleRobot\build\suite
Deleting: C:\Users\student\Documents\NetBeansProjects\SampleRobot\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™ 64-Bit Server VM 25.65-b01
Target IP: 10.0.0.2
Network interfaces on host:
Broadcom 4313 802.11b/g/n: address: 10.22.32.176 netmask: 255.255.255.0
WARNING: Host is not on same subnet as robot. May not be able to complete all communication with robot.
Connecting FTP @10.0.0.2
C:\Users\student\sunspotfrcsdk\build.xml:79: The following error occurred while executing this line:
C:\Users\student\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:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
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.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.GeneratedMethodAccessor68.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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:286)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 38 seconds)
*
Please Help, New Programer

  • Mapper

Did you set your team number?

Yes I Did Set the Team Number, same error

  • Mapper

Just to be clear, are you trying to program a cRIO, or a roboRIO?

It is a RoboRIO

  • Mapper

The code is just the basic FRC project, we’re trying to get it to send anything through.

  • Mapper

We haven’t used netbeans since 2014. I suggest you read through the WPILib documentation available on ScreenSteps: https://wpilib.screenstepslive.com/s/4485.

I will read that.
also Should we revert to Eclipse?

  • Mapper

PLEASE USE ECLIPSE