KiePMMLException

36 views
Skip to first unread message

Umesh Sinha

unread,
Apr 17, 2024, 6:02:25 AMApr 17
to Drools Usage
Hi Team,

I am trying to create a scorecard in Business Central version 7.61.0 Final.

After creating the scorecard when I tried to build the project I got the following error.

org.drools.compiler.compiler.DroolsParserException: org.kie.pmml.api.exceptions.KiePMMLException: Exception while instantiating KiePMMLModelFactory for null

Any help will be highly appreciated. I am completely stuck due to this error.

Thanks,
Umesh

Toni Rikkola

unread,
Apr 18, 2024, 3:29:25 AMApr 18
to drools...@googlegroups.com
I can't give a solution for your problem, but I will give you a fair warning that the Business Central scorecards are, what I would call, a risky feature. Not much use as far as I know and not that many dev hours spent on it. Also, unless someone has better information, it will not have any support in the future.

Toni

--
You received this message because you are subscribed to the Google Groups "Drools Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drools-usage...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/drools-usage/2c1dc1aa-bbae-4bab-b812-39a3f33d6781n%40googlegroups.com.

Gabriele Cardosi

unread,
Apr 18, 2024, 3:56:09 AMApr 18
to drools...@googlegroups.com
That exception is related to the new PMML implementation (kiepmmltrusty), so it should not be related to the oldest scorecard.
Regardless, without a reproducer it is impossible to know what's going on,

Best

Umesh Sinha

unread,
Apr 18, 2024, 4:54:25 AMApr 18
to Drools Usage
Thanks, Gabriele. 

Currently, I am using 7.61.0 Final. Happy to shift to an older version where the scorecard is working properly.

@toni, thanks for scaring me. I work in the Financial domain scorecard is one of the top demands. This piece is super critical to me and I am more than happy to debug/contribute if required. But the bottom line is I need to have this in working condition, as I have already promised to my management.

Thanks,
Umesh

Gabriele Cardosi

unread,
Apr 18, 2024, 5:44:17 AMApr 18
to drools...@googlegroups.com
HI Umesh,
the version you use should not have issues, that's why I would like to understand the root cause of that problem.
But, again, without a sort of reproducer I can't provide any more help.

Best
Gabriele



Umesh Sinha

unread,
Apr 18, 2024, 5:47:13 AMApr 18
to Drools Usage
Hi Gabriele,

Thanks for the encouraging words. Allow me today, I will provide you with all the required stuff.

Thanks,
Umesh

Umesh Sinha

unread,
Apr 18, 2024, 1:20:08 PMApr 18
to Drools Usage
Hi Gabriele,

Please find the attached doc. I am not doing much, just created an object and then used that object to create a scorecard. Please refer to the attached doc. When I am trying to deploy it gives me the error.

Thanks,
Umesh

ScoreCard_Error.docx

Gabriele Cardosi

unread,
Apr 19, 2024, 12:55:28 AMApr 19
to drools...@googlegroups.com
Hi Umesh,
could you please share a reproducer ?
Thanks!

--

Umesh Sinha

unread,
Apr 19, 2024, 1:22:19 AMApr 19
to Drools Usage
Hi Gabriele,

What exactly do you mean by reproducer? If I am sounding naive then please consider me new to the Drools world.

Thanks,
Umesh

Umesh Sinha

unread,
Apr 19, 2024, 8:32:33 AMApr 19
to Drools Usage
Hi Gabriele,

Even if you can let me combine which Java Version, which Business Central(War) Version, and which WildFly Version is working perfectly alright for ScoreCard then it will serve my purpose. This is the only thing where I got stuck, the rest of the things are working smoothly for me.

Thanks,
Umesh

Reply all
Reply to author
Forward
0 new messages