kbss-cvut / bpmn2stamp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Processing manual-ramp-inspektora fails due null pointer exception

blcham opened this issue · comments

Command:

cd bpmn-convertor-examples/processes/ucl
./bin/process-bpmn.sh bpmn/manual-ramp-inspektora.bpmn

Returns error:

Converting BBO file 'manual-ramp-inspektora-bpmn.ttl' to STAMP file 'manual-ramp-inspektora-pre-stamp.ttl' 
Exception in thread "main" java.lang.NullPointerException 
       at cz.cvut.kbss.bpmn2stamp.converter.mapper.bbo2stamp.MapstructBbo2StampMapper.lambda$processControlledProcessProperties$0(MapstructBbo2StampMapper.java:56) 
       at cz.cvut.kbss.bpmn2stamp.converter.mapper.bpmn2bbo.MapstructBpmn2BboMapper$AfterMappingAction.lambda$new$0(MapstructBpmn2BboMapper.java:419) 

Full log:
manual-ramp-inspektora.log

The problem was caused by the wrong conversion of the sequence flows, having unconvertable parts as a source or target reference. In this particular case it was caused by the gateways.
The fix will be implemented in the issue #52.

tested and works.