I have a function to return an arraylist;
public ArrayList sendUpdatedList()
{
return connections;
}
this is how im calling it, from a different class;
connections = client.sendUpdatedList();
Its producing a nullpointererror. "connections" is set further up in the class and initialized. help!