Article View: comp.object.corba
Article #34An Error occured in Sending string array. Help me!!
From: Lexus
Date: Thu, 17 Dec 1998 00:00
Date: Thu, 17 Dec 1998 00:00
45 lines
2170 bytes
2170 bytes
Hello All.
i got a problem....i don't know why....
i can't send string array(one dimension).
my interface is..below.
--------------------------------
typedef sequence<string> temp1;
typedef sequence<string> temp2;
typedef sequence<string> temp3;
typedef sequence<string> temp4;
interface MyObject
{
string Work(in string word, in temp1 param1,
in temp2 param2, in temp3 param3,
in temp4 param4);
};
};
---------------------------------------
in my Other program...main()
...
...
MyObject myobj=MyObjectHelper.bind(orb,"lexus MyObj");
.....
String param1=new String[3][10];
String param2=new String[3][10];.
String param3=new String[3][10];.
String param4=new String[3][10];.
....
...
//After Setting param*'s values....
...
String result[]=new String[3];
for(int i=0;i<3;i++)
{
result[i]=new String(Myobj.Work(word,param1[i], <----Exception
Occured!!!
param2[i],param[3],param[4]));
}
-----------------
System Exception :org.omg.CORBA.BAD_PARAM[completed=MAYBE]
Occured....and Process Exit.(process that execute above code)
Implemetation Process is pending...not exit.
Technical Details
Message-ID:
<367900BE.657C934D@chollian.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3656ED9E.5B501444@kideys.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b07f,c4522ab450245c62 X-Google-Attributes: gid10b07f,public X-Google-Thread: 108bbb,c4522ab450245c62 X-Google-Attributes: gid108bbb,public X-Google-Thread: f753e,c4522ab450245c62 X-Google-Attributes: gidf753e,public X-Google-Thread: ffda2,c4522ab450245c62 X-Google-Attributes: gidffda2,public From: Lexus <sion95@chollian.net> Subject: An Error occured in Sending string array. Help me!! Date: 1998/12/17 Message-ID: <367900BE.657C934D@chollian.net> X-Deja-AN: 423235860 Content-Transfer-Encoding: 7bit References: <3656ED9E.5B501444@kideys.com> Content-Type: text/plain; charset=us-ascii X-Trace: news.nuri.net 913899895 12474 203.227.204.191 (17 Dec 1998 13:04:55 GMT) Organization: Inet Internet Services Mime-Version: 1.0 NNTP-Posting-Date: 17 Dec 1998 13:04:55 GMT Newsgroups: comp.object.corba,comp.dcom.servers,comp.lang.java.corba,borland.public.jbuilder.corba-rmi