What is actually null in this case? Is it the "lb" variable?

On Sep 9, 2010, at 9:52 AM, David McNelis wrote:

> Hey folks,
>  
> I know I’m late to update to 1.5, but when I try to run my application, a 
> list button that was previously working fine (all list buttons actually) 
> where I am setting the list data programmatically are returning NPEs.  My 
> list contains 13 values and here is a sample of code.
>  
> @WTKX ListButton lb = null;
>  
> //run through the serializer blah blah
> List<ListItem> data = FunctionThatReturnsArrayListOfListItems();
> lb.setListData(data);
>  
> When I spit out the length of data I get 13 items.  I originally had the list 
> of type String, and tried ListItem, hoping that was the cause of my issue.
>  
> Did something about this change between 1.4 and 1.5 that I’m not seeing?  
> Note, I am not currently defining any ListData in my wtkx files.
>  
> Thanks,
> David

Reply via email to