Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Java NetBeans deploy error (http://www.chiefdelphi.com/forums/showthread.php?t=142262)

Rabbitmcv 21-01-2016 15:47

Java NetBeans deploy error
 
Here is the output
ant -f C:\\Users\\student\\Documents\\NetBeansProjects\\S ampleRobot deploy run
clean:
Created dir: C:\Users\student\Documents\NetBeansProjects\Sample Robot\build
Created dir: C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\classes
[crio-compile] ./src, C:/Users/student/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/student/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/student/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 1 source file to C:\Users\student\Documents\NetBeansProjects\Sample Robot\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\Sample Robot\build\preverify
Created dir: C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/student/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/student/sunspotfrcsdk\lib\networktables-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\Sample Robot\build\preverify
Expanding: C:\Users\student\sunspotfrcsdk\lib\networktables-crio.jar into C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\app.jar
suite:
Created dir: C:\Users\student\Documents\NetBeansProjects\Sample Robot\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\Sample Robot\build\app.jar into C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\suite
Moving 1 file to C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\suite
Moving 1 file to C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\suite
Moving 1 file to C:\Users\student\Documents\NetBeansProjects\Sample Robot\build\suite
Deleting: C:\Users\student\Documents\NetBeansProjects\Sample Robot\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) 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:4 1:
java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Du alStackPlainSocketImpl.java:79)
at java.net.AbstractPlainSocketImpl.doConnect(Abstrac tPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress( AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractP lainSocketImpl.java:188)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.j ava:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:182)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:203)
at org.apache.commons.net.SocketClient.connect(Socket Client.java:296)
at com.sun.spot.sdk.tool.ftp.JakartaFtpWrapper.connec tAndLogin(Unknown Source)
at com.sun.spot.sdk.tool.ftp.UpgradeTask.execute(Unkn own Source)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.taskdefs.Sequential.execute(S equential.java:68)
at net.sf.antcontrib.logic.Switch$Case.execute(Switch .java:171)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tools.ant.dispatch.DispatchUtils.execut e(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(Unknow nElement.java:292)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.taskdefs.Sequential.execute(S equential.java:68)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.taskdefs.MacroInstance.execut e(MacroInstance.java:396)
at org.apache.tools.ant.UnknownElement.execute(Unknow nElement.java:292)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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:43 5)
at org.apache.tools.ant.Target.performTasks(Target.ja va: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.execut eTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Projec t.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(Run ClassThread.java:153)
BUILD FAILED (total time: 38 seconds)

Please Help, New Programer

http://steamcommunity.com/id/Rabbitmcv
- Mapper

Joe Ross 21-01-2016 15:57

Re: Java NetBeans deploy error
 
Did you set your team number?

Rabbitmcv 21-01-2016 16:02

Re: Java NetBeans deploy error
 
Yes I Did Set the Team Number, same error

http://steamcommunity.com/id/Rabbitmcv
- Mapper

fsilberberg 21-01-2016 16:03

Re: Java NetBeans deploy error
 
Just to be clear, are you trying to program a cRIO, or a roboRIO?

Rabbitmcv 21-01-2016 16:04

Re: Java NetBeans deploy error
 
It is a RoboRIO

http://steamcommunity.com/id/Rabbitmcv
- Mapper

Rabbitmcv 21-01-2016 16:06

Re: Java NetBeans deploy error
 
The code is just the basic FRC project, we're trying to get it to send anything through.

http://steamcommunity.com/id/Rabbitmcv
- Mapper

fsilberberg 21-01-2016 16:10

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

Rabbitmcv 21-01-2016 16:16

Re: Java NetBeans deploy error
 
I will read that.
also Should we revert to Eclipse?

http://steamcommunity.com/id/Rabbitmcv
- Mapper

BOT 21-01-2016 16:39

Re: Java NetBeans deploy error
 
PLEASE USE ECLIPSE


All times are GMT -5. The time now is 10:25.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi