[omniORB] application attempted to invoke an operation on a nil
reference
Wittstruck, Nicholas
Nicholas.Wittstruck at student.hpi.uni-potsdam.de
Wed Jun 30 18:33:07 BST 2010
Hi,
thank you for your replies. I was able to fix the issue with your help, you we're right. I get another error now - regardless wether I do anything in the pi method or not, the application crashes after its exceution. I've added my IDL file. Do you know why this happens?
Thank you btw for the book recommendation :) Ordered it right now.
----
omniORB: Receive codeset service context and set TCS to (ISO-8859-1,UTF-16)
omniORB: Dispatching remote call 'pi' to: root<0> (active)
manager is not null
00491CC8
omniORB: Invoke 'setText' on remote: key<.........t..................RootPOA....
..........>
omniORB: sendChunk: to giop:tcp:192.168.0.102:58808 117 bytes
omniORB:
4749 4f50 0102 0100 6900 0000 0800 0000 GIOP....i.......
0300 0000 0000 0000 3100 0000 afab cb00 ........1.......
0000 0020 8974 e70d 0000 0001 0000 0000 ... .t..........
0000 0001 0000 0008 526f 6f74 504f 4100 ........RootPOA.
0000 0008 0000 0001 0000 0000 1420 3030 ............. 00
0800 0000 7365 7454 6578 7400 0000 0000 ....setText.....
0800 0000 6469 7370 6c61 7900 0500 0000 ....display.....
7465 7874 00 text.
omniORB: inputMessage: from giop:tcp:192.168.0.102:58808 34 bytes
omniORB:
4749 4f50 0102 0001 0000 0016 0000 0008 GIOP............
0000 0000 0000 0001 4e45 4f00 0000 0002 ........NEO.....
0014 ..
omniORB: Return 'setText' on remote: key<.........t..................RootPOA....
..........>
omniORB: sendChunk: to giop:tcp:[::ffff:192.168.0.102]:58811 24 bytes
omniORB:
4749 4f50 0102 0101 0c00 0000 0600 0000 GIOP............
0000 0000 0000 0000 ........
----
idl files:
----
#include "gui.idl"
module calculator
{
interface Functions : Plugin
{
attribute GuiManager manager;
void pi(in string id);
};
};
module calculator
{
interface GuiManager
{
exception NotSupportedForType
{
string reason;
};
exception ElementNotFoundException
{
string reason;
};
void initializeUserInterface(in string xml);
void insertIntoUserInterface(in string xml, in string id);
void updateUserInterface(in string xml);
void setText(in string id, in string text) raises(NotSupportedForType, ElementNotFoundException);
string getText(in string id) raises(NotSupportedForType, ElementNotFoundException);
};
interface Plugin
{
void initializePlugin(in GuiManager manager);
};
};
----
More information about the omniORB-list
mailing list