Go to Post Where's my hammer? I need a bigger hammer. - JaneYoung [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 18-01-2014, 13:25
lomogoto lomogoto is offline
Registered User
FRC #4682
 
Join Date: Jan 2013
Location: Seattle
Posts: 5
lomogoto is an unknown quantity at this point
Exclamation Java Deploy Does Not End

When pushing a simple program to the cRIO we get multiple "task" messages and the deply gets stuck and dos not continue or give a message. We have tried from our main computer, and the classmate both wired and wireless. Our output is:

Code:
ant -f "C:\\Users\\Developer\\Documents\\NetBeansProjects\\2014 FRC" deploy run
clean:
Deleting directory C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build
Created dir: C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build
Created dir: C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\classes
[crio-compile] ./src, C:/Users/Developer/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/Developer/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/Developer/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 1 source file to C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\classes
compile:
preverify:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\preverify
Created dir: C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/Developer/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/Developer/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/Developer/sunspotfrcsdk\lib\squawk.jar -> ./build/preverify
Expanding: C:\Users\Developer\sunspotfrcsdk\lib\wpilibj.jar into C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\preverify
Expanding: C:\Users\Developer\sunspotfrcsdk\lib\networktables-crio.jar into C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\app.jar
suite:
Created dir: C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\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\Developer\Documents\NetBeansProjects\2014 FRC\build\app.jar into C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\suite
Moving 1 file to C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\build\suite
Deleting: C:\Users\Developer\Documents\NetBeansProjects\2014 FRC\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 20.9-b04
Target IP: 10.46.82.2
Network interfaces on host:
    Realtek RTL8192CE Wireless LAN 802.11n PCI-E NIC:  address: 10.46.82.9 netmask: 255.0.0.0 <--- on robot's subnet
Connecting FTP @10.46.82.2
[crio-deploy] ./build/suite/image.suite -> 10.46.82.2
Sending local file image.suite
run:
[cRIO] [OTA Server] ********* REBOOTING cRIO *********
[cRIO] 
   Waiting for cRIO to reboot (1s)
   Waiting for cRIO to reboot (2s)
   Waiting for cRIO to reboot (3s)
   Waiting for cRIO to reboot (4s)
   Waiting for cRIO to reboot (5s)
   Waiting for cRIO to reboot (6s)
   Waiting for cRIO to reboot (7s)
   Waiting for cRIO to reboot (8s)
   Waiting for cRIO to reboot (9s)
   Waiting for cRIO to reboot (10s)
[cRIO] 
[cRIO] -> * Loading debug.o: debug
[cRIO] Debugging is up, target server mounted at /tsfs
[cRIO] 
[cRIO] 
[cRIO]                 VxWorks
[cRIO] 
[cRIO] Copyright 1984-2006  Wind River Systems, Inc.
[cRIO] 
[cRIO]              CPU: cRIO-FRC II
[cRIO]     Runtime Name: VxWorks
[cRIO]  Runtime Version: 6.3
[cRIO]      BSP version: 1.0/0
[cRIO]          Created: May 23 2013, 16:00:09
[cRIO] ED&R Policy Mode: Deployed
[cRIO]    WDB Comm Type: WDB_COMM_END
[cRIO]              WDB: Ready.
[cRIO] 
[cRIO] * Loading nisysrpc.out: nisysrpc
[cRIO] * Loading NiRioRpc.out: NiRioRpc
[cRIO] task 0x188a1c8 (VISA Jungo Init Thread) deleted: errno=196709 (0x30065) status=-1073807360 (0xbfff0000)
[cRIO] * Loading nivissvc.out: nivissvc
[cRIO] * Loading nivision.out: nivision
[cRIO] task 0x18edc88 (Service Locator Thread 5) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 13.0 started successfully.
[cRIO] task 0x17422c0 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x1a03758 (Service Locator Thread 6) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x1a03758 (Service Locator Thread 7) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x1643548 (nisysapi-mDns) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading visa32.out: visa32
[cRIO] * Loading NiFpgaLv.out: NiFpgaLv
[cRIO] * Loading FRC_FPGA_ChipObject.out: FRC_FPGA_ChipObject
[cRIO] * Loading FRC_NetworkCommunication.out: FRC_NetworkCommunication
[cRIO] FPGA Hardware GUID: 0x1394F6DC1FEB42EC6910E5767ED1D22C
[cRIO] FPGA Software GUID: 0x1394F6DC1FEB42EC6910E5767ED1D22C
[cRIO] FPGA Hardware Version: 2012
[cRIO] FPGA Software Version: 2012
[cRIO] FPGA Hardware Revision: 1.6.4
[cRIO] FPGA Software Revision: 1.6.4
[cRIO] * Loading FRC_JavaVM.out: FRC_JavaVM
[cRIO] 
[cRIO] 
[cRIO] [OTA Server] Version: 2012 FRC, Jan  5 2012, 17:20:48
[cRIO] 
[cRIO] 
[cRIO] Welcome to LabVIEW Real-Time 13.0
[cRIO] task 0x18625f0 (sysapi-rpc) deleted: errno=0 (0) status=0 (0)
[cRIO] 
[cRIO] [Squawk VM] Version: 2011 FRC, Nov  5 2011, 14:34:13
[cRIO] FPGA Hardware GUID: 0x1394f6dc1feb42ec6910e5767ed1d22c
[cRIO] FPGA Software GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
[cRIO] Default robotInit() method running, consider providing your own
[cRIO] Default disabled() method running, consider providing your own
BUILD STOPPED (total time: 1 minute 22 seconds)
Any help is apreciated.

The program being deployed: (Should just display "Hello World" to the DS)

Code:
package edu.wpi.first.wpilibj.templates;

import edu.wpi.first.wpilibj.SimpleRobot;
import edu.wpi.first.wpilibj.DriverStationLCD;

public class Robot extends SimpleRobot {
    public void autonomous() {
        
    }
    public void operatorControl() {
        DriverStationLCD.getInstance().println(DriverStationLCD.Line.kUser1, 1, "Hello World");
    }
    public void test() {
    
    }
}

Last edited by lomogoto : 18-01-2014 at 13:29.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2014, 13:31
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,565
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 Deploy Does Not End

The deploy process doesn't end normally, but your code is still running. The task messages are normal as well. I don't see any problems with what you posted.

Is there another problem you're having?
Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2014, 13:37
lomogoto lomogoto is offline
Registered User
FRC #4682
 
Join Date: Jan 2013
Location: Seattle
Posts: 5
lomogoto is an unknown quantity at this point
Re: Java Deploy Does Not End

I would expect, when I open the DS and eneable, it would print "Hello World" to the window but it remains blank. Am I just misunderstanding what my code should do? Also I am worried that I need to manually kill the deploy process.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2014, 13:42
lomogoto lomogoto is offline
Registered User
FRC #4682
 
Join Date: Jan 2013
Location: Seattle
Posts: 5
lomogoto is an unknown quantity at this point
Re: Java Deploy Does Not End

Here is also what the DS outputs when connecting if that helps.

Code:
Warning <Code> 44002 occurred at Ping Results:  link-bad,  DS radio(.4)-bad,  robot radio(.1)-GOOD,  cRIO(.2)-GOOD,  FMS-bad Driver Station
<time>1/18/2014 10:38:22 AM<unique#>7
FRC:  Driver Station ping status has changed.
Warning <Code> 44003 occurred at Driver Station
<time>1/18/2014 10:38:10 AM<unique#>6
FRC:  No robot code is currently running.
WARNING <Code> 44007 occurred at FRC_NetworkCommunications <secondsSinceReboot> 309.893
FRC:  Time since robot boot.
Warning <Code> 44001 occurred at Modified Network Configuration: Set Element not found.
FRC:  Driver Station network configuration status.





Driver Station
<time>1/18/2014 10:38:07 AM<unique#>5
Warning <Code> 44002 occurred at Ping Results:  link-bad,  DS radio(.4)-bad,  robot radio(.1)-bad,  cRIO(.2)-bad,  FMS-bad Driver Station
<time>1/18/2014 10:38:06 AM<unique#>4
FRC:  Driver Station ping status has changed.
Warning <Code> 44004 occurred at Driver Station
<time>1/18/2014 10:38:04 AM<unique#>3
FRC:  The Driver Station has lost communication with the robot.
ERROR <Code> -44009 occurred at Driver Station
<time>1/18/2014 10:38:04 AM<unique#>2
FRC:  A joystick was disconnected while the robot was enabled.

Warning <Code> 44006 occurred at Driver Station
<time>1/18/2014 10:38:04 AM<unique#>1
FRC:  Custom I/O is not enabled or is not connected to the driver station.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2014, 13:59
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,565
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 Deploy Does Not End

It should be printing to the user messages window on the operation tab, not the messages window on the diagnostics tab (which you posted). Just want to make sure you're looking in the right place.

Last edited by Joe Ross : 18-01-2014 at 14:01.
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2014, 14:03
lomogoto lomogoto is offline
Registered User
FRC #4682
 
Join Date: Jan 2013
Location: Seattle
Posts: 5
lomogoto is an unknown quantity at this point
Re: Java Deploy Does Not End

Yes I understand that. That issue was because there was no updateLCD() call. So that issue is now solved. Now my only issue is the manually ending the deploy which is a hastle but not critical. Thank you.
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 02:02.

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