Weird NonPersistentObjectException

Hi all

Right now, I have an application that will provide a listener on calendars & address books. Whenever a new event is created, I store an event object wrapping the new BlackBerryEvent object in a hash table (that implements persistent). And when I try to synchronize events in a server, he grabs whatevers in the shop and enters the information in the event objects.

The event object cannot persist Persistable, because the BlackberryEvent is not persistent. But all this seems to work well (shops persist in these objects, events are sync-ed on the server, etc), until I do the following:

(1) create a new event

(2) record the new event in my persistentstore

(3) open address book

That's when I get a NonPersistentObjectException on my event object of

RIMPersistentStore.getPersistentObject (long)

AddressBookListUI.initalizeFilterCategoryIds

AddressBookListUI...

The a has any ideas on why would rim just throw this error when I access the address book?

all objects in the happiness must be persistent. BlackBerryEvent is not. You can try to deserialize yourself, extract them interesting values and store them in a clean bean class. or maybe store only the UID and extract the events use it when you need it.

Tags: BlackBerry Developers

Similar Questions

  • Weird lines and do not wake

    My computer has been acting since weird transition to macOS Sierra. When you log in you get these weird lines. They do not always. Also, I noticed when disconnection and pushing the standby button it wake up and I have to stop it and start it up. I didn't want to reinstall sierra. Who took about two days.

    Retina 5K, 27-inch, late 2015 3.3 GHz Intel Core i5 16 GB 1867 MHz DDR macOS Sierra 10.12

    Material or something is very wrong and I would like to call or make a Service appointment as soon as POSSIBLE,

    help > desktop Mac Service response - Apple Support Center

    FWIW I've updated 2 old iMac and several other year of the Mac Mini to Sierra. Each of them updated in less than 30 minutes and no having problems or ill consequences.

  • iPhone 7 weird noise ticking after sending message sound

    Hello

    I use an iPhone 7 for 4 days now and yesterday, I, after I send a message (using iMessager, Wechat or Whatsup), I started noticing a sound weird/click tick immediately after application. That weird noise resembles a small distortion in the enclosure which happens after some noise is played.

    Did anyone encounter the same problem?

    Thank you in advance.

    Best regards

    Ricardo

    Same here, but also after taking a screenshot. Shortly after the sound of the camera.

  • Login screen of the MacBook is weird.

    Hello! Login screen of my computer is weird. The colors are darker and the cursor moves more slowly than usual. Everything started after I updated my MacBook (retina, 12 inch, early 2015) to OS X El Capitan 10.11.6. Everyone knows about this problem? Is it possible to fix it?

    If that had happened to me, I would try Safe Mode boot because that passes through a few additional system checks.

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

  • I lost my phone 2 weeks ago. Now, I received a message telling me to connect to find my iphone but the link is very weird

    I lost my phone 2 weeks ago. Now, I received a message telling me to connect to find my iphone, but the link is very weird.

    I entered my information it because I wanted to see where was my phone, but nothing has arrived. After that I connected to my laptop and I could go on my account, but it seems that my Iphone (that got stolen) are there any more and I can't locate. What do you think? would it be the thievs who send me this message on my news?

    This is because it is a phishing attempt to make you try to open a session, so that they get the powers they need to disable find my iPhone on your device. Do NOT click on anything and ignore it.

    Sorry, I see that you were already there and gave them the information. Your device, as well as your iCloud account have been compromised. You need to change your password immediately. Your device is finished now, you will never recover.

  • Finder of freezing and acting weird

    Hi I had a couple issues Finder weird recently any help would be much appreciated!

    The finder drawing seems to freeze - can I open a folder or a new window of finder and sometimes it will be fine, but then it will be half freeze - the content of the window is not displayed - it will just be white or the background (desktop etc) is drawn in the finder window. I screen shotted because it's a little hard to describe...

    It seems to go there I kill finder / restart for 2-5 minutes... then the problem comes back.

    I deleted finder prefs, doesn't seem to help. I did a reboot in recovery mode and ran the repair disc utilities and which seem to help for a few days, but now back!

    I can close the windows in the finder and open new, and the question seems to come and go a little... Any ideas?

    Thank you

    Stuart

    Hello

    Start Safe Mode removes the system caches that can help.

    Follow these steps to start in safe mode.

    1. Start or restart your Mac.
    2. As soon as you hear the startup tone, hold down the SHIFT key.
    3. Release the SHIFT key when you see the logo Apple appears on the screen.

    After the Apple logo appears, this may take longer than usual to reach the login screen or your office. This is because your Mac performs a check of directory of your drive to boot in safe mode.

    To leave safe mode, restart your computer without pressing any keys during startup.

    Then, try the Finder.

  • Weird behavior of Safari Dock icon

    For several months now, I noticed a weird behavior of the Safari icon on the dock.

    Note: I have the Safari Dock permanently icon in the dock if the application is running or not for quick access.

    With open Safari, after periods of inactivity or after the awakening of the mode standby, the icon will lose the small black dot on the bottom that indicates an active application.

    By clicking on the icon or a .webloc file reveals that Safari is still active, but because the icon does not animate as it does when it is launched.

    How can I fix and when Safari * is * open its Dock icon indicates that it * all the time *?

    Probably also related...

    All too often, after similar as scenarios above, Safari actually leave - all on its own.

    How can I fix this too?

    Safari has also been freezing quite often lately have to be re-launched or sometimes requiring a restart of the computer system.

    Something is not.

    Go step by step and test.

    1. Disable Extensions and test them.

    Safari > Preferences > Extensions

    Uncheck 'Enable the Extension' and test.

    Enable the Extensions one by one and test.

    To uninstall any extension, select it and click the "Uninstall" button

    2. Quit Safari if it is open.

    Hold down the option key and click on the "Go" menu in the Finder menu bar.

    Select 'Library', then 'Caches.

    Find the folder "com.apple.Safari".

    Right-click on "com.apple.Safari" and select "move to trash".

    Restart Safari.

    3 remove the test and com.apple.Safari.plist file.

    Empty the trash.

    Quit all applications.

    Hold down the option key and click on the "Go" menu in the Finder menu bar.

    Select 'Library' in the menu dropdown.

    Library > Preferences > com.apple.Safari.plist

    Right-click on it and select "place it in the trash.

    Close the Finder window.

    Turn it back on.    Restart Safari.

    If this does not help, "put back" the com.apple.Safari.plist

    Right click on the trash icon in the Dock, then select 'open '.

    Right-click on the com.apple.Safari.plist and select 'Put Back'.

  • How to change the tempo of the bass guitar? no weird noise.

    I clicked on the change of tempo to follow on a bass guitar recorded, but it appears totally artificial and strange, sped upwards or downwards.

    I'm doing something wrong?   why it sounds so weird!

    Please can someone answer this!  It's the same thing if I transpose the bass, sounds strange wobbly sounds.

  • iPhone 5 s acting weird from the hotmail interface has changed

    Hello

    My 5's mail app iPhone acted as weird as the hotmail Web site interface has changed a few weeks ago. The Junk folder disappeared and now, when I get an email, the phone rings and vibrates as before, but it is there no preview on the lock screen, or the notification Center.

    What is happening to someone else? How can I fix it?

    Thank you

    Hello

    It can help to check your email notification settings:

    • Go to settings > Notifications > mail > select an account to check the notification settings.

    You can also update your iPhone to the latest version of the software (your post indicates that it is not up-to-date):

  • Weird popup

    I get a weird pop up:

    "mcafee.loading - urls.com says: .

    Renew you license mcafee now to make sure that your data, identity and privacy are protected. »

    Does he know whats up with that? Thank you.

    ignore the best would be average.

  • Weird glitch transparent on my apps

    Hello community,

    I met a bit of an oddity. I got my dads, computer laptop, it's a Macbook Pro 10.1 mid 2012 with screen retina, the latest version of OS X El Capitan 10.11.6, i7 2.6 with a SSD of SD512 Apple and 16 GB 1600 MHz DDR3. Graphics card: NVIDIA GeForce GT 1024Mo of 650 M.

    It is immaculate and works perfectly apart from a glitch whenever I start an application while having another open on the same office space in these odd remnants of it, faded but noticeable. I have enabled transparency 'reduce' turning on and off to see if it is the question, but it changed nothing. I'm an advanced user, but I have no idea what this might be. The strange this is, when I wanted to do a screenshot to post here, it does not appear, that's why I resorted to cracks the screen with my phone and the display of those below (I can do more if the issue is not clearly visible for some).

    If anyone knows anything, please any suggestions are welcome. This is the first time I ever had to start my own thread, since normally any problem can be solved with browsing a bit, but this time I even found the corresponding number. I have this feeling, due to the screenshot not having is not the weird glitch on it, maybe it's a hardware problem with the screen, but I'm stumped.

    Thank you in advance.

    Peace,

    Raph

    sounds like the GPU and it had reported problems with the retina 2012

    https://www.Apple.com/support/MacBookPro-videoissues/

    the repair program ends in a few months, so if your computer qualifies do it as soon as POSSIBLE.

  • Weird behavior of Firefox in Facebook when scrolling down

    Hello

    My Firefox has a weird behavior when I open Facebook and start to scroll, I have attached two images, first image is when I open facebook, everything is ok (I dimmed the contacts), second image is when I start scrolling down, you will see square masive black with blue navigation. That happens only when firefox is "enlarged" and not with windows. I also try to disable all addons or run firefox in safe mode I have also reinstalled it and the problem is still there. Have any suggestions, which could be bad, also if forgot to tell you that any information not hesitate to ask and I will it provide.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • Problem with fonts. If enable hardware acceleration "BOLD" fonts look weird, but if I turn it off, "BOLD" fonts seem good, but normal fonts look weird

    Title.

    With hardware acceleration: http://imgur.com/jHRk6Yl words 'empty' look and really weird air instead of being "BOLD". But if I disable it, normal fonts look "weird" in some Web sites (not all) and are difficult to read.
    Any solution?

    Thank you!

    Hmm, another user Windows 10 reported this after installing some Helvetica fonts.

    In your screenshot, the text 'blue indicated' is the following style rule:

    font-family: "helvetica neue",arial,helvetica,sans-serif;
    

    So I guess you have Helvetica Neue installed locally, which seems to have strange problems in Firefox.

    If you don't want to remove this font on your system, you can use custom style rules for Firefox overrides Arial, which is what I see on Windows 7 on this page. I saw the first time that documented in this article (from 2010!):

    Helvetica on Firefox: the substitution of fonts with CSS | Keyvan Minoukadeh

  • Weird symbol

    What is the weird symbol next to the battery life that resembles a small set of stairs? This is on top of the lightning.

    Bluetooth, location Services, load? Hard to say that if you post a screenshot.

  • Why my left arrow (when the window is expanded) look weird?

    I use Firefox on Windows 8 39 on a laptop. When I have my window open in full screen, the arrow to the left has a little extra Maroon color "leg." If I make the window smaller, the correct graphic appears, but in full screen, it looks weird. The program of closing and reopening does not solve the problem and not missing onscreen. See screenshot.

    Too bad. I went here and gave Firefox a focus and he got rid of him.
    https://www.Mozilla.org/en-us/Firefox/new/

Maybe you are looking for

  • How to stop my iPhone calls going to other iPhones/ipadin my house

    WWhen, I get a call or a text, it sounds on the iPhone and iPad to my wife. How can I stop this?

  • protect the smart HP: long dst

    Hello: -chek smart = passed -summer long time = failure -failure ID: RXL6MF-6MJ6NO-MFPX1F-61F703 -product id = C3N01EA #ABZ hard disk1 my hard drive crashed? Thank you in advance.

  • Help with lens hood

    So I bought the canon ef-s 55-250mm f/4-5. 6 is stm and I want to buy a sunshade for this, I thought, I should get a petal in a form, but I can only find one, Testament shaped normal-63 this affect my photos and can I get and - 63C with it still edit

  • The exit of the inner loop program

    Hi im new to Labview so that it sounds like an easy problem to solve. I'm simulating a signal and display on a graph when I click on a start button. But I can't understand how, to always be able to get out all of the output of a button program as im

  • PC with Vista sp2 I can backup and reinstall on the new PC with Windows 7?

    I bought a new PC with Windows 7 and you want to back up my old PC running Windows Vista SP2. Can I do a total back up and reinstall without jeopardizing the Windows 7? Or y at - it a program that moves from programs for me, instead of a return to th