After the update of the app, can not read the store persistent on some devices
Hello
I have a problem in an application I was able to reproduce in a simple test application.
The test application writes some info in the persistent store, then can read back and it seems to work fine.
If I change the version number of the application, then download the new version (by downloading a jad file in the browser), he invites me to replace the old version w / the new version, which I confirmed. After you download the new version of the app, he invites me to reboot the device, what I'm doing.
On most of the devices I tested this, after the reboot, when I run the app update, it works as expected - it can read the value written in the store persistent by the earlier version of the application.
However, on some devices, it is unable to do.
Debugging a bit, the error occurs when you try to get the object persistent via:
PersistentObject po1 = PersistentStore.getPersistentObject(MY_KEY);
This survey line an exception - exception message is simply 'null '. I don't know what is precisely the type of exception since it is a static method should not throw any exception that as far as I know, so I'm just catching a generic java.lang.Exception.
The same - in the version update of the application, if the software tries to write to the store persistent by using the ID of the object, the result is the same - the call to getPersistentObject throws an exception "null".
Note that I'm not changing anything this either on the object that is saved in the persistent store, and I'm not changing the identifier of object between the versions of the application.
A device on which I can reproduce this issue systematically is a Blackberry 9800 (Torch) running 6.0 Bundle 2647.
Any advice or suggestions how to debug this appreciated.
I tried to reproduce this on a Blackberry 9800 (Torch) running 6.0 Bundle 2647, identical to what noted you above but find the code example you posted worked well. Were there other changes between the versions other than increment the version number?
Is - what happens on multiple devices or just one? If it is just a device you can try to reload the software of the device in case anything is damaged.
Tags: BlackBerry Developers
Similar Questions
-
I accepted the last update. Now, I can not display to the right of the main Itunes store, where top songs, etc would be. As the screen does not. Only on the HOMEPAGE of ITUNES STORE! Help! I've tried everything. Google it. Searched through itunes, etc. It MUST be a bug, because it started right after I accepted the 12.3.3 update on my laptop running Windows 7 32.
I count on the part of the main screen, which is not. Its strange. PLEASE HELP ME! In addition to the main page of the Itunes Store, everything else works fine as before. Music from my library work screens, etc.
I also have exactly the same problem since the last update. Tried to find a way to solve the problem but no luck. Someone please help!
-
Try to upgrade OS 10.6.8 to El Capitan on iMac. But the FREE update tells me it can not install but will not say why even when I click on learn more. Suggestions? Help? Appreciate the assistance.
More details on the iMac you have and how much RAM is installed would certainly contribute to answering your question.
-
I've just updated my LR, but still can not read the new RAW files of my brand new Sony a6300. said 'impossible to read these files' is Adobe should update it program with new firmware to manage these new folders? Or something escapes me?
You updated Lightroom to version 6.5? This is the version you need. What is the exact wording of the message you receive?
-
After execution of the new update (2015.2), I can't read the imported video. Rendering seems to be a color chroma confused. I need help NOW please
FAQ: Why am I getting yellow and red lines running through my images on pause?
Update of El Capitan.
-
I bought a new carmera and Photoshop CS4 camera Raw can not read the ARW files. I downloaded the lateset update but still can not read how can I get this problem solved thanks
Hi tonyf,.
Greetings!
Each device is compatible with a minimum version of camera raw.
Here is the complete list: https://helpx.adobe.com/camera-raw/kb/camera-raw-plug-supported-cameras.html
Please check if you have this version of the camera installed which include your raw files.
It would also be that your photoshop will not have to install this version of camera raw as its very old.
In this case, you can convert your raw files to DNG and can use it.
To convert the files to DNG, you must download and install the DNG Converter.
Here is the link:
Windows: Adobe - Adobe Camera Raw and DNG Converter: for Windows
MAC: http://www.adobe.com/support/downloads/product.jsp?platform=Macintosh&product=106
Concerning
Jitendra
-
I'm trying to upgrade a site from Muse and it keeps telling me that the site has been created with a different version of Muse. I have updated Muse and still can not access the site to make changes.
Hi rgarden95,
Can you please confirm the exact version of Muse, you open the file with?
To check the version of Muse, please click Help-> on Adobe Muse CC.
Kind regards
Akshay
-
Re: Satellite P500 of USA - can not read the local DVD
Hello
Sorry to appear such a luddite acquired but this laptop great USA from eBay.
User manual appears to indicate that the player is going to adapt to the locality of the drives I want to play.Not had any luck with playback at all to this day, the error message 'not compatible' etc., any guy of suggestions?
See you soon,.
MichaelHi mate
I think that the portable player s (optical disc) DVD region is set in the United States and therefore you can not read the DVD released for the European market.
To resolve this problem, you must change the option of DVD region 2 region.
My computer-> drive CD / DVD-> properties-> Hardware tab-> choose the CD drive / DVD-> properties-> DVD region
Notes; You can change this settings ONLY 4 times. After that the parameters is no longer editable.
-
I have a new Toshiba C650 laptop, and he says that I can not read the dvd on it except that I have installed a new driver. Is this true?
Hi Bill,
To be honest, this sounds ridiculous but if you get a message, I suppose it could be possible even if I find it incredible. Do you have it in a (local or online) retail store or Toshiba? By any chance did you upgrade from the DVD player when buying (where they may have accidentally neglected to update the drivers of the drive that was originally installed)?
As it is new, Toshiba should help you with this. Here's the contact page: http://www.csd.toshiba.com/cgi-bin/tais/support/jsp/navShell.jsp?cf=su_contact&pf=true. Give them everything they need to prove that buy you it and it should be under warranty and then give them the message Word for Word, that you have found. They should be able to help you. They can, for some reason I don't know, you don't need to help or guide you through a new driver installation. I ask for a clear explanation of why this is necessary on a new computer and, if you are not satisfied with the response, ask them to consider that all the faulty computer and replace it. Even if they won't, he needs the get them less motivated to solve your problem.
I hope this helps.
Good luck!
-
I am running windows vista on the PC of my church and have inserted a USB stick with a MP4 file on it, but I can not read this file. Can I get help?
I created a video for our Church on a desktop of Windows 7 through Pinnacle Studio 14 (editor) and registered as a .mp4 file. I then put it on a flash drive and put the flash drive in the computer of the Church, that is running Windows Vista, and the file will not play. Please provide help quickly!
-CoreyYou need a media player that is compatible with .mp4 files.
The following preferential ticket should solve your dilemma.
(FWIW... it's always a good idea to create a system)
Restore point before installing software or updates)VLC Media Player
http://www.filehippo.com/download_vlc/
(works on XP/Vista/7) -
I reinstalled vista without product key was after but can not read as 2 letters are missing as his background on off computer laptop please help
You will need to contact the computer manufacturer on this subject.
As you have already wiped the drive, we can not help you with programs to recover your product key.
See you soon.
Mick Murphy - Microsoft partner
-
Can not read the text added [iOS]
It can not read the text added to adobe acrobat dc for ios to windows and Linux, as well as the drive of Google. Looks like some fonts crash. What can we do?
Hello
Sorry for the problem that you are experiencing.
This particular default (which affected annotations to text only) has been fixed in Acrobat DC for iOS version 15.0.2.
You will not see the problem if you add text annotations again using Acrobat DC for iOS version 15.0.2 or newer.
For existing text annotations, please do the following to correct the problem.
- Make sure you upgrade Acrobat DC for iOS to the latest version of the App Store.
- Open the PDF containing the annotations to existing text in Acrobat DC for iOS.
- Touch an existing text annotation to display the context menu.
- Select Edit.
- Make changes to cause the Save button to be activated (e.g. Add space at the end of the text)
- Tap Save.
- Cancel the previous, if necessary changes.
- Tap Save.
- Repeat steps 3 through 8.
Text annotations will be fixed and stored properly so that they can be consulted on different platforms such as Windows, Linux.
Alternatively, you can delete existing text annotations and add new ones rather than change them.
This can be a tedious process if you have a lot of existing with the problem text annotations. Sorry for the inconvenience.
-
After software update today, my password does not work. My phone is now disabled. I don't have a backup. How can I start to use my phone again and not lose all my content? Help, please.
You can not
-
I can not read the mail or cannot send mail can help me
Hello
I have account hotmail for 12 years, I don't have to face the problem like this. when I connect to my e-mail hotmail id it will open a session and I can not read the mail or I Unable to send mail or I can't delete the mail. pls tell me what to do a possible side help you pls tell me
Hi romain kumar_803,.
Thanks for posting your question in the Microsoft answers Forum. Your question it will be better answered in Forum Windows Live Hotmail. Please repost your question here.
-
Can not read the CD on Windows Media Player
Can not read the CD on W Media Player, recorded on the normal cd/dvd TV player
Hello
- What is the format of the file you are trying to play?
- What happen when you try to play a CD/DVD?
- You receive an error message?
- If it works much earlier?
- What were the changes made before the show?
- Have you tried to play CD/DVD on another computer?
You can check these links:Response with more information.
Maybe you are looking for
-
If my husband I text message about 3 weeks telling me that dinner was ready, and I got this message alerted on my Apple Watch first, until I saw it on my phone. I replied with my phone. Since then, now whenever texts he me this message appears first
-
Try to set up my cell phone to Elipse with microSDHC card/w adapter. The chip is in the adaptor, but where can I insert the adapter in the computer. Have an inspiron 531. "Any help would be greatly apprecialted! =}
-
power supply for Dell PowerEdge SC1430
How can I order a power supply for Dell PowerEdge SC1430? Maintain the NOTE from the ADMINlabel: maintain the label removed by privacy policy >
-
Ssd migration help please.
Hello, I get upgraded my computer, and it will again, installing windows, so I'll use the same product key and the disc (this is not OEM), however I want to install the operating system to an ssd instead of my old HDD but want to keep the files on my
-
I have a new laptop and want to set up to synchronize it with my old Blackberry 8310 Curve just like he used to do with the old laptop. I downloaded the latest version of the Desktop Manager (version 6.0.0.40) and I'm trying to configure synchronizat