View Single Post
  #1   Spotlight this post!  
Unread 26-01-2015, 09:20
Dinnesy Dinnesy is offline
Registered User
FRC #4968 (Robo Hawks)
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2014
Location: Lively
Posts: 19
Dinnesy is an unknown quantity at this point
Exclamation Remote command failed with exit status 1

Rookie team 4968 here, and we've been having some issues trying to deploy code to our robot. We have updated the roboRIO firmware, imaged the roboRIO, and deployed java to the roboRIO. However, when we try to deploy our code, we get the error Remote command failed with exit status 1, and the code does not deploy. We have tried changing the username and passwords as suggested by this post http://www.chiefdelphi.com/forums/sh...07#post1432107 However, it makes no difference.

Here is the log (error bold):
Buildfile: C:\Users\Ryley Ongarato\workspace\Old Robot Code\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\Ryley Ongarato\workspace\Old Robot Code\build
[delete] Deleting directory C:\Users\Ryley Ongarato\workspace\Old Robot Code\dist
compile:
[mkdir] Created dir: C:\Users\Ryley Ongarato\workspace\Old Robot Code\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\Ryley Ongarato/wpilib/java/current/lib/WPILib.jar:C:\Users\Ryley Ongarato/wpilib/java/current/lib/NetworkTables.jar to build
[javac] Compiling 1 source file to C:\Users\Ryley Ongarato\workspace\Old Robot Code\build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\Ryley Ongarato\workspace\Old Robot Code\dist
[mkdir] Created dir: C:\Users\Ryley Ongarato\workspace\Old Robot Code\build\jars
[echo] [athena-jar] Copying jars from C:\Users\Ryley Ongarato/wpilib/java/current/lib/WPILib.jar:C:\Users\Ryley Ongarato/wpilib/java/current/lib/NetworkTables.jar to build/jars.
[copy] Copying 2 files to C:\Users\Ryley Ongarato\workspace\Old Robot Code\build\jars
[jar] Building jar: C:\Users\Ryley Ongarato\workspace\Old Robot Code\dist\FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-4968.local
[echo] roboRIO found via mDNS
dependencies:
[echo] roboRIO image version validated
[echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s...ller-java-only
[sshexec] Connecting to roboRIO-4968.local:22
[sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-4968.local:22
[scp] done.
[sshexec] Connecting to roboRIO-4968.local:22
[sshexec] cmd : killall netconsole-host
[sshexec] killall: netconsole-host: no process killed
[sshexec] Remote command failed with exit status 1
[scp] Connecting to roboRIO-4968.local:22
[scp] done.
[scp] Connecting to roboRIO-4968.local:22
[scp] done.
[echo] [athena-deploy] Starting program.
[sshexec] Connecting to roboRIO-4968.local:22
[sshexec] cmd : . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r;
[sshexec] no process in pidfile '/var/run/natinst/FRC_UserProgram.pid' found; none killed
BUILD SUCCESSFUL
Total time: 9 seconds

Also, when connecting to the robot with the driver station, we get the following error, (Not sure if this is just because of no code being on the robot, or if its another error, so im posting it):

ERROR Unhandled exception instantiating robot org.usfirst.frc.team4968.robot.Robot java.lang.ClassNotFoundException: org.usfirst.frc.team4968.robot.Robot at [java.net.URLClassLoader$1.run(URLClassLoader.java: 372), java.net.URLClassLoader$1.run(URLClassLoader.java: 361), java.security.AccessController.doPrivileged(Native Method), java.net.URLClassLoader.findClass(URLClassLoader.j ava:360), java.lang.ClassLoader.loadClass(ClassLoader.java:4 24), sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:308), java.lang.ClassLoader.loadClass(ClassLoader.java:3 57), java.lang.Class.forName0(Native Method), java.lang.Class.forName(Class.java:259), edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:197)]

Last edited by Dinnesy : 26-01-2015 at 12:49.
Reply With Quote