Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Java code won't finish deploying (http://www.chiefdelphi.com/forums/showthread.php?t=110708)

lemonzap 07-01-2013 22:18

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


RufflesRidge 07-01-2013 22:29

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.

lemonzap 07-01-2013 22:31

Re: Java code won't finish deploying
 
It seems to have worked, thanks.

MagiChau 07-01-2013 22:43

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.


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

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