|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
I saw the identical error when we first did the update. (We did all, Labview, then Utilities, then driver station, net beans last)
I reboote the cRIO and the laptop one more time and everything worked fine afterwards. The second laptop I did did not show the error so I suspect it was the cRIO that really needed to reboot. Good luck! |
|
#2
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
Update #2: I re-imaged the cRio; I still get the subnet mask warning, but I can download code and communicate just fine. Thanks guys.
|
|
#3
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
Our whole programming team (5 different laptops) are all getting the 255.255.255.255 subnet mask warning even though it is definitely set to 255.0.0.0. I believe all laptops are updated with the latest Netbeans and FRC software, and the cRIO has the 2011 image. We can download code to the cRIO alright from all laptops, but only one laptop so far has been able to see debug output from System.out.println -- the others keep waiting for the cRIO to reboot even though the cRIO reboot has completed and our code is running. Is this warning just something bogus we should just ignore? Any ideas why most of our laptops can't see debug output?
|
|
#4
|
||||
|
||||
|
Re: NetBeans robot communication/subnet problems
There is something wrong with the warning code. What OS are you using?
Also, if you could post your IP configuration that would be helpful (ipconfig command on windows, ifconfig on mac/linux). Thanks |
|
#5
|
||||
|
||||
|
The "WARNING" issue:
It turns out that there's a bug in Java 6 on Windows. When a network interface supports both IPv6 and IPv4, the Java APIs return the IPv6 network prefix length (128) instead of the correct IPv4 subnet mask. And 128 maps to 255.255.255.255. We'll update the warning code to punt on this case for now. |
|
#6
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
We also are having the subnet mismatch error. What I am not seeing in this thread is a solution. Any ideas?
|
|
#7
|
||||
|
||||
|
Re: NetBeans robot communication/subnet problems
Can you open a command line terminal, run "ipconfig" and post the output?
That would help us narrow down the source of the problem. |
|
#8
|
||||
|
||||
|
Re: NetBeans robot communication/subnet problems
Blackwood,
Are you just getting the subnet mask warning, and NetBeans claims that your subnet is "255.255.255.255"? If so, that is a bogus warning and can be ignored (as mentioned in post #10). BTW, that warning has been fixed in the latest release. If you're getting a different error, please post the text. Good luck! |
|
#9
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
Here is what we are getting. The last line says: Overload me
and it seems to hang at that time. BTW... I'm just the team coach, I am totally clueless on this, I'm just trying to get some answers for the programmers. Thanks in advance! ----- init: init: Deleting directory C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\build Deleting directory C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite Deleting directory C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\j2meclasses clean: Created dir: C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\build Compiling 1 source file to C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\build Note: C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\src\edu\wpi\first\wpilibj\defaultCode\Defa ultRobot.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. compile: Created dir: C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\j2meclasses preverify: Created dir: C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite Building jar: C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite\BuiltInDefaultCode_1.0.0.jar jar-app: 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 100 classes and generated 4 files. Expanding: C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite\BuiltInDefaultCode_1.0.0.jar into C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite Moving 1 file to C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite Moving 1 file to C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite Moving 1 file to C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\suite Deleting: C:\Users\Kaleb\Documents\NetBeansProjects\DefaultC odeBeta\image.suite.api Host OS: Windows 7 6.1, 6.1 Host JVM: Java HotSpot(TM) 64-Bit Server VM 19.0-b09 Target IP: 10.23.59.2 Network interfaces on host: Realtek PCIe GBE Family Controller: address: 10.23.59.6 netmask: 255.255.255.255 WARNING: Host is not on same subnet as robot. May not be able to complete all communication with robot. Connecting FTP @10.23.59.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: visa32 [cRIO] * Loading StartupDlls: nivissvc [cRIO] task 0xee4e68 (PAL00fb6370) deleted: errno=0 (0) status=0 (0) [cRIO] NI-RIO Server 3.2 started successfully. [cRIO] task 0xc60380 (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] task 0x1b0d760 (t2) deleted: errno=0 (0) status=0 (0) [cRIO] FRC_NetworkCommunication was compiled from SVN revision 2258 [cRIO] [cRIO] NI-VISA Server 4.5 started successfully. [cRIO] task 0xe63438 (t1) deleted: errno=1835009 (0x1c0001) status=1 (0x1) [cRIO] FPGA Hardware GUID: 0x2EAA5E59CAF1A8A966853A011B61CC91 [cRIO] FPGA Software GUID: 0x2EAA5E59CAF1A8A966853A011B61CC91 [cRIO] FPGA Hardware Version: 2011 [cRIO] FPGA Software Version: 2011 [cRIO] FPGA Hardware Revision: 1.5.3 [cRIO] FPGA Software Revision: 1.5.3 [cRIO] * Loading StartupDlls: FRC_JavaVM [cRIO] [cRIO] [cRIO] [OTA Server] Version: 2011 FRC, Jan 6 2011, 09:47:42 [cRIO] [cRIO] [cRIO] Welcome to LabVIEW Real-Time 8.6.1f3 [cRIO] [cRIO] [Squawk VM] Version: 2011 FRC, Feb 2 2011, 13:26:47 [cRIO] FPGA Hardware GUID: 0x2eaa5e59caf1a8a966853a011b61cc91 [cRIO] FPGA Software GUID: 0x2eaa5e59caf1a8a966853a011b61cc91 [cRIO] BuiltinDefaultCode Constructor Started [cRIO] [cRIO] BuiltinDefaultCode Constructor Completed [cRIO] [cRIO] RobotInit() completed. [cRIO] [cRIO] Default IterativeRobot.disabledContinuous() method... Overload me! |
|
#10
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
I'm having the same problem.
What happens after it gives me the subnet error, It says it's trying to connect to "FTP@ 10.0.0.2" even though our cRIO's IP address is 10.27.37.2. If I change the cRio's IP to 10.0.0.2, it leaves me hanging on "Overload Me". I've gone through various updates(I was having this problem two weeks ago, back then, the cRIO image was v25, now it's v27) and nothing has worked. I would appreciate some help. |
|
#11
|
||||
|
||||
|
Re: NetBeans robot communication/subnet problems
Quote:
Quote:
|
|
#12
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
I am the programmer of team 499. I have been using lab view since my freshman year but this year our teacher said That we will be programming in java this year. Mine hangs at "overload me!" as well and I literally have no clue on how to proceed. Please help with detailed and simple instructions.
Sincerely, Billy team 499 ![]() |
|
#13
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
Quote:
Definitely take a look at Java samples included with the java plugins. |
|
#14
|
||||
|
||||
|
Re: NetBeans robot communication/subnet problems
What you guys need to do is go into your netbeans options and go to Misc. then from there you will see a tab named FRC config in that tab you need to set your team number to be whatever it is and then it will deploy code to 10.xx.yy.2 instead of 10.0.0.2, also even though the cRio tells you to overload the method the robot should still be able to run.
|
|
#15
|
|||
|
|||
|
Re: NetBeans robot communication/subnet problems
How would I overload it?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|