Go to Post I, for one, refused to be railroaded down this train of thought so easily! Geeze, one lousy game hint just builds up steam for any old picture to come through and go two pages in a matter of hours. - Billfred [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 02-16-2010, 10:29 AM
mama_tree's Avatar
mama_tree mama_tree is offline
Registered User
FRC #3168 (WARRIORS)
Team Role: Teacher
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Suffolk, VA
Posts: 51
mama_tree has a spectacular aura aboutmama_tree has a spectacular aura aboutmama_tree has a spectacular aura about
Failed to establish with VM

So, my kids have installed the updates and now... we are getting an error message stating "Failed to establish with VM" and that it will try again in 5 seconds. This happened right after it connected to the cRio. We did not have this problem before we installed the update.

On a side note- Our code worked before the updates- except the jaguars aren't working for some reason- it told us that the jaguars are getting the message but for some reason they are not activating the motors.

Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-16-2010, 01:34 PM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Failed to establish with VM

It looks like you're trying to do a "Debug Project" instead of a "Run Project" from NetBeans. If that's not the case, please post the output from run attempt.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-17-2010, 10:01 AM
mama_tree's Avatar
mama_tree mama_tree is offline
Registered User
FRC #3168 (WARRIORS)
Team Role: Teacher
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Suffolk, VA
Posts: 51
mama_tree has a spectacular aura aboutmama_tree has a spectacular aura aboutmama_tree has a spectacular aura about
Re: Failed to establish with VM

init:
init:
No to.jar.file specified.
Using "suite\Project3169_1.0.0.jar"
Deleting directory C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\build
Deleting directory C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite
Deleting directory C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\j2meclasses
clean:
Created dir: C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\build
Compiling 5 source files to C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\build
compile:
Created dir: C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\j2meclasses
preverify:
Created dir: C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite
Building jar: C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite\Proje ct3169_1.0.0.jar
jar-app:
Using "suite\Project3169_1.0.0.jar"
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
Romizer processed 129 classes and generated these files:
C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\image.sym
C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\image.suite
C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\image.suite .metadata
C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\image.suite .api
Expanding: C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite\Proje ct3169_1.0.0.jar into C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite
Moving 1 file to C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite
Moving 1 file to C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite
Moving 1 file to C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\suite
Deleting: C:\Documents and Settings\Developer\My Documents\NetBeansProjects\Project3169\image.suite .api
Connecting FTP @10.31.68.2
upgrade:
Sending local file image.suite
flashapp:
deploy:
init:
[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)
[cRIO]
[cRIO] -> * Loading StartupDlls: debug
[cRIO] Entering debug.o StartupLibraryInit
[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: Jul 29 2009, 13:41:47
[cRIO] ED&R Policy Mode: Deployed
[cRIO] WDB Comm Type: WDB_COMM_END
[cRIO] WDB: Ready.
[cRIO]
[cRIO] Leaving debug.o StartupLibraryInit
[cRIO] * Loading StartupDlls: NiRioRpc
[cRIO] * Loading StartupDlls: niorbs
[cRIO] * Loading StartupDlls: NiViSrvr
[cRIO] * Loading StartupDlls: nivissvc
[cRIO] task 0xee4818 (PAL00fb5bb8) deleted: errno=0 (0) status=0 (0)
[cRIO] NI-RIO Server 3.2 started successfully.
[cRIO] task 0xc5fc68 (NiRioRpc) deleted: errno=0 (0) status=0 (0)
[cRIO] * Loading StartupDlls: nivision
[cRIO] * Loading StartupDlls: niserial
[cRIO] * Loading StartupDlls: FRC_FPGA
[cRIO] * Loading StartupDlls: FRC_NetworkCommunication
[cRIO] FRC_NetworkCommunication was compiled from SVN revision 2123
[cRIO] FPGA Hardware GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
[cRIO] FPGA Software GUID: 0xAD9A5591CC64E4DF756D77D1B57A549E
[cRIO] FPGA Hardware Version: 2010
[cRIO] FPGA Software Version: 2010
[cRIO] FPGA Hardware Revision: 1.3.0
[cRIO] FPGA Software Revision: 1.3.0
[cRIO] * Loading StartupDlls: FRC_JavaVM
[cRIO]
[cRIO]
[cRIO] [OTA Server] Version: 2010 FRC, Feb 4 2010, 21:33:36
[cRIO]
[cRIO] task 0x21502f0 (t2) deleted: errno=0 (0) status=0 (0)
[cRIO]
[cRIO] Welcome to LabVIEW Real-Time 8.6.1f2
[cRIO]
[cRIO] NI-VISA Server 4.5 started successfully.
[cRIO] task 0xe62e38 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1)
[cRIO]
[cRIO] [Squawk VM] Version: 2010 FRC, Feb 15 2010, 16:46:10
[cRIO] FPGA Hardware GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] FPGA Software GUID: 0xad9a5591cc64e4df756d77d1b57a549e
[cRIO] 3168 begin init
[cRIO] 3168 done init
[cRIO] Information: No user-supplied robotMain()
Reply With Quote
  #4   Spotlight this post!  
Unread 02-18-2010, 02:54 PM
derekwhite's Avatar
derekwhite derekwhite is offline
Java Virtual Machine Hacker
no team (FIRST@Oracle)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2009
Location: Burlington, MA
Posts: 127
derekwhite is on a distinguished road
Re: Failed to establish with VM

That run looked fine actually. It looks like your robot code started up, called your init code, then printed the standard (confusing) message about robotMain.

[cRIO] 3168 begin init
[cRIO] 3168 done init
[cRIO] Information: No user-supplied robotMain()

Is there another problem that I'm missing? Thanks,

- Derek
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to Connect after reinstall Blooper4912 C/C++ 2 02-07-2009 01:04 PM
Failed Benchtop test rhoads2234 Programming 22 01-10-2009 10:49 AM
pic: 1625 Failed Lift Eldarion Extra Discussion 5 03-19-2007 12:58 AM
Compiling Failed Teh Mike Programming 7 02-09-2005 01:27 PM
pic: Failed attempt at simulation CD47-Bot Extra Discussion 5 06-17-2004 11:03 AM


All times are GMT -5. The time now is 07:34 AM.

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