We are writing an ICE interface for Java, and it is throwing IceEncapsulationException. The only reference I can find in documentation says "This exception indicates a malformed data encapsulation.". The exception is thrown deep in ICE code, with no line name from user code. Moreover, we are not doing anything at all with data encapsulation - the method being called is a simple function with no input parameters, and a single output parameter of type string, implemented in a straightforward way. So I am completely at a loss as to why this could happen. Has it happened to anyone before, and what could be a possible cause?
The exception I am seeing is:
-! 8/2/10 20:02:35:268 warning: Ice.ThreadPool.Server-0: dispatch exception:
identity: beetleBeegle
facet:
operation: getInput
Ice.EncapsulationException
reason = (null)
at IceInternal.BasicStream.skipEmptyEncaps(BasicStrea m.java:348)
at beetleBeegle._BeegleDisp.___getInput(_BeegleDisp.j ava:319)
at beetleBeegle._BeegleDisp.__dispatch(_BeegleDisp.ja va:389)
at IceInternal.Incoming.invoke(Incoming.java:159)
at Ice.ConnectionI.invokeAll(ConnectionI.java:2312)
at Ice.ConnectionI.dispatch(ConnectionI.java:1199)
at Ice.ConnectionI.message(ConnectionI.java:1154)
at IceInternal.ThreadPool.run(ThreadPool.java:302)
at IceInternal.ThreadPool.access$300(ThreadPool.java: 12)
at IceInternal.ThreadPool$EventHandlerThread.run(Thre adPool.java:644)
at java.lang.Thread.run(Thread.java:636)
Myrosia

Reply With Quote