With 'something' in PersistentStore requires a restart of the device after the upgrade/uninstall?

Hi all

I am trying to identify what is the maximum feature that can be implemented in a BlackBerry application so that updated/uninstall does not reboot of the device.

Official information about the persistent objects:

==== KB ====

http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800620/What_Is...

...

The application contains a live referenceto a persistent object. 

...

= Forum =.

http://rim.lithium.com/T5/Java-development/error-module-is-in-use/m-p/131618

....

What exactly does it mean that "The application contains a live reference to a persistent object"? More specifically what does "live" mean?

....

This is an "uncommitted" modified persistent object that is in use by the application.

....

My current tests show that once you have something stored in PersistentStore, uninstall / upgrade will require restarting the device. Can someone please confirm this or explain what is wrong with my test script (code to follow)?

Your application being started has nothing to do with the fact that there is a direct reference from your application to the persistent store. At the start of the system, the operating system made a lot of analysis of existing modules, whether or not they are reported to run at startup. During this analysis, it will link the custom object in the modules in your application's persistent store. (This analysis also makes it possible for the system automatically removes the persistent, custom objects that have been orphaned by an application being uninstalled.)

As Simon posted, is not having an object persistent, but having a custom persistent object that forces a restart. Try your experience using a hash instead of a ConfigObject table.

Note that the downside of using a generic object as the Hashtable class is that the persistent data of your application will not disappear when your application is removed.

Tags: BlackBerry Developers

Similar Questions

  • My iPhone6s pairs with ONE single device (phone link2cell). will pair with something else, and "bicycle wheel" changes all the time! Any suggestions?

    My iPhone6s pairs with ONE single device (phone link2cell). will pair with something else. At the opening of the Bluetooth window "bicycle wheel" next to "Other devices" is always running as if the search! Any suggestions?

    When you open the Bluetooth section in the settings, you can still see the spinning wheel, because it is in discovery mode and is actually looking for other devices in the range. Other devices must be in discovery/torque for the device mode to find them. However, I'm not sure you can be associated with multiple devices at the same time with the iPhone. You can have multiple devices matched on the phone, but you can always not more than one partner at the same time. It depends on what it is you are trying to pair.

  • Error: The installer cannot set Windows XP required configuration information during the upgrade to Windows XP Home SP3 of Windows XP Pro.

    Original title: OEM Windows XP Home SP3 update XP Pro

    Here is a compilation of the messages from another forum regarding
    My problem:
    ---------------------------------------------------------------

    I'm trying to upgrade a Windows XP Home Sp3 OEM system to
    Windows XP Pro. (There are a few Pro features
    that are not available in the House I now need: (1) the files offline and
    (2) an add-on available for free to Onenote 2007, Top2onenote, requires a Pro).
    I don't want a clean install, but an upgrade. I bought a Windows XP Pro
    Upgrade CD on Ebay that was Windows XP Pro
    Gold (v2002). I'm sure that's true for the following reasons:

    It has been listed as an upgrade, but the CD is not labeled "Upgrade".
    It seems very authentic with all Microsoft holography.
    He came in the standard package of Windows XP (without box),
    and it was sealed.
    The name of volume for the CD is WXPFPP_EN. The Internet,.
    It is the retail of Windows XP Pro RTM (gold)!

    Here are things I tried initially.

    (1) I tried to upgrade to Pro from the purchased CD. It is immediately
    has refused to upgrade indicating the upgrade OS (Pro) is older than the
    installed OS (home)...

    (2) I read about "slipstreaming". "Slipstreaming" allows to integrate
    a service pack with an earlier version of the operating system. I created a
    upgrade XP Pro SP3 with Nlite slipstreamed CD image (and
    Autostreamer later, but it made no difference) from the purchased CD
    and a file containing SP3.

    After you burn the CD and start the upgrade
    (Windows installation), the upgrade process
    product through "information collection."
    "Dynamic update" and "Preparation of Installation" with
    no problems. My computer restarted and returned to
    "Installation preparation". A progress bar called 'Progress '.
    quickly filled to about 90% and the hanging system
    at that time there for about 15 minutes.
    Then, I got the following error message:

    Setup cannot set the required Windows XP configuration
    information. This indicates an internal Setup error.

    This is where I am stuck. I had to leave the installation at this point.
    My drive is starts raining and I had to restore a backup.

    (3) just for the heck of it, I formatted my hard drive and
    reinstalled my original OEM XP Home SP3 OS (no clean up, no user file).
    I immediately used my XP CD slipstreamed Pro to try one
    upgrade to XP Pro and IT WORKED! I need to find out why the
    properly clean XP Home OS upgraded to XP Pro but my pre-existing
    (with the files users, drivers, etc..) XP Home OS does not level
    successfully to XP Pro.
    -------------------------------------------------------------

    Another post:

    Yet once, today, I installed a new copy of OEM Windows XP Home Sp3.
    I continue with installation of all the essential and the add-on
    pilots (essentially all my original version). Then, I
    set up a network connection and firewall. With this configuration,.
    I ran the Pro XP slipstreamed SP3 CD. The upgrade to XP Pro
    success (even if the upgrade not configured my graphics
    card properly). I guess my current problem is either the registry,
    the WINDOWS, some user file or parameter file.
    ---------------------------------------------------------------

    Another post:

    I made a file and the backup of the folder C:\Windows folder
    on my system that is pre-existing (OEM XP Home Sp3). I also did a
    separate the backup the State of the 'system' on my pre-existing system.
    These are added my full image backup of her pre-existing
    system a month ago.

    I did a backup image of my system (minimum fees OEM XP Home
    SP3 with all the original installed drivers over a network configured
    connection and a firewall configured). This system will upgrade
    XP Pro with XP Pro SP3 slipstreamed CD successfully.

    Experiment 1:

    I've restored my minimum system. I then restored the C:/Windows folder
    and the State of the pre-existing system backup system. A startup
    has managed (with a minor irritant). I had to activate Windows.
    Then, I tried upgrading the slipstreamed XP Pro processor. He stopped
    at the same place during the upgrade and gave the same error as before:

    Setup cannot set the required configuration information Windows XP.
    This indicates an internal Setup error.

    Experiment 2:

    I've restored my minimum system. I then restored the system state only
    the backup of the pre-existing system. After startup I was asked to
    activate Windows, but answer Yes to the question would be to disconnect me
    the system. I couldn't get connected to try the XP Pro upgrade.

    Experience 3:

    I've restored my minimum system. I then restored only the C:/Windows
    the backup of the pre-existing system folder. Once again, as in experiment 1,
    the upgrade failed at the same place with the same error message.

    ----------------------------------------------------------------

    Before the experiment 3, I hoped that 3 experience would succeed so I
    could conclude that I had a registry problem. I'm not sure now.
    I don't know what to try next. Take the minimum system and reinstalling
    my files of the user is not an option that my hard drive has over 200 GB of
    programs! If I restore all files and folders of my pre-existing
    I would still have backup to restore a system state the reliable (read the registry).
    ---------------------------------------------------------------------

    Sorry for the length! If anyone has any ideas I would appreciate your responses.

    Thank you

    Hello

    This problem can occur if a piece of hardware that is installed on your computer is not compatible with Windows XP.

    For more information, see this link:

    Error message: Setup cannot set the required Windows XP Configuration information

    Hope the helps of information.

  • I had a computer with a dead HDD p6510f so I thought the upgrade also.

    HP pavilion p6510f, Win 7, 4 GB of ram with a dead hard drive. I thought to upgrade the Athlon II X 4 630 to a Phenom II X 6 1045T at the same time to get more power calculation, but for the money I am better doing a map of graffiti instead? I'm not a gamer but do a lot with the video and it's a little slow. I also plan to go with a 32 or 64 GB of SSD to put the operating system and a 500G to 1 t hard drive to store data. How can I get the xtra power for additional components connectors?

    se77,

    A simple reading of the plug on the upgrade of processor p6510f reflects no Pheom II X 6 support: http://support.hp.com/us-en/document/c02153181

    But you could add more RAM motherboard.

    As Danjen said, the addition of a new graphics card will require a new higher power PSU.

     
  • CC of Photoshop take 5 minutes to load, freezes the time slider, requiring a restart of the computer.  IMac 27 ".  By conference call Apple this week, it is not the RAM/computer/storage.  It's associated PS.  No matter which all help with this?

    Also, when frozen, cannot navigate to open other apps/Safari etc.

    Hi Susan,.

    Try to run Photoshop, hold down the SHIFT key on the keyboard and click Yes to ignore the optional plugins loading. If that helps connect some third parties could be the cause of problem. If this is not the case, go to the second suggestion.

    Hold control, SHIFT key and option key when you launch Photoshop and choose Yes to reset

    preferences. If this does not work as well. Try rebooting the machine at startup. See below the link on how to

    Enter the secure boot.

    Try safe mode if your Mac does not end commissioning - Apple Support

    Please post on the Adobe Forums.

  • Uninstalling vshield app requires a restart of the host?

    We are upgrading vsphere 5.1 to 5.5 and plan to uninstall apps vshield to do a fresh install.  We will migrate the hosts, but not vshield apps, then install new applications in the environment of 5.5...

    Thank you!

    -anne

    Hi Anne,.

    Uninstalling vShield app requires the host to restart and you keep the VMs and then uninstall of vShield manager. This will remove the filters from the NIC--> modules to remove the host, followed by restart.

    If your cluster tolerates the failure of the single host, you can do without virtual machine downtime.

  • Automatic switching of WiFi in the cell for the data not work, requires a restart of the phone

    The phone is a peak of Geeksphone, and the version of the operating system is 1.4. The problem is with the automatic switching of the WiFi to cell for my data. If I take the phone outside the WiFi range, it does not acquire the data (2 G, Edge, H or 3 G) signal and so I have no data. I left for hours without success. The only solution is to reboot the phone, then outside the configured WiFi connections and it will collect data signal. When I re - get the WiFi area, it captures the network and without problems.

    I also had this problem with version 1.1. I upgraded to think it could be fixed, but he did not.

    Thank you, Ralph. There was an update available which appear not yesterday. After the installation, I get the options that you quote, namely to turn the cell data in the notification area. Thanks a lot for the tip and the quick response.

  • Lightroom CC (2015.2.1) requires force quit since the upgrade to El Capitan.

    Since upgrade my iMac to El Capitan, Lightroom CC abandonment causes the death spinning beachball. The only way out is a force quite.

    Several people have reported this bug on the Adobe official feedback forum: 2015.2 Lightroom: depends on quit smoking. There are two workaround solutions that have worked for some in this topic:

    -Uncheck the preferences > General > show Add Photos screen.

    -Reset the preferences of LR: reset the lightroom - updated - Lightroom Forums preferences file

    Please add to this bug to your vote report, details of your question, and if either of these two solutions helped you. Only he that will give priority to slightly more likely Adobe will make a fix.

  • Virtual Pc requires a license on the desktop with OEM license?

    If we would like to install Virtual PC on the desktop with Windows OEM license, requires you to purchase the license for Virtual PC?

    Yes, you must purchase a separate license for the Virtual Machine. If you use Windows 7 Professional, you can download Windows XP Mode.

  • Holding Down key shift key while playing WoW on Vista crashes my keyboard, requiring a restart until I can do anything.

    Maybe this is associated with intellitype. The problem has changed for the worse:

    OLD PROBLEM: I hold down the SHIFT key and automatically be alt-tabs of WoW to any dialogue you wanted to know about my now shift. I would have to alt - tab in WoW, which is a problem when you are healing during a raid.

    SO: The dialog box had a link with some options as to when to do something special in the SHIFT key. I unchecked all. I don't remember the details of the dialog box, but I thought it was IntelliSomething. I don't know how to take revenge on this dialog box.

    NEW PROBLEM: Now when I hold the SHIFT key for a long time in WoW, my keyboard doesn't work. I hear a 'click' when using any key, but nothing works. ALT-tab will not work, because those keys. When I close WoW via the mouse, the keyboard is always watered, I can't use any program. Restart resolves the issue until the next time.

    BTW: In World of Warcraft, hold down the SHIFT key during the inspection of a piece of equipment compared to the equipment you are wearing at the time. If you do this a lot.

    nivram509,
    Here's a How-to article that covers the different keyboard options available.
    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When I try to access utility 'defrag' from Microsoft, a link to "Diskeeper" is everything that happens with download and purchase required.

    When I try to access utility 'defrag' from Microsoft, a link to "Diskeeper" is everything that happens with download and purchase required.  What is an intrusion to avoid?  It is possible to access the Microsoft defrag utility?

    Glen, have you ever tried to download Diskeeper?

    If so, he may have added something on your computer for access to defragment.

    You're going to start > all programs > Accessories > system tools > Disk Defragmenter and obtaining the pop-up window?

    Check in Add/Remove programs and see if something diskeeper is installed then uninstall it.

    Post back with more information, make and model of the pc, current anti-virus, browser and operating system and the service pack.

    also:

    Download, install, update and do a full scan with these free malware detection programs at:

    Malwarebytes (MMFA): http://malwarebytes.org/

    SUPERAntiSpyware: (SAS): http://www.superantispyware.com/

    After back with the results.

  • load is0 10 to my iidown phone 6 s after finsh my phone restarts on the screen appear (photo and conncet quail itunes) iconncet my phon with PC and open my itunes

    ADOS iso 10 to my iidown phone 6 s after finsh my phone restarts on the screen appear (photo and conncet quail itunes) iconncet my phon with PC and open my itunes

    and stil again

    Take a look at these articles:

    Solve the iOS update and restore error in iTunes - Apple Support

    Get help with iOS update or restore errors - Apple Support

  • Something Apple regarding 10.11.4 gel and requiring a hard reboot?  I had several incidents since the upgrade (supposedly) gel to 10.11.4

    I'm having a problem with my Pro MacBrook retina (end of 2013).  Since the upgrade is supposed to 10.11.4, I eperienced several system freezes; all

    that required a hard reboot.  The machine is Core i7 to 2.3 gHz, 16 GB 1600 mHz DDR3 ram, 512 GB ssd.  Safari v.9 (1).  It is obvious that the other users are

    having the same experience - any word from Apple regarding a solution?  I expect this kind of thing from Windows, not Mac machine...

    There is no systemic problem with 10.11.4 gel. Where are you this information? If you get it from forums like this one do not forget that the few people who post here post about issues they know. Their messages do not represent millions of people, not problems.

    A lot of questions like yours goes back to 3rd party apps incompatible or drivers that have not been updated for 10.11.4. Provide details of your question and we will try to help you.

  • NEED HELP WITH SERVICE PACK 3. After downloading and the computer goes into rebooting mode I get the screen to restart with three options, network security safe mode and the other thing. ,

    NEED HELP WITH SERVICE PACK 3.  After downloading and the computer goes into rebooting mode I get the screen to restart with three options, network security safe mode and the other thing. , but it of although he gets, he keeps countdown to restart and reboots and restarts, over and over again, never reboots, same screen. my computer won't let me out this screen even after I turned off the computer and turn it back on, I get the same screen. the only way I can get out of this is to erase my computer everything and bring it back to factory, right out of the box, this big headaches. Thanks for anyone who can help me. PS. Keep the answers in simple terms please.

    Hi BSRC$, in stock

    1. You have security software installed on the computer?
    2. You receive an error message when you restart the computer?

    Reinstalling Windows XP to the factory setting would not be the first option.

    It is possible that some third-party programs or the services installed on the computer interfere with the installation of service pack 3.

    I suggest that you try to uninstall service pack 3 from the computer by using the recovery console and subsequently ask the article below for what to do before installing the service pack 3on the computer.

    How to remove Windows XP Service Pack 3 from your computer

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

    Steps to take before you install Windows XP Service Pack 3

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

  • Reference Dell pc with xp family. Restart to the logon screen

    Reference Dell pc with xp family. Restart to the logon screen. starts ok in safe mode. run msconfig and do that no change then do restart ok everything ok until the cold start, then hand it to restart?

    Peek into the registry to find clues.

    Disable the automatic restart in case of system error and see if you can capture a message of error checking bug (BSOD) with useful information.  Automatic restart in the event of system failure can be disabled in the F8 advanced boot menu, or you can turn it off in system properties.

    1. right click on my computer and select Properties.
    2 - Click on the Advanced tab, and then click on the Start button and recovery settings.
    3 clear the automatically restart box and OK your way out system properties.

    Start the computer in a Clean Boot State, if the computer starts successfully in a clean boot state, then one of your user programs most likely problems, look in the case of journal of indexes.

    How to configure Windows XP to start in a "clean boot" State
    John

Maybe you are looking for

  • How to disable the PNG Images

    How to disable the PNG Images?

  • I was using my 1st generation ipod nano

    I was creating a new playlist using my ipod nano (2 gb) when all of a sudden all the music that he dissappeared. ITunes has no music because it is a new installation of itunes 12. How can I get music back? If I can?

  • photos of the library - why don't I see any?

    I have the latest version of apple tv (3?) but she makes me crackers. Set except it not finding my library from my macbook pro on a regular basis (an i have to go through the rigmarole of tie and then share once almost on an hourly basis), I do not u

  • How many times can I use the Dell restore cd that came with my system?

    I ran the cd of restoration over 3 times and nothing has changed that I have I'm restoring an old dell dimension xp. I thought that this would erase it clean and set of parameters by default now I can't boot the OS and not much has changed. I get a b

  • Backup error message 0 x 8007002

    I get the above error message everytime I try a backup. I tried many things: restart Volume Shadow Copy, clean the system starts, and I checked the regedit for profile image paths. I think that this may be the cause of the problem. I couldn't find th