Go to Post I am also impressed that you maintained the integrity of your parentheses; you must be a software guy... - DonRotolo [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

 
 
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 22-01-2014, 16:46
StylesOfKimchi StylesOfKimchi is offline
Registered User
FRC #2785
 
Join Date: Jan 2014
Location: Kent, CT
Posts: 4
StylesOfKimchi is an unknown quantity at this point
New Robot programmers. Trouble deploying

I'll get straight to the point because short posts are good.
We got a new programming labtop that wasn't cluttered with four years of FIRST Software.
We imaged the cRIO with the 2014 zip and have been trying to deploy the Iterative Robot code I wrote for the robot.
However, we are having an issue with the deployment. After the cRIO is rebooted and everything thing is done, I get this error

...
[cRIO] Welcome to LabVIEW Real-Time 13.0
[cRIO] task 0x187b4f0 (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] java.lang.IllegalArgumentException: no ':' in URI
...
[cRIO] WARNING: Robots don't quit!
[cRIO] ---> The startCompetition() method (or methods called by it) should have handled the exception above.

Here's the full stack of text in the console output for your perusal
Code:
ant -f C:\\Users\\Robotics\\Documents\\NetBeansProjects\\PreliminaryBot deploy run
clean:
Deleting directory C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build
Created dir: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build
Created dir: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\classes
[crio-compile] ./src, C:/Users/Robotics/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/Robotics/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/Robotics/sunspotfrcsdk\lib\squawk.jar -> ./build/classes
Compiling 10 source files to C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\classes
compile:
preverify:
Created dir: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\preverify
Created dir: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\preverify.raw.util
[crio-preverify] ./build/classes, , C:/Users/Robotics/sunspotfrcsdk\lib\wpilibj.jar;C:/Users/Robotics/sunspotfrcsdk\lib\networktables-crio.jar, C:/Users/Robotics/sunspotfrcsdk\lib\squawk.jar -> ./build/preverify
Expanding: C:\Users\Robotics\sunspotfrcsdk\lib\wpilibj.jar into C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\preverify
Expanding: C:\Users\Robotics\sunspotfrcsdk\lib\networktables-crio.jar into C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\preverify
jar:
[crio-jar] ./build/preverify, ./resources -> ./build/app.jar
Building jar: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\app.jar
suite:
Created dir: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\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 397 classes and generated 4 files.
Expanding: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\app.jar into C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\suite
Moving 1 file to C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\suite
Moving 1 file to C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\suite
Moving 1 file to C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\build\suite
Deleting: C:\Users\Robotics\Documents\NetBeansProjects\PreliminaryBot\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 24.51-b03
Target IP: 10.27.85.2
Network interfaces on host:
    Intel(R) 82577LM Gigabit Network Connection:  address: 10.27.85.5 netmask: 255.0.0.0 <--- on robot's subnet
Connecting FTP @10.27.85.2
[crio-deploy] ./build/suite/image.suite -> 10.27.85.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)
   Waiting for cRIO to reboot (11s)
[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 0x18a30c8 (VISA Jungo Init Thread) deleted: errno=196709 (0x30065) status=-1073807360 (0xbfff0000)
[cRIO] * Loading nivissvc.out: nivissvc
[cRIO] * Loading nivision.out: nivision
[cRIO] task 0x1a15c18 (Service Locator Thread 5) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 13.0 started successfully.
[cRIO] task 0x1760a90 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x1a1ef40 (Service Locator Thread 6) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x1a1ef40 (Service Locator Thread 7) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x1a1ef40 (Service Locator Thread 8) deleted: errno=0 (0) status=0 (0)
[cRIO] task 0x165c448 (nisysapi-mDns) 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_ChipObject.out: FRC_FPGA_ChipObject
[cRIO] * Loading FRC_NetworkCommunication.out: FRC_NetworkCommunication
[cRIO] FRC_NetworkCommunication version: p4-1.4.0a18
[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 0x187b4f0 (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] java.lang.IllegalArgumentException: no ':' in URI
[cRIO]     at javax.microedition.io.Connector.open(221)
[cRIO]     at javax.microedition.io.Connector.open(193)
[cRIO]     at javax.microedition.io.Connector.openDataOutputStream(400)
[cRIO]     at javax.microedition.io.Connector.openOutputStream(354)
[cRIO]     at edu.wpi.first.wpilibj.templates.DataLogger.<init>(DataLogger.java:25)
[cRIO]     at edu.wpi.first.wpilibj.templates.AerialAssist.robotInit(AerialAssist.java:84)
[cRIO]     at edu.wpi.first.wpilibj.IterativeRobot.startCompetition(IterativeRobot.java:72)
[cRIO]     at edu.wpi.first.wpilibj.RobotBase.startApp(RobotBase.java:235)
[cRIO]     in virtual method #10 of javax.microedition.midlet.MIDlet(bci=17)
[cRIO]     at javax.microedition.midlet.MIDletTunnelImpl.callStartApp(64)
[cRIO]     at com.sun.squawk.imp.MIDletMainWrapper.main(110)
[cRIO]     in virtual method #95 of com.sun.squawk.Klass(bci=25)
[cRIO]     at com.sun.squawk.Isolate.run(1506)
[cRIO]     at java.lang.Thread.run(231)
[cRIO]     in virtual method #47 of com.sun.squawk.VMThread(bci=42)
[cRIO]     in static method #3 of com.sun.squawk.VM(bci=6)
[cRIO] WARNING: Robots don't quit!
[cRIO] ---> The startCompetition() method (or methods called by it) should have handled the exception above.
Our last programmer graduated without teaching anyone anything, so my mentor and I are trying to figure this out.
Any help is appreciated. Thanks in advance.
Reply With Quote
 


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 12:44.

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