strange corba marshal error org.omg.CORBA.MARSHAL

strange corba marshal error org.omg.CORBA.MARSHAL

Post by H » Thu, 06 Feb 2003 23:09:19



I have a strange corba marshal error while receiving a structured push
event.
The error has type org.omg.CORBA.MARSHAL with minor code 0 and message
'Referenced type of indirect type noy marshaled!'
I am using jdk 1.4.1, the event pusher is a smalltalk system.
Anybody seen this before and knows the solution ?

HJ

 
 
 

1. org.omg.CORBA.MARSHAL: minor code: 0 completed: No

I want to send a string over an java applet to the c++ omniorb server.

I get following failure message:

What does this mean?

org.omg.CORBA.MARSHAL:   minor code: 0  completed: No

            at java.lang.Class.newInstance0(Native Method)

            at java.lang.Class.newInstance(Unknown Source)

            at
com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(Unknown
Source)

            at
com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(Unknown
Source)

            at com.sun.corba.se.internal.corba.ClientDelegate.invoke(Unknown
Source)

            at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)

            at _EchoStub.testConnection(_EchoStub.java:31)

            at ClientApplet.init(ClientApplet.java:119)

            at sun.applet.AppletPanel.run(Unknown Source)

            at java.lang.Thread.run(Unknown Source)

----------------------------------------------------------------------------
------------------

The idl file:

#ifndef __ECHO_IDL__

#define __ECHO_IDL__

interface Echo {

  string testConnection(in string mesg);

#endif

----------------------------------------------------------------------------
----------------

The java applet:

String testConnection = "Test";

String dest = server.testConnection(testConnection);

----------------------------------------------------------------------------
-------------------

The omni code:

char* Echo_i::testConnection(const char *mesg)

{

            char *temp;

            int i;

            temp=(char *)malloc(mesg[0]+1);

            for(i=0;i<mesg[0];i++)

            temp[i]=mesg[i+1];

            printf("testConnection hat diese Laenge: %d\n", mesg[0]);

            printf("Das steht in temp: %s\n", temp);

            return ("Hier ist die Funktion testConnection");

----------------------------------------------------------------------------
-----------------------------

2. invalid HELO parameter error

3. Strange Exception: org.omg.CORBA.INTF_REPOS

4. Can I embed XSL into XML?

5. org.omg.CORBA.ORBPackage.InvalidName ERROR

6. Accepting parameters in xslt

7. org.omg.CORBA.UNKNOWN: remote exception - Unknown error

8. DEC surplus vaxes, terminals, networking etc

9. CORBA::MARSHAL Error

10. difference between org,omg.CORBA.ORB and IE.Iona.OrbixWeb.CORBA.ORB

11. Response to: org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201

12. org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No

13. Exception caught org.omg.CORBA.ORBPackage.InvalidName