[android-developers] Re: Scrolling in a ListView

2011-04-21 Thread Tuan.B
You forgot to setTag when convertView is null... On Apr 20, 11:41 pm, ABSOLUT wrote: > Hi again, > I begin a new proyect deleting all and only have a listview and the > funcion where I get the arraylist and I have the same error :-( > > 04-21 03:28:27.035: ERROR/AndroidRuntime(682): FATAL EXCEPTI

[android-developers] Re: Scrolling in a ListView

2011-04-20 Thread ABSOLUT
Hi again, I begin a new proyect deleting all and only have a listview and the funcion where I get the arraylist and I have the same error :-( 04-21 03:28:27.035: ERROR/AndroidRuntime(682): FATAL EXCEPTION: main 04-21 03:28:27.035: ERROR/AndroidRuntime(682): java.lang.NullPointerException 04-21 03:

[android-developers] Re: Scrolling in a ListView

2011-04-20 Thread ABSOLUT
But tit is not null. In other function I load this function I dont have any field null for (i=0; i wrote: > My guess, variable tit is null. > > Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com > > On Wed, Apr 20, 2011 at 11:35 PM, ABSOLUT wrote: > > The line is: > >  

Re: [android-developers] Re: Scrolling in a ListView

2011-04-20 Thread Kumar Bibek
My guess, variable tit is null. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Apr 20, 2011 at 11:35 PM, ABSOLUT wrote: > The line is: > holder.programa.setText(tit.get(position)); > But I dont know why say that is null > > > > > On 20 abr, 19:48, Ku

[android-developers] Re: Scrolling in a ListView

2011-04-20 Thread ABSOLUT
The line is: holder.programa.setText(tit.get(position)); But I dont know why say that is null On 20 abr, 19:48, Kumar Bibek wrote: > java.lang.NullPointerException > 04-20 17:40:23.116: ERROR/AndroidRuntime(1061):     at com.es.tele.tele > $listaAdaptador.getView(tele. > java

[android-developers] Re: Scrolling in a ListView

2010-08-21 Thread KANTESH BABANNAVAR
One of the data you are providing to the list view may not be initialized or null. Put event log n check all values. On Aug 20, 12:06 am, Sebastian Muehr wrote: > In one of my projects I've got a ListView with hundreds of elements. > But when scrolling through this list I get the following error:

[android-developers] Re: Scrolling in a ListView

2010-08-21 Thread Sebastian Muehr
Thank you. I analyzed the the getTeamNames() method. There was a bug that created null-values. Now everything works as expected. Thanks again. - Sebastian Muehr - On 21 Aug., 14:57, Shashidhar wrote: > I have experienced the same error for my custom adapter. > The problem is that when you scroll

Re: [android-developers] Re: Scrolling in a ListView

2010-08-21 Thread Shashidhar
I have experienced the same error for my custom adapter. The problem is that when you scroll down it tries to construct the view to be shown on the list. In my case I was assigning null values for one of the spinner which is part of my list view item. Check if there are any null values in your *ga

[android-developers] Re: Scrolling in a ListView

2010-08-20 Thread Sebastian Muehr
On 20 Aug., 19:17, TreKing wrote: > You probably need to provide more information, like what you adapter looks > like, how you've implemented getView(), and what, exactly, you're doing when > you get this error. This is all I implemented: setContentView(R.layout.new_career); ListView lv = (ListV