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


Vacuum Solenoid Control Valve picture

Vacuum Solenoid Control Valve

$17.99



Appion MGAVCT 1/4 Inches MegaFlow Vacuum-Rated Valve Core Removal Tool picture

Appion MGAVCT 1/4 Inches MegaFlow Vacuum-Rated Valve Core Removal Tool

$68.50



4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4

4.5 CFM Single-Stage Rotary Vacuum Pump HVAC/Auto AC 4.5CFM 1/3HP 1/4"ACME inlet

$29.11



Black+Decker HHVK320J00W Extra Dustbuster Handheld Vacuum picture

Black+Decker HHVK320J00W Extra Dustbuster Handheld Vacuum

$25.00



FEBCO 765DBV 3/4in Bronze FNPT Pressure Vacuum Breaker NEW picture

FEBCO 765DBV 3/4in Bronze FNPT Pressure Vacuum Breaker NEW

$89.99



VacPouch - Chamber Vacuum Pouches, 3mil, 500 PACK picture

VacPouch - Chamber Vacuum Pouches, 3mil, 500 PACK

$66.52







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