-
Bug
-
Resolution: Done
-
Major
-
6.0.0
-
None
-
- Description of problem:
A java.lang.NullPointerException will be thrown during parsing of the process if the definition (see attached file) contains 'xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"' elements and the process element is missing the 'id' attribute.
-
- How reproducible:
File file = new File("/path/to/the/attached/process/definition");
Resource process = ResourceFactory.newFileResource(file);
KieServices ks = KieServices.Factory.get();
KieFileSystem kfs = ks.newKieFileSystem();
kfs.write(process);
KieBuilder kb = ks.newKieBuilder(kfs);
kb.buildAll();
-
- Actual results:
java.lang.NullPointerException on the kb.buildAll(); line.