BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 11-04-2004, 01:23 PM   #1 (permalink)
Tom
Admin & Founder
 
Join Date: Aug 2004
Location: Kitchener-Waterloo, On, Canada
Model: 9800
OS: 3.1415926
PIN: UnDisclosed
Carrier: Rogers
Posts: 5,268
Post Thanks: 6
Thanked 105 Times in 25 Posts
Default

Please Login to Remove!

__________________

Tom Glogowski Owner and Administrator
BlackBerryFAQ.com | BlackBerryForums.com | BlackBerryClub.com
Offline  
Old 11-04-2004, 01:41 PM   #2 (permalink)
CrackBerry Addict
 
Join Date: Aug 2004
Location: Pennsylvania
Posts: 690
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

__________________
http://img.photobucket.com/albums/v2...lyptic_Sig.jpg

Please use the Search feature to find a quick answer.

[url]htt
Offline  
Old 11-04-2004, 02:14 PM   #3 (permalink)
BBF Veteran User
 
Join Date: Aug 2004
Location: Hotwiring another Cessna
Model: OU812
Carrier: Nintendo
Posts: 3,492
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Offline  
Old 01-03-2005, 01:52 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Jan 2005
Location: MAH
Posts: 38
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem while storing Float object in persistent storage

Im trying to store the java.lang.Float object in the Persistent storage. It is raising an Exception NonPersistentObjectExcetion & JVM 525 error - Bad persistent object.

Right now, Im using JDE 4.0.

Can anybody help me regarding the same?
Quick reply is much much appretiable.

-Abhijit
Offline  
Old 01-04-2005, 07:45 AM   #5 (permalink)
Knows Where the Search Button Is
 
jcomeau_ictx's Avatar
 
Join Date: Dec 2004
Location: Columbus, NM, USA
Model: emu
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Have you tried casting it as an Object? That's just off the top of my head.
__________________
Have you googled yourself lately?
Offline  
Old 01-04-2005, 01:45 PM   #6 (permalink)
Knows Where the Search Button Is
 
jcomeau_ictx's Avatar
 
Join Date: Dec 2004
Location: Columbus, NM, USA
Model: emu
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually, after taking some time to look at their example code, using a DataOutputStream layered over a ByteArrayOutputStream might be a better way to go, using writeFloat() rather than writeInt() as the example shows in addScore().

(added later)... sure enough, the docs for RecordStore show its addRecord() and getRecord() as dealing with byte arrays. Maybe you were using an older version of the documentation? You have to use the one in the 4.0 JDE, the one on their website is outdated. And the link inside the JDE is broken, so you have to use the one on the start menu Start -> Research in Motion -> Blackberry JDE 4.0 -> API Reference.
__________________
Have you googled yourself lately?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.