[Rock-dev] [rock] #92: orogen: missleading error message if a struct has a pointer as field

rock noreply at opendfki.de
Wed Jan 18 14:49:01 CET 2012


#92: orogen: missleading error message if a struct has a pointer as field
------------------------+----------------------------
  Reporter:  anonymous  |      Owner:  sylvain.joyeux
      Type:  defect     |     Status:  accepted
  Priority:  major      |  Component:  base
Resolution:             |   Keywords:
------------------------+----------------------------

Comment (by Alexander.Duda):

 the problem is a field of const uint8_t *scan_data;

 Back Trace:

 /home/aduda/avalon/install/lib/ruby/1.8/typelib-gccxml.rb:156:in
 `cxx_to_typelib': cannot load one of the header files
 /home/aduda/avalon/install/include/sonar_tritech/SeaNetTypes.hpp: private
 method `gsub' called for nil:NilClass (Orocos::Generation::ConfigError)
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:190:in `cxx_to_typelib'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:303:in `resolve_type_definition'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:250:in `resolve_type_id'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:286:in `resolve_type_definition'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:250:in `resolve_type_id'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:366:in `resolve_type_definition'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:363:in `each'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:363:in `resolve_type_definition'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:527:in `load'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:526:in `each'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:526:in `load'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib-
 gccxml.rb:596:in `load_from_gccxml'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib.rb:2088:in
 `call'
         from /home/aduda/avalon/install/lib/ruby/1.8/typelib.rb:2088:in
 `import'
         from
 /home/aduda/avalon/tools/orogen/lib/orogen/gen/typekit.rb:1386:in
 `do_import'
         from
 /home/aduda/avalon/tools/orogen/lib/orogen/gen/typekit.rb:1137:in
 `perform_pending_loads'
         from /usr/lib/ruby/1.8/tempfile.rb:188:in `open'
         from
 /home/aduda/avalon/tools/orogen/lib/orogen/gen/typekit.rb:1130:in
 `perform_pending_loads'
         from
 /home/aduda/avalon/tools/orogen/lib/orogen/gen/project.rb:935:in
 `task_context'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:144:in
 `send'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:144:in
 `method_missing'
         from sonar_tritech.orogen:10:in `eval_dsl_file_content'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:162:in
 `instance_eval'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:162:in
 `dsl_exec_common'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/with_module.rb:45:in
 `instance_eval'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/with_module.rb:45:in
 `with_module'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:155:in
 `dsl_exec_common'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:34:in
 `load_dsl_filter_backtrace'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:138:in
 `dsl_exec_common'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:102:in
 `eval_dsl_file_content'
         from
 /home/aduda/avalon/tools/utilrb/lib/utilrb/kernel/load_dsl_file.rb:118:in
 `eval_dsl_file'
         from
 /home/aduda/avalon/tools/orogen/lib/orogen/gen/project.rb:1257:in `load'
         from /home/aduda/avalon/tools/orogen/bin/orogen:144

-- 
Ticket URL: <https://rock.opendfki.de/ticket/92#comment:2>
rock <https://rock.opendfki.de>
rock: the robot construction kit


More information about the Rock-dev mailing list