PDA

View Full Version : Failed to establish with VM


mama_tree
02-16-2010, 09:29 AM
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?

derekwhite
02-16-2010, 12:34 PM
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.

mama_tree
02-17-2010, 09:01 AM
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()

derekwhite
02-18-2010, 01:54 PM
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