Re: Unknown code CayenneRuntimeException help...

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Mon Dec 11 2006 - 05:04:13 EST

  • Next message: Andrus Adamchik: "Re: how does cayenne handle java.util.date values ?"

    I won't claim this is a bug in Hessian just yet, but the first thing
    to check is any matching exceptions on the server side. Wonder if
    that's related to this thread:

    http://objectstyle.org/cayenne/lists/cayenne-user/2006/12/0051.html

    Andrus

    On Dec 8, 2006, at 1:31 AM, Lachlan Deck wrote:

    > Can anyone shed some light on what "unknown code" means?
    >
    > Is it a bug in Hessian?
    >
    > Thanks
    >
    > org.apache.cayenne.CayenneRuntimeException: [v.3.0-incubating-
    > SNAPSHOT ] Remote error. URL - <...>; CAUSE - unknown code:?
    > at org.apache.cayenne.remote.hessian.HessianConnection.doSendMessage
    > (HessianConnection.java:145)
    > at org.apache.cayenne.remote.BaseConnection.sendMessage
    > (BaseConnection.java:73)
    > at org.apache.cayenne.remote.ClientChannel.send(ClientChannel.java:
    > 276)
    > at org.apache.cayenne.remote.ClientChannel.onQuery
    > (ClientChannel.java:110)
    > at org.apache.cayenne.util.ObjectContextQueryAction.runQuery
    > (ObjectContextQueryAction.java:282)
    > at org.apache.cayenne.CayenneContextQueryAction.execute
    > (CayenneContextQueryAction.java:51)
    > at org.apache.cayenne.CayenneContext.onQuery(CayenneContext.java:347)
    > at org.apache.cayenne.CayenneContext.performQuery
    > (CayenneContext.java:336)
    > at ish.oncourse.cayenne.CayenneContext.performQuery(Unknown Source)
    > <...>
    > Caused by:
    > com.caucho.hessian.io.HessianProtocolException: unknown code:?
    > at com.caucho.hessian.io.HessianInput.error(HessianInput.java:1642)
    > at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:
    > 1143)
    > at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java)
    > at com.caucho.hessian.io.HessianInput.readReply(HessianInput.java:285)
    > at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java)
    > at $Proxy2.processMessage(Unknown Source)
    > at org.apache.cayenne.remote.hessian.HessianConnection.doSendMessage
    > (HessianConnection.java:140)
    > ... 31 more
    >
    > with regards,
    > --
    >
    > Lachlan Deck
    >
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon Dec 11 2006 - 05:04:42 EST