Any One Could Help , Send An Array Throw rmi

any one help me i have a null Exception whenever i call a method that has the return type String [ ]

and i can't send a vector as well how can i send a group of elements specially String type

a method that arise this error when ever i try to access it

it doesn't even enter it

public String[] readProviders() throws RemoteException

{

return Obj.readProviders();

}

i'm are like Modules and i'm sure the problem is in this module

thnx

[502 byte] By [_Meedaa] at [2007-10-3 4:14:36]
# 1
Obj is null?
ejpa at 2007-7-14 22:15:58 > top of Java-index,Core,Core APIs...
# 2
Obj.readProviders() returns null?
cajoa at 2007-7-14 22:15:58 > top of Java-index,Core,Core APIs...
# 3
Obj is null ya it is true but it is working in the other methods i dunno how ? and Obj has an abstract class data type so when i changed its type to the class implements the abstract one it worked but i don't think it is an object oriented designthanks
_Meedaa at 2007-7-14 22:15:58 > top of Java-index,Core,Core APIs...
# 4
You shouldn't have to do that to fix the bug. In fact changing the type can't fix the bug by itself, it must be some side-effect. You need to find that and implement it directly. Otherwise you have code that works but you don't know why, which is not satisfactory.
ejpa at 2007-7-14 22:15:58 > top of Java-index,Core,Core APIs...