[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openorb-users
Subject:    [openorb-users] Socket Exception in ClientConnectionIIOP due to Null Host and Port:0 - URGENT!
From:       P N <pras_java () yahoo ! com>
Date:       2003-06-13 17:27:29
[Download RAW message or body]

Hello,

When I try to run the Step1 Example, I get the following Socket exception since the \
host is null and port is 0. How do I populate the correct host and port variables to \
ClientConnectionIIOP class?

Any help would be deeply appreciated

 

[ resolve with internal references ]
[ Rien trouve, retourne NULL ]
{ POA, Constructor 2 }
{ RootPOA }
{ ListenerIIOP }
{ ServerConnectionIIOP }
{ ServerConnectionIIOP }
{ ServerConnectionIIOP }
[ Arrete le thread ServerConnection ]
[ Arrete le thread ServerConnection ]
[ Arrete le thread ServerConnection ]
{ ServerConnectionIIOP }
{ ServerConnectionIIOP }
[ Creation de la socket d'ecoute ]
[ Arrete le thread ServerConnection ]
[ Arrete le thread ServerConnection ]
[ Le serveur est active sur la machine phantom et sur le port 3393 ]
[ Scan policies : checks POA policies ]
[ Attente d'une nouvelle connexion ]
{ Delegate }
{ ClientConnectionIIOP }
[ Ask _is_a for : IDL:omg.org/PortableServer/POA:2.3 ]
{ CORBA::Request }
[ Demande une invocation sur l'operation : _is_a ]
{ ExceptionList }
{ NamedValue }
{ NamedValue }
[ Encode tous les parametres de types IN et INOUT ]
[ Taille du buffer : 39 acces : 0 ]
[ 39 / 4 / 34 ]
[ Ajoute les divers contextes ]
[ Demande l'invocation : _is_a ]
[ Check if there is an available connection to the server ]
[ No asymetrical connection available. ]
[ Try to connect null on port 0 ]
Exception in thread "main" java.lang.NullPointerException
        at java.net.Socket.<init>(Socket.java:283)
        at java.net.Socket.<init>(Socket.java:119)
        at JavaORB.iiop.ClientStackIIOP.open(ClientStackIIOP.java:67)
        at JavaORB.iiop.ClientConnectionIIOP.connectToServer(ClientConnectionIIOP.java:1216)
                
        at JavaORB.iiop.ClientConnectionIIOP.invoke(ClientConnectionIIOP.java:811)
        at JavaORB.CORBA.portable.Delegate.invoke(Delegate.java:610)
        at JavaORB.CORBA.Request.invoke(Request.java:460)
        at JavaORB.CORBA.portable.Delegate._remote_is_a(Delegate.java:934)
        at JavaORB.CORBA.portable.Delegate.is_a(Delegate.java:321)
        at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)
        at org.omg.PortableServer.POAHelper.narrow(POAHelper.java:79)
        at ServerPOA.main(ServerPOA.java:28)


---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.


[Attachment #3 (text/html)]

<P>Hello,</P>
<P>When I try to run the Step1 Example, I get the following Socket exception since \
the host is null and port is 0. How do I populate the correct host and port variables \
to ClientConnectionIIOP class?</P> <P>Any help would be deeply appreciated</P>
<P>&nbsp;</P>
<P>[ resolve with internal references ]<BR>[ Rien trouve, retourne NULL ]<BR>{ POA, \
Constructor 2 }<BR>{ RootPOA }<BR>{ ListenerIIOP }<BR>{ ServerConnectionIIOP }<BR>{ \
ServerConnectionIIOP }<BR>{ ServerConnectionIIOP }<BR>[ Arrete le thread \
ServerConnection ]<BR>[ Arrete le thread ServerConnection ]<BR>[ Arrete le thread \
ServerConnection ]<BR>{ ServerConnectionIIOP }<BR>{ ServerConnectionIIOP }<BR>[ \
Creation de la socket d'ecoute ]<BR>[ Arrete le thread ServerConnection ]<BR>[ Arrete \
le thread ServerConnection ]<BR>[ Le serveur est active sur la machine phantom et sur \
le port 3393 ]<BR>[ Scan policies : checks POA policies ]<BR>[ Attente d'une nouvelle \
connexion ]<BR>{ Delegate }<BR>{ ClientConnectionIIOP }<BR>[ Ask _is_a for : \
IDL:omg.org/PortableServer/POA:2.3 ]<BR>{ CORBA::Request }<BR>[ Demande une \
invocation sur l'operation : _is_a ]<BR>{ ExceptionList }<BR>{ NamedValue }<BR>{ \
NamedValue }<BR>[ Encode tous les parametres de types IN et INOUT ]<BR>[ Taille du \
buffer : 39!  acces :
 0 ]<BR>[ 39 / 4 / 34 ]<BR>[ Ajoute les divers contextes ]<BR>[ Demande l'invocation \
: _is_a ]<BR>[ Check if there is an available connection to the server ]<BR>[ No \
asymetrical connection available. ]<BR>[ Try to connect null on port 0 ]<BR>Exception \
in thread "main" java.lang.NullPointerException<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at java.net.Socket.&lt;init&gt;(Socket.java:283)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at java.net.Socket.&lt;init&gt;(Socket.java:119)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at JavaORB.iiop.ClientStackIIOP.open(ClientStackIIOP.java:67)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at JavaORB.iiop.ClientConnectionIIOP.connectToServer(ClientConnectionIIOP.java:1216)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at JavaORB.iiop.ClientConnectionIIOP.invoke(ClientConnectionIIOP.java:811)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at  JavaORB.CORBA.portable.Delegate.invoke(Delegate.java:610)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at JavaORB.CORBA.Request.invoke(Request.java:460)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at JavaORB.CORBA.portable.Delegate._remote_is_a(Delegate.java:934)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at JavaORB.CORBA.portable.Delegate.is_a(Delegate.java:321)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at org.omg.CORBA.portable.ObjectImpl._is_a(ObjectImpl.java:112)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at org.omg.PortableServer.POAHelper.narrow(POAHelper.java:79)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
at ServerPOA.main(ServerPOA.java:28)</P><p><hr SIZE=1> Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/search/mailsig/*http://search.yahoo.com">The New \
Yahoo! Search</a> - Faster. Easier. Bingo.


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
openorb-users mailing list
openorb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openorb-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic