Error in return of Vector method
Hi people, I have a problem if a program in runtime: i call a method in a client class named JRSimpleClient and then occur a message of error: NUllPOinterException . let see the server class:
the kind of return is Vector
Vector<Object> myVector =new Vector<Object>(1000);
.
.
.
public Vector getCompleteResult(int id, String searchString)throws
RemoteException, SQLException{
jrc[id].performSearch(searchString);
while (myVector.toString() !=" ")
{
result= jrc[id].getNextRow();
myVector.add(result) ;
}
return myVector;
}
so the performSearch and nextRow return a query (in database client.mdb)
the client class just call the method above
servlet.getCompleteResult(id,search);
if anyone help me i 'll be thankfull.

