Home Help Center

UnknownReplyStatusException

JanggwanJanggwan Member Janggwan ImOrganization: KAISTProject: Internet of Things architecture
In my application,

The server has two adapters (objects).

One (1) is for the general servant and the other (2) is for special service.

The object (1) returns the proxy to the object (2).

When I try to invoke methods in the object (2),

I got the following error.


!! 10. 11. 11 02:49:35:932 TCClient: error: main: Ice.UnknownReplyStatusException
reason = (null)
at IceInternal.Outgoing.invoke(Outgoing.java:147)
at SDOPackage._AlertServiceDelM.alert(_AlertServiceDelM.java:41)
at SDOPackage.AlertServicePrxHelper.alert(AlertServicePrxHelper.java:52)
at SDOPackage.AlertServicePrxHelper.alert(AlertServicePrxHelper.java:28)
...


The client is implemented in Java and the server is implemented in Objective-C in iPhone 3GS.

What is the meaning of UnknownReplyStatusException?

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    This indicates that the the Java client received bogus data from the server. Is your client using TCP or another protocol to talk with the Objective-C server? Did you check the iPhone logs to see if the server printed any warning/error messages?

    Cheers,
    Benoit.
  • JanggwanJanggwan Member Janggwan ImOrganization: KAISTProject: Internet of Things architecture
    It was due to misunderstanding of inheritance

    It was due to misunderstanding of inheritance in Slice.

    Servant should have been inherited from actual interface not from the super class of the interface.

    The problem is solved but I think the error should have been something like NotSuchMethodException not UnknownReplyStatusException.
  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Yes it's not clear to me why you got this exception. Do you have a simple test case demonstrating the issue?

    Cheers,
    Benoit.
  • JanggwanJanggwan Member Janggwan ImOrganization: KAISTProject: Internet of Things architecture
    Here is the example

    module test
    {
    interface A {...};

    interface B extends A { void a(); };
    }
    @interface Bimpl : testA
    {
    ...
    }

    I made the servant class of B which implements method a() but extends interface A. It caused the UnknownReplyStatusException.

    It was due to my mistake.
Sign In or Register to comment.