Tagged Questions
1
vote
2answers
78 views
ListFragment NullPointerException error
I've created a ListFragment that is meant to be filled with RSS data. The only problem is that I'm receiving a NullPointerException that force closes my app. Here is the LogCat:
03-30 15:43:44.584: ...
0
votes
0answers
33 views
ListView items outside initial view aren't clickable
I have four ListViews which I synchronize their scrolling in order to scroll simultaneously when either of them is scrolled. The first ListView is filled by a custom adapter and contains only a ...
-1
votes
2answers
138 views
Android - Custom ArrayAdapter Null Pointer Exception
in my project I have to set in a normal Activity multiple ListView (the number of these ListView depend of a size of an ArrayList).
So I have to programmatically add dynamically ListView and Custom ...
0
votes
1answer
145 views
Android - AutoCompleteTextView nullpointerexception from arrayadapter getcount()
I can't work out why I keep getting a nullpointerexception when I'm using an asyntask to fetch some search results from an api and populate an arrayadapter
public class AddVenueActivity extends ...
0
votes
0answers
92 views
ArrayAdapter null pointer android
My custom ArrayAdapter is throwing a null pointer exception when i try to pull up the app when the array is empty. It doesn't pop up if I pre-populate the array and it works fine if I do this. I have ...
0
votes
1answer
229 views
Resetting value of NumberPicker inside ListView item
I have a ListView activity that has a NumberPicker view on each item in the list. The user can use this picker to add/remove items. It is working however the issue I have is that when I resume the ...
-1
votes
1answer
36 views
Can't understand NullPointerException
I'm experimenting with ListViews and ArrayAdapters, and i've come into a runTimeException issue, the DDMS error report is telling me that i'm having a NullPointerException at the line containing ...
0
votes
2answers
179 views
Android null pointer exception in ListView
I've got a simple ListView and an ArrayAdapter. But when android goes to draw the screen, I get a null pointer exception every time. Here's the stack:
Thread [<1> main] (Suspended (exception ...
-2
votes
1answer
83 views
NullPointerExceptiom from LogCat [duplicate]
Possible Duplicate:
LogCat entry meaning 2
LogCat say that the problem is with the Array Adapter that it has a NullPointerException. How can I solve this problem? The application crashes if ...
0
votes
1answer
651 views
“new ArrayAdapter<String>(this ” error when used in dialog null exception
hi, I have been working on a dialog box and i need a ListView inside the dialog box. The problem is i cant use "this" "new ArrayAdapter(this"
Can someone help me?
ListView dialog_ListView = ...
0
votes
2answers
756 views
Spinner: NullPointerException at ArrayAdapter.createViewFromResource
I create some Spinners by code like this :
if (dyn_list_id[i]==null){
String[] form_ids = db.getEntireColumn(list_table_name[i], "form_label_id");
String[] spinnerArray = new ...
1
vote
2answers
176 views
Adapter in Android
I just trying to set value to spinner manually by using ArrayAdapter,
String[] array_string = new String[5];
array_string [0] = "1";
array_string [1] = "2";
array_string [2] = "3";
...
10
votes
4answers
252 views
What's the difference between opening an app from the applications screen and the recently used apps list? (android
Can anyone tell me what the difference is between opening an app from the applications screen and opening it from that recently used apps list that pops up when you long-press the home button?
I ...
0
votes
1answer
273 views
ListView Item adding dynamically
I want to add catnames in listview.but it show me run time error.this is my code and logcat.i am able to add static array but when i use dynamically it show mw an error.
public void onCreate(Bundle ...
1
vote
1answer
698 views
NullPointerException on createViewFromResource in a PreferenceActivity
I am working on a PreferenceActivity for Android. I am following some of the code discussed here, which uses a ListPreference object. My preferences.xml is as follows:
<?xml version="1.0" ...
0
votes
2answers
551 views
Uncaught handler NullPointerException on a custom ArrayAdapter
This is where I set my custom ArrayAdapter:
lv.setAdapter(new MatchArrayAdapter(this, android.R.layout.simple_list_item_1, g.dm.getMatchesOnTeam(teamId), ...
5
votes
2answers
7k views
Nullpointerexception in getView of custom ArrayAdapter
I'm getting a Nullpointerexception in my custom ArrayAdapter in my App. I do not know why a Nullpointer is raised here. And i can not reproduce this exception. The exception did not appear a long time ...
0
votes
1answer
1k views
array adaptor for list view throws null pointer exception
I am trying to add list view in an array of Views. The null pointer exception is thrown at lv1.setAdapter. I have re checked plenty times but dont know why its happening. Can someone please help me? ...
2
votes
3answers
7k views
android newbie question null pointer on ArrayAdapter.setAdapter
I have been slowing learning and building my first android app. I'm VERY new to java but have already done a couple of projects in C#, VB.NET (back in the day), Objective-C (have 6 apps in the store) ...