PersistentStore is not persistent between the device restart

Hello

I use the PersistentStore to store a hash table with an integer simple mapping custom of POJO. It seems to work between the restarts the application, IE, I can totally my application and restart and persistent data are restored. However, after a reboot of the appliance, such as pulling on the battery, the data are there not more and everything is reset to 0 by default. Same thing happens on the Simulator.

I certainly call the commit() every time I change the contents of the table of hash and that in a thread safe way. Nothing appears in the journal of the events, or all exceptions...

It's with OS 4.6.0 and in this case a "BOLD".

One with ideas or similar issues that I could hurt?

Thank you.

Daniel

Right, I found the problem: all the objects you want to persist must implement the Persistable interface. Too bad there is no word about it in the JavaDoc of PersistentStore and PersistentObject and too unfortunate that PersistentObject.setContent () takes an object as a parameter instead of an instance of a Persistable implementation. That probably has to do with the fact that the implementation allows implicit persistables objects as the Java object representatives for more than native data types Hashtable and vector.

Tags: BlackBerry Developers

Similar Questions

  • IMessage does not sync between all devices

    My ipad/Mac will not sync with my iphone imessage. Until I reinstalled my Mac wasn't a problem. If I type a message to someone in imessage from my Mac or my iPad, it does not display in my iphone vice versa.

    imessages from my iphone will not only do not appear in the other two devices, but the response I get will not pass to the device, sure I typed the message. Even the opposite effect. Messages and responses to Mac/iPad won't go on my iPhone imessage.

    Should what setting I change to get everthing again between all devices sync?

    Have you checked that you have activated the same send to and receive to address on all devices.

  • Why use my original USB cable charger for more than a year now is startig to show a sign that it is not compatible with the device? o

    I used without problem my USB cable for over a year, it is original Apple and yesterday began to show a sign that it is not compatible with the device. How can not be supported if it's Apple.

    This can occur if the cable is damaged in any way. See: recharge your iPhone, iPad and iPod touch - Apple Support for more information.

  • Interruption of the WiFi connection.  Green light is the Airport Express. Settings Network said the cable for the Wi - Fi connection is not connected or the device at the other end does not respond.

    Interruption of the WiFi connection.  Green light is the Airport Express.  Settings Network said the cable for the Wi - Fi connection is not connected or the device at the other end does not respond.  Tried to reset Airport Express, but remained light amber or orange flashing.  I unplugged it and waited and plugged back into the light turned green.  Rebooted computer (Mac Pro). Parameters of said the same thing.  Managed to create a WiFi "network with the ethernet in the network settings section, and yet I am wireless.  I am online but not wired and WiFi settings still says not connected, and either the cable for the Wi - Fi is not plugged or the device at the other end does not respond. I don't understand this situation.  My original WiFi name disappeared.  How I am on the internet?

    What is the brand and model of the modem Internet you have the AirPort Express directly connected by Ethernet? What exact model number is your Express?

  • Apple dvd player will not eject a disc, does not show in the devices

    I'm on El Capitan, the player has played other discs, this disc does not appear

    There is no manual of the dvd drive eject

    drive does not appear in the devices

    Get help with the SuperDrive slot on your Mac - Apple Support loading

    How the disk by force ejecting

    Mac Mini

    How to eject a defective DVD?

  • HP ENVY 17-j113tx TouchSmart: Bluetooth paired but NOT connected to the device

    Bluetooth paired but NOT connected to the device - question - Upload of files from device to PC fails.

    Description of the problem

    • Download a file from PC (Win10 x 64) for Android phone has worked well.
    • Download the same file from the phone on PC (Win 10 x 64) - FAILURE.

    Someone knows how to deal with this issue, provide a work around...?

    I have way too much time on my hands right now...!

    Treatment

  • niDMM.cs exception: "the device was not recognized. The device is not supported with this driver or version. »

    Hi all!

    I have a question about using a DMM (PXI-4065) with VStudio 2008 and Measurement Studio 2009.

    Because DMM are not always supported in .net, I downloaded niDMM.cs 3.0 wrapper of the web site of NOR.

    I also downloaded example c# measure DC Voltsto compare with my request.

    Both an example and my application fail trowing the exception [-1074118656] 'the device was not recognized.  The device is not supported with this driver or version. " class constructor is called.

    DMM = new InstrumentDriverInterop.Ivi.nidmm ("PXI3::12:INSTR", true, true);

    I guess it is function of device PXI!

    I also tried to use a VISA alias as "pippo" and then I tried to insert a device unexistent name. In any case the same exception was trown.

    NOR-DAQmx 8.9.5

    NOR-DMM 3.0.1

    NI-VISA 4.6.1

    NOR-MAX 4.6.2f1

    Roberto

    Hello Robson,

    Maybe you areusing an incorrect descriptor itrument, try please the instructions contained in the following document:

    KB 33A96PCW: receive error-1074118656 when running OR DMM screws

    Let me know if this might help.

    Best regards.

  • Calibration error SMU-4141 niDCpower version 1.8, "calibration function is not supported by the device."

    Dear Sir.

    Nice to meet you.

    When I run the SMU-4141 "Adjust voltage Leve.vi niDCPower Cal" calibration function niDCpower version 1.8.

    It shows an error "function of calibration is not supported by the device." (false cae)

    But if I run the calibration function SMU-4141 "niDCPower Cal Adjust voltage Measurement.vi", (real deal)

    It will work.

    See attachments.

    My equipment list:

    Windows XP SP3

    LabVIEW 2011

    niDMM 3.0.5

    niDCpower 1.8

    PXI-1073 case with 2 cards.

    SLOT2: SMU-4141

    slot6: PXI-4071

    Could someone tell me the solution?

    Hi Peter,.

    The calibration process indicates that the call of the function of voltage adjust NI - DCPower Cal calibrates both the output level of the device as well as the ability to measure of the device.  It is even for the Cal of NOR-DCPower function adjust a current measurement.

    You must perform a calibration automatic on the device prior to the initial audit of the device, before the adjustment process and before the final verification process.

    I'm not sure I understand your question very well.  Please let me know if I have not responded sufficiently.

  • DVD/CD drive is not visible in the Device Manager, but it works.

    Original title: My dvd/cd drive is not visible in the Device Manager but

    This works because I have jst begin with him. I can hear the disc running, but nothing ever comes and when I go to computer its not visible there either.

    Hello

    See the methods listed in the article mentioned below.

    My drive does not appear in Windows Explorer

    http://support.Microsoft.com/kb/330140

    Important: This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 how to back up and restore the registry in Windows.

    See this link to view the hidden devices:

    http://msdn.Microsoft.com/en-us/library/Windows/hardware/ff553955 (v = vs. 85) .aspx

    I hope this helps!

  • WMP - does not fit on the device

    I am trying to sync music on my cell phone... but the message, (did not fit on the device) on the side of the mobile track.my is synced to my computer. I have vista basic... WMP 11, unit sony ericsson c902

    Hi simonaces,

    Thanks for posting on answers.microsoft.com

    The error in the information provided is typical, as the music player is bursting at the seams.  In case this is not correct, the manufacturer's website may have more information about the specific error on your brand of system.

    MAKE A BACKUP OF YOUR MUSIC BEFORE WALKING THROUGH THESE TROUBLESHOOTING STEPS.

    More specific information about this error may be found on the website of your mobile phone manufacturer.

    Here are a few troubleshooting steps that can be useful for you, however, he will wipe away your current music out of the system.

    1 connect the player to your PC via the USB cable.

    2 open Windows Media Player.

    3. go to the Sync tab or devices and remove all the contents of the drive.

    4. go to the Tools menu and select Options.

    5. Select the devices tab, select the Sony drive and click Properties.

    6 uncheck 'create folder hierarchy on Device '.

    Now, when music is transferred, it will be placed in the root directory of the flash memory without taking into account the structure of the file and which allows to consider all tracks and less cache used by indicating the complete error of the device.

    Don't forget, make a backup of music before walking through the troubleshooting steps.  The steps are designed to clear the music file and then not select a hierarchy to activate folder structure that would free the cache for storing music to.

    Please let us know if that fixes the problem or if assistance is needed.

    Debbie Microsoft Support Engineer answers visit our Forum of Microsoft answers Feedback and let us know what you think.

  • computer (Vista) tells me there is a problem with a scanner, I have not, say to uninstall, but it does not appear on the Device Manager

    tried to install camara, but when it says click on your product, but the camara is not on the list, only scan appears on the list, but I don't have a scanner. tried to uninstall, but does not appear on the Device Manager. try to download programs, and they do not arise in Start menu, just uninstall it list? Thank you

    Hello

    I suggest to uninstall unwanted software from your computer and then try to install the camera. Visit the link below to find the steps on how to uninstall programs "programs and features".

    http://Windows.Microsoft.com/en-us/Windows7/uninstall-or-change-a-program

    After you have installed the camera, please check in the folder C:/Program files if it shows there.

    It may be useful

  • My HP DVD/ROM does not appear in the device under my computer Manager or when I scan for readers.

    My HP DVD/ROM does not appear in the device under my computer Manager or when I scan for readers, most of the time.  Every now and then it will be visible and I can use it but 90% of the time it does not exist.  I tried the regedit fix, nothing.  I tried the program Microsoft Fix It, it tells me it cannot locate a DVD/ROM.  I removed, cleaned and reinserted my DVD/ROM drive, but no difference.  I tried everything, except the upgrade to Windows 7... who will be my last resort.

    Hello gargoyle28m,

    If your hardware is not detected to upgrade to Windows 7 is not a resolution. This issue may be caused if the DVD drive is faulty or connections loose on the mother board. You may need to check the connections. I suggest you check if the DVD drive works on another computer. You can contact the manufacturer of your computer to help you with this problem.

    Thank you
    Irfan H, Engineer Support Microsoft Answers. Visit our Microsoft answers feedback Forum and let us know what you think.

  • Ethernet adapter is not showing in the Device Manager

    I have a vastro 460 with i3 with intel and Windows 7 32 bit. try to install the driver for the network card, but does not. Ping works but do not show in the Device Manager.

    Any help will be much appreciated

    Hi EMH.

    You will need to install the Chipset Drivers first and later network adapter drivers. The IP address that you have ping is the local host and works, even when there is no network card detected.

    Please download and install the NIC in the network section and the section Chipset Chipset drivers from the following link, by drilling in the serial number:
    http://Dell.to/QjjZDA

    Please let me know if you need more assistance.

  • Is it possible to prevent the device restarts when I deploy an application?

    Hello

    Whenever I have deploy an application on my device (Blackberry 9780, OS6.0) to test the device restarts. Is it possible to deploy without having to go through this lengthy process?

    Who knows what is happening behind the scenes!

    There are simple things, like the establishment of the correct size at startup icon, which will mean that your device needs to restart after the installation.

    Since I believe PhoneGap and WebWorks are about you, you can get an answer on the forum WebWorks.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/BD-p/browser_dev

  • "Object not found in the device.

    Hello

    When I try to add the new controller in the WCS (ver. 4.1.91.0), I get this error:

    "Cannot add the device at a rate of WCS: object was not found in the device.

    The controller was added earlier and then deleted again. When I try to add the controller again, I get the above error. It's a WLC2106 I'm trying

    Both the WCS and the new controller works fine, and I tried to start both.

    Still not the same error when you try to add.

    Anyone know what it could be?

    TIA

    Peter

    Yes I do, or restore your controller for 4.1.185 if this version works for you...

Maybe you are looking for