Problem with using dmn engine in camunda

410 views
Skip to first unread message

Олександр Руцький

unread,
Dec 3, 2015, 5:10:12 AM12/3/15
to camunda-...@googlegroups.com
Hi, during develop I tried to receive de

Олександр Руцький

unread,
Dec 3, 2015, 5:15:36 AM12/3/15
to camunda-...@googlegroups.com
oh, sorry:)
during develop I tried to receive decision from dmn table
DmnDecision decision = dmnEngine.parseDecision("decision", inputStream);

but I got error - Method threw 'java.lang.NoClassDefFoundError' exception.
when looked into implementation I found that if failed when tried to read model from stream
org.camunda.bpm.dmn.engine.impl.transform.DefaultDmnTransform.setModelInstance
-> modelInstance = Dmn.readModelFromStream(inputStream);
So under debug Dmn.instanse is null, so I am not able to do anything with Dmn.
Can you say how to deal with this bug?

mp4...@att.com

unread,
Dec 3, 2015, 6:50:44 AM12/3/15
to camunda BPM users, dyna...@gmail.com
Are you running the proper Camunda version? It should be 7.4.0.

Did you create the DMN table using the Camunda web application at http://demo.bpmn.io/dmn/ ?

Please provide a copy of the DMN file or a picture of it as well as how you are attempting to implement it.

Sebastian Menski

unread,
Dec 3, 2015, 6:58:05 AM12/3/15
to camunda BPM users, dyna...@gmail.com, mp4...@att.com
Hi,

what version of Camunda are you using? Did you use a prepacked 7.4.0 distribution of Camunda? Or do you want to embed the DMN engine
in your application? If so how did you defined the dependencies of the DMN engine. It seems the camunda-dmn-model artifact is missing.

Cheers,
Sebastian

Sebastian Menski

unread,
Dec 3, 2015, 7:52:38 AM12/3/15
to camunda BPM users, dyna...@gmail.com, mp4...@att.com
Hi,

if you use the example on GitHub [1]. Please attach the log of the following command without adding other dependencies.

mvn clean package



Cheers,
Sebastian

Reply all
Reply to author
Forward
0 new messages