question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DMN Editor Import Java Datatype disabled

See original GitHub issue

I try to use a domain model from a maven dependency within a kjar generated by the archetype. When I open the kjar project with DMN Editor plugin, navigate to the Data Types Tab, the Import Java classes Button is disabled. I’ve created a project to reproduce the problem under MBoegers/kjar-with-domain-from-dependency

org.kie.version: 7.73.0.Final

plugin version: v0.21.0

Error from Developer Tools

dmn-loader.js:2 Error: Internal error.
    at e.callback (DmnEditorEnvelopeApp.js:2:517269)
    at e.receive (DmnEditorEnvelopeApp.js:2:519025)
    at Object.receive (DmnEditorEnvelopeApp.js:2:514342)
    at e.receive (DmnEditorEnvelopeApp.js:2:521554)
    at eventListener.eventListener (DmnEditorEnvelopeApp.js:2:520714)
(anonymous) @ dmn-loader.js:2
Promise.catch (async)
(anonymous) @ dmn-loader.js:2
Pl @ dmn-loader.js:2
t.unstable_runWithPriority @ dmn-loader.js:2
Yo @ dmn-loader.js:2
Bl @ dmn-loader.js:2
(anonymous) @ dmn-loader.js:2
R @ dmn-loader.js:2
w.port1.onmessage @ dmn-loader.js:2

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MBoegerscommented, Sep 23, 2022

Hi, sorry for not responding here, whole was family was attacked by flue. I can verify that the button is enabled at every time and the dialog provides expected Java classes, at least for KIE 8 😉 Thanks for the fix!

1reaction
yesamercommented, Aug 24, 2022

@MBoegers PR updated. That fix would be part of the next 0.23.0 release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 3. Creating and editing DMN models in Business ...
To import an existing DMN file, click Import Asset, enter the DMN model name, select the appropriate Package, select the DMN file to...
Read more >
DMN Types from Java Classes - KIE Community
Open your DMN model, in our case our reference is the TrafficViolation.dmn file already available in the example project. Go to the "Data...
Read more >
Decision Model and Notation (DMN) - Sparx Systems
This topic describes how to import a DMN XML file from a different Enterprise ... C# and Java requires that the data types...
Read more >
Drools Documentation - Red Hat on GitHub
In Drools 7.0.0 the support for standard Java Collection has been enhanced, ... The injectreactive goal is disabled by default, and can be...
Read more >
Ready to create a decision model? - Oracle Help Center
To use a decision model, you must create a snapshot of it and activate the snapshot on the DMN server. In the decision...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found