BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 11-04-2004, 01:23 PM   #1
Tom
Admin & Founder
 
Join Date: Aug 2004
Location: Kitchener-Waterloo, On, Canada
Model: 9800
OS: 3.1415926
PIN: UnDisclosed
Carrier: Rogers
Posts: 5,268
Default

Please Login to Remove!

Offline  
Old 11-04-2004, 01:41 PM   #2
Gothalyptic
CrackBerry Addict
 
Join Date: Aug 2004
Location: Pennsylvania
Posts: 690
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
bfrye
BBF Veteran User
 
Join Date: Aug 2004
Location: Hotwiring another Cessna
Model: OU812
Carrier: Nintendo
Posts: 3,492
Default

Offline  
Old 01-03-2005, 01:52 AM   #4
rimzim
Knows Where the Search Button Is
 
Join Date: Jan 2005
Location: MAH
Posts: 38
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
jcomeau_ictx
Knows Where the Search Button Is
 
jcomeau_ictx's Avatar
 
Join Date: Dec 2004
Location: Columbus, NM, USA
Model: emu
Posts: 20
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
jcomeau_ictx
Knows Where the Search Button Is
 
jcomeau_ictx's Avatar
 
Join Date: Dec 2004
Location: Columbus, NM, USA
Model: emu
Posts: 20
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Vintage Printing Letterpress Printers Block Vintage Clock picture

Vintage Printing Letterpress Printers Block Vintage Clock

$9.50



VINTAGE ABBEON MODEL AB74 PHOTO-TACH 2400-12000 RPM WITH CASE picture

VINTAGE ABBEON MODEL AB74 PHOTO-TACH 2400-12000 RPM WITH CASE

$6.00



Vintage - New Old Stock - Sylvania Mercury Lamp 100 Watts Lot Of 2 picture

Vintage - New Old Stock - Sylvania Mercury Lamp 100 Watts Lot Of 2

$9.99



Vintage SHARP CE-125 Printer and Microcassette Recorder picture

Vintage SHARP CE-125 Printer and Microcassette Recorder

$100.00



Vintage Automatic Transmission Output Shaft Thrust Washers 8625403 8625402 picture

Vintage Automatic Transmission Output Shaft Thrust Washers 8625403 8625402

$11.04







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