[omniORB] Sequence of valuetype

Duncan Grisby duncan at grisby.org
Wed Jan 18 10:45:46 GMT 2006


On Wednesday 18 January, =?ISO-8859-1?Q?Bj=F6rn_Hagemeier?= wrote:

[...]
> The server causes a BAD_PARAM_ValueFactoryFailure exception in
> valueType.cc:630. omniValueType::handleIncompatibleValue is called from
> AbstractAction::_NP_unmarshal, which means the server could not
> interpret the value (an ExecuteTask) as an AbstractAction, although the
> former is derived from the latter.

What you're trying to do should work. The exception from
handleIncompatibleValue means that the valuefactory you registered for
the ExecuteTask returned a value that could not be downcast to
AbstractAction. That could be because there's something wrong with your
valuefactory, or it could be a bug in omniORB. Can you post a complete
minimal example that exhibits the problem?

Something you can try is to create an ExecuteTask using the valuefactory
that is registered for it, then try to _downcast it to AbstractAction
yourself. Does that work?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list