View Single Post
Old 05-15-2010, 03:12 PM   #12 (permalink)
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

OK, where are you getting the exception? Open the call-stack view.

EDIT: I see your problem.

You declare these arrays:

private BasicEditField sub[];
private ObjectChoiceField crd[];
private ObjectChoiceField grd[];

But you never allocation storage for them.

You need this in your constructor:

sub = new BasicEditField[<whatever size you want>]

...etc

Did you get that Java book?

Last edited by Dougsg38p : 05-15-2010 at 03:16 PM.
Offline   Reply With Quote