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


AC 80-260V 0-100A LCD Digital Display Volt Watt Power Meter Voltmeter Ammeter picture

AC 80-260V 0-100A LCD Digital Display Volt Watt Power Meter Voltmeter Ammeter

$22.50



Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC  picture

Analog Panel AMP VOLT Current Ammeter Voltmeter Voltage Gauge 10A 50V DH-670 DC

$12.99



Voltmeter Ammeter DC 120V 500A Voltage Current Gauge RV Boat Motor Camper CAR picture

Voltmeter Ammeter DC 120V 500A Voltage Current Gauge RV Boat Motor Camper CAR

$32.50



Battery Tester DC 0-80V0-350A SOC AH VOLT AMP Capacity Tester Voltmeter Ammeter picture

Battery Tester DC 0-80V0-350A SOC AH VOLT AMP Capacity Tester Voltmeter Ammeter

$43.50



LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter picture

LCD Digital Multimeter Voltmeter Ammeter Ohmmeter Volt AC DC Tester Leads Meter

$10.95



Digital Multimeter AC DC Voltmeter Ammeter Ohmmeter Volt Tester Meter XL830L picture

Digital Multimeter AC DC Voltmeter Ammeter Ohmmeter Volt Tester Meter XL830L

$7.99







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