Quote:
Originally Posted by Arhowk
What.... i posted and it said a moderator has to approve the thread and its still not there....
anyway, if it finally does show up, heres the exact error whenever i try to use the Preferences class
Code:
[cRIO] Done Reading
[cRIO] task 0x111b458 (FRC_cameraTask) deleted: errno=0 (0) status=0 (0U)
[cRIO] ncaught out of memory error on thread - aborting isolate Server Connection Reader Thread
[cRIO] Tried to execute callbacks in the context of an isolate that is no longer alive: isolate 1 "edu.wpi.first.wpilibj.templates.RobotTemplate" (EXITED)
[cRIO] Skipping that set of callbacks
[cRIO] task 0x1126ed8 (cached TaskExecutor 1) deleted: errno=0 (0) status=0 (0)
[cRIO]
[cRIO]
[cRIO] --------------------------------------------------------------------
[cRIO] GCs: 1 full, 4 partial
[cRIO] ** VM stopped: exit code = 999 **
[cRIO] task 0xd1f738 (SquawkRobotTask) deleted: errno=0 (0) status=999 (0x3e7)
BUILD STOPPED (total time: 59 seconds)
e/ i guess santas not coming.
I get the above error when trying to use the Prefrences class... other stuff was just blabble
|
Just found the error that you are showing here. It is a bug in the Preferences class in WPILib. There is a fixed version of it in Stable (not Release) release of WPILibJ. Can you try updating your plugins to the Stable version by editing the plugin location and changing "Release" to "Stable" in the URL? Let me know if it work for you.
Also, there is an example of using the Preferences class here:
http://wpilib.screenstepslive.com/s/...smartdashboard
Thanks
Brad