[omniORB] omniOrb4 - codeset intialisation exception?

Mac mlarner@ihug.co.nz
Fri, 20 Jul 2001 20:23:56 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_003A_01C11159.E6943A40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I am using omniOrb4 ( build omniORB-20010714 ) in a win NT4.0/vs6.0 =
environment and am having a problem initializing the omniOrb4 due to =
what appears to be some uninitialised codeset variables.

Looking at the omniOrb4 source it seems as though there are several =
static codeset objects which should initialise & register themselves as =
part of the program startup. However for some reason this isn't =
happening?

The symptons are as follows....

inside the CORBA::ORB_init() the call to =
"omni_cdrStream_initialiser_.attach()" throws an exception, which is =
caused by the line 587 in cdrStream.cc giving an access violation.
=20
ie: cdrStream::ncs_c is equal to NULL on line 587 causing the line -> =
omniCodeSet::getTCS_C(cdrStream::ncs_c->id(), ver); to choke.=20


I have included the omniCodeSets4d.lib in the project but i still must =
be missing something??. Any ideas would be greatly appreciated.

Cheers,
Mac.

------=_NextPart_000_003A_01C11159.E6943A40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>

<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2>Hi,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I a</FONT><FONT color=3D#000000 =
size=3D2>m using=20
omniOrb4 ( build omniORB-20010714 ) in a win NT4.0/vs6.0 environment and =

</FONT><FONT color=3D#000000 size=3D2>am having a problem initializing =
the omniOrb4=20
due to what appears to be some uninitialised codeset =
variables.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Looking at the omniOrb4 source it seems as though =
there are=20
several static codeset objects which should initialise &amp; register =
themselves=20
as part of the program startup. However for some reason this isn't=20
happening?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>The symptons are as follows....</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>inside the CORBA::ORB_init() the call to &quot;<FONT =

color=3D#000000 size=3D2>omni_cdrStream_initialiser_.attach()&quot; =
throws an=20
exception, which is caused by the line 587 in </FONT></FONT><FONT =
color=3D#000000=20
size=3D2>cdrStream.cc giving an access violation.</FONT></DIV>
<DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>ie: cdrStream::ncs_c is equal to =
NULL on line=20
587 causing the line -&gt; </FONT><FONT color=3D#000000=20
size=3D2>omniCodeSet::getTCS_C(cdrStream::ncs_c-&gt;id(), ver); to =
choke.=20
<BR></FONT></DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I have included the =
omniCodeSets4d.lib in the=20
project but i still must be missing something??. Any ideas would be =
greatly=20
appreciated.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Cheers,</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>Mac.</FONT></DIV></BODY></HTML>

------=_NextPart_000_003A_01C11159.E6943A40--