Go to Post In the real world nothing is ever to spec. Just another part of the challenge. - 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 07-01-2013, 22:18
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Java code won't finish deploying

I've been trying to deploy java code to our robot but it gets stuck here every time. Any idea what I'm doing wrong?
Code:
clean:
Deleting directory C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build
Created dir: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build
Created dir: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\classes
[crio-compile] ./src, C:/Users/Lemonzap/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/Lemonzap/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/Lemonzap/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 7 source files to C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\classes
compile:
preverify:
Created dir: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\preverify
Created dir: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/Lemonzap/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/Lemonzap/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/Lemonzap/sunspotfrcsdk\lib\squawk.jar -> ./build/preverify
Expanding: C:\Users\Lemonzap\sunspotfrcsdk\lib\wpilibj.jar into C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\preverify
Expanding: C:\Users\Lemonzap\sunspotfrcsdk\lib\networktables-crio.jar into C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\app.jar
suite:
Created dir: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\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]
Romizer processed 383 classes and generated 4 files.
Expanding: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\app.jar into C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\suite
Moving 1 file to C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\suite
Moving 1 file to C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\suite
Moving 1 file to C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\build\suite
Deleting: C:\Users\Lemonzap\Documents\NetBeansProjects\2928-test\Vision Test\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 21.0-b17
Target IP: 10.29.28.2
Network interfaces on host:
    Realtek PCIe GBE Family Controller:  address: 10.29.28.5 netmask: 255.255.255.0 <--- on robot's subnet
    Intel(R) Centrino(R) Wireless-N 1030:  address: 192.168.1.12 netmask: 255.255.255.254
    Hamachi Network Interface:  address: 25.35.115.230 netmask: 255.0.0.0
Connecting FTP @10.29.28.2
[crio-deploy] ./build/suite/image.suite -> 10.29.28.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: MPC5200 -- Wind River Lite5200 BSP.
[cRIO]     Runtime Name: VxWorks
[cRIO]  Runtime Version: 6.3
[cRIO]      BSP version: 2.0/10
[cRIO]          Created: Jun 14 2012, 08:46:35
[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] * Loading nivissvc.out: nivissvc
[cRIO] * Loading nivision.out: nivision
[cRIO] NI-RIO Server 12.0.0b10 started successfully.
[cRIO] task 0xd98aa8 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading visa32.out: visa32
[cRIO] * Loading niserial.out: niserial
[cRIO] * Loading NiFpgaLv.out: NiFpgaLv
[cRIO] * Loading FRC_FPGA.out: FRC_FPGA
[cRIO] * Loading FRC_NetworkCommunication.out: FRC_NetworkCommunication
[cRIO] FRC_NetworkCommunication version: p4-1.4.0a10
[cRIO] FPGA Hardware GUID: 0xA14C11BDE4BB64AEF6A86FC52A294CD9
[cRIO] FPGA Software GUID: 0xA14C11BDE4BB64AEF6A86FC52A294CD9
[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 12.0rc7
[cRIO] task 0xc9daa8 (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: 0xa14c11bde4bb64aef6a86fc52a294cd9
[cRIO] FPGA Software GUID: 0xa14c11bde4bb64aef6a86fc52a294cd9
Reply With Quote
  #2   Spotlight this post!  
Unread 07-01-2013, 22:29
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Java code won't finish deploying

That looks like the deployment completed. Note that the process never "completes" in Netbeans, it will continue to show NetConsole output in the output tab. Try connecting the Driver Station and see if it shows Robot Code.
Reply With Quote
  #3   Spotlight this post!  
Unread 07-01-2013, 22:31
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Re: Java code won't finish deploying

It seems to have worked, thanks.
Reply With Quote
  #4   Spotlight this post!  
Unread 07-01-2013, 22:43
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: Java code won't finish deploying

The deploy finishes when the cRIO starts rebooting. Everything after that is just an output from the cRIO.
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 10:01.

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