kbss-cvut / bpmn2stamp

1 stars 0 forks source link

Processing manual-ramp-inspektora fails due null pointer exception #56

Closed blcham closed 1 year ago

blcham commented 1 year ago

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

grigobog commented 1 year ago

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.

blcham commented 1 year ago

tested and works.