When parsing a particular report of three solution files, one of the xml source files causes an error:
Parsing CustomMenuCatalog
/usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/fmpreport.rb:268:in `block in define_content_procs': undefined method `[]' for nil:NilClass (NoMethodError)
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/fmpreport.rb:147:in `call'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/fmpreport.rb:147:in `block in parse_fmp_obj'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:187:in `block in each'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `upto'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/nokogiri-1.6.6.2/lib/nokogiri/xml/node_set.rb:186:in `each'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/fmpreport.rb:124:in `parse_fmp_obj'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/fmpreport.rb:39:in `initialize'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/ddr.rb:54:in `new'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/ddr.rb:54:in `block in process_reports'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/ddr.rb:51:in `each'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/lib/fmpvc/ddr.rb:51:in `process_reports'
from /usr/local/Cellar/ruby/2.1.0/lib/ruby/gems/2.1.0/gems/fmpvc-0.3.2/exe/fmpvc:46:in `<top (required)>'
from /usr/local/Cellar/ruby/2.1.0/bin/fmpvc:23:in `load'
from /usr/local/Cellar/ruby/2.1.0/bin/fmpvc:23:in `<main>'
<CustomMenuCatalog>
<CustomMenu>
...
</CustomMenu>
</CustomMenuCatalog>
is missing (regardless of the inner content).
add an empty tag yourself before the closing tag.
I checked if a doubling of the tag hurts, and I had no issue using this trick. So you can simply run a search and replace like
s/</CustomMenu>/<BaseMenu /> </CustomMenu>
Currently no clue and time to dive into the code.