Error trying to use Object Store

Former Member
Former Member
I have been trying to experiment with the Object Store and having problems. After having problems I imported the ObjectStore sample project and am able to run it successfully but anytime I try to use getProperty or setProperty in my own project I get errors. Simply adding getProperty("test") into the onStart method of my AppBase class fails.

Here is a console dump

Device Version 0.32.3Device id 324009984 name "A garmin Shell Version 0.32.3Unable to allocate memory for deserialization
Unexpected Type Error
in getProperty (/Users/lahm/Desktop/Monkeybrains/toolchain/mbsimulator/submodules/technology/monkeybrains/virtual-machine/api/Application.mb:59)
in onStart (source/Test_GarminApp.mc:8)


Has anyone encountered similar problems, or have any clue what might be wrong?

I am running on a Mac if that is useful info.
  • Former Member
    Former Member over 10 years ago
    I finally ended up moving all of my code into the sample app and converting that sample app into my new working project because that was working. At one point I had made my sample app and original project identical but for some reason the project that I created in Eclipse always failed.

    I should have saved a zip file of my project for future testing or to pass to a garmin engineer but didn't think to before I deleted it from within Eclipse.