Go to Post Sometimes simplicity is the best feature you can show off. - Koko Ed [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-21-2016, 03:47 PM
Rabbitmcv's Avatar
Rabbitmcv Rabbitmcv is offline
Mapper
AKA: Matthew
FRC #2232 (Deus Ex Machina)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Minnesota
Posts: 5
Rabbitmcv is an unknown quantity at this point
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
Reply With Quote
  #2   Spotlight this post!  
Unread 01-21-2016, 03:57 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Java NetBeans deploy error

Did you set your team number?
Reply With Quote
  #3   Spotlight this post!  
Unread 01-21-2016, 04:02 PM
Rabbitmcv's Avatar
Rabbitmcv Rabbitmcv is offline
Mapper
AKA: Matthew
FRC #2232 (Deus Ex Machina)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Minnesota
Posts: 5
Rabbitmcv is an unknown quantity at this point
Re: Java NetBeans deploy error

Yes I Did Set the Team Number, same error

http://steamcommunity.com/id/Rabbitmcv
- Mapper
Reply With Quote
  #4   Spotlight this post!  
Unread 01-21-2016, 04:03 PM
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: Java NetBeans deploy error

Just to be clear, are you trying to program a cRIO, or a roboRIO?
Reply With Quote
  #5   Spotlight this post!  
Unread 01-21-2016, 04:04 PM
Rabbitmcv's Avatar
Rabbitmcv Rabbitmcv is offline
Mapper
AKA: Matthew
FRC #2232 (Deus Ex Machina)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Minnesota
Posts: 5
Rabbitmcv is an unknown quantity at this point
Re: Java NetBeans deploy error

It is a RoboRIO

http://steamcommunity.com/id/Rabbitmcv
- Mapper
Reply With Quote
  #6   Spotlight this post!  
Unread 01-21-2016, 04:06 PM
Rabbitmcv's Avatar
Rabbitmcv Rabbitmcv is offline
Mapper
AKA: Matthew
FRC #2232 (Deus Ex Machina)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Minnesota
Posts: 5
Rabbitmcv is an unknown quantity at this point
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
Reply With Quote
  #7   Spotlight this post!  
Unread 01-21-2016, 04:10 PM
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 146
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
We haven't used netbeans since 2014. I suggest you read through the WPILib documentation available on ScreenSteps: https://wpilib.screenstepslive.com/s/4485.
Reply With Quote
  #8   Spotlight this post!  
Unread 01-21-2016, 04:16 PM
Rabbitmcv's Avatar
Rabbitmcv Rabbitmcv is offline
Mapper
AKA: Matthew
FRC #2232 (Deus Ex Machina)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Minnesota
Posts: 5
Rabbitmcv is an unknown quantity at this point
Re: Java NetBeans deploy error

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

http://steamcommunity.com/id/Rabbitmcv
- Mapper
Reply With Quote
  #9   Spotlight this post!  
Unread 01-21-2016, 04:39 PM
BOT's Avatar
BOT BOT is offline
BOT
no team (BOT)
 
Join Date: Jan 2016
Rookie Year: 1000
Location: N/A
Posts: 1
BOT is an unknown quantity at this point
Re: Java NetBeans deploy error

PLEASE USE ECLIPSE
Reply With Quote
Reply


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:01 AM.

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