Bug 1657 - tao_ifr fails to process certain IDL files
Summary: tao_ifr fails to process certain IDL files
Status: RESOLVED DUPLICATE of bug 946
Alias: None
Product: TAO
Classification: Unclassified
Component: Interface Repository (show other bugs)
Version: 1.3
Hardware: other other
: P2 major
Assignee: Jeff Parsons
URL:
Depends on:
Blocks:
 
Reported: 2003-11-26 06:59 CST by yurii.kantonistov
Modified: 2003-11-26 09:29 CST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yurii.kantonistov 2003-11-26 06:59:02 CST
tao_ifr seems to fail to load some IDLs which conatain nested 
structures and unions definitions. Strangely it processes without error
declaration like this:

...
struct event4d {
  double            t;
  point3d           p;
  sequence<event4d> events;

  union EventValues switch(long)
  {
    case 0:
      long              longValue;
    case 1:
      sequence<event4d>	eventValue;
  } value;
};
...

but fails on bigger IDL files which have more structures and unions.
IDL files I have are too big to be inserted in here, I will send them 
via email upon your request. 

tao_ifr gives following messages:

d:\bbms\idlchk>tao_ifr -ORBInitRef 
InterfaceRepository=corbaloc::FILV3446:2298/InterfaceRepository mgrpfemsmomd.idl
idli_a02900.cc
(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\ifr_adding_visitor.cpp:1562) 
ifr_adding_visitor::element_type - lookup_id failed
(2012|2900) EXCEPTION, visit_sequence
system exception, ID 'IDL:omg.org/CORBA/BAD_PARAM:1.0'
TAO exception, minor code = 0 (unknown location; unspecified errno), completed 
= NO

(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\ifr_adding_visitor_structure.cpp:113) 
ifr_adding_visitor_structure::visit_scope - failed to accept visitor
(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\ifr_adding_visitor_structure.cpp:173) 
ifr_adding_visitor_structure::visit_structure - visit_scope failed
(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\ifr_adding_visitor.cpp:90) 
ifr_adding_visitor::visit_scope - failed to accept visitor
(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\ifr_adding_visitor.cpp:223) 
ifr_adding_visitor::visit_module - visit_scope failed
(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\ifr_adding_visitor.cpp:90) 
ifr_adding_visitor::visit_scope - failed to accept visitor
(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\ifr_adding_visitor.cpp:1249) 
ifr_adding_visitor::visit_root - visit_scope failed
(C:\ACE_wrappers\TAO\orbsvcs\IFR_Service\be_produce.cpp:278) BE_produce - 
failed to accept visitor
Fatal Error - Aborting
Comment 1 Douglas C. Schmidt 2003-11-26 09:17:58 CST
Hi Yurii,

Please upgrade to TAO version 1.3.5 and see if you still have these problems.  
You can download TAO 1.3.5 from http://deuce.doc.wustl.edu/Download.html.  If 
you need to use TAO 1.3 please contact Malcolm Spence <spence_m@ociweb.com> for 
commercial support.
Comment 2 Jeff Parsons 2003-11-26 09:29:07 CST
The example contains a recursive struct. It is well-documented that the TAO
IFR does not yet support recursvie types. Marking this bug as a duplicate of
946.

*** This bug has been marked as a duplicate of 946 ***