# DMN simulator - 500 Internal Server Error

**URL:** <https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968>\
**Category:** Discussion & Questions\
**Tags:** dmn-engine-feel\
**Created:** [October 5, 2023, 5:50pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968 "2023-10-05T17:50:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michele\_Mengascini](https://forum.camunda.io/user_avatar/forum.camunda.io/michele_mengascini/32/26971_2.png) [@Michele\_Mengascini](https://forum.camunda.io/u/Michele_Mengascini)\
**Post date:** [October 5, 2023, 5:50pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/1 "2023-10-05T17:50:18Z")

</div>

As per title, I am having problems at DMN simulator online [Camunda DMN-Simulator](https://consulting.camunda.com/dmn-simulator/), when I try to execute any input, of any table, with any hit policy, it always returns this same error.  
I am trying to learn how to use DMN and I am making this exercise, but this error does not allow me to debug.  
I also include the file, if anyone is interested in recreating this error  
[simulation.dmn|attachment]

(upload://iIPF3PPO7Ziy2Pq0wwj1xavcYnL.dmn) (23.4 KB)

---

<div class="post-metadata">

**Author:** ![mbuholzer](https://forum.camunda.io/user_avatar/forum.camunda.io/mbuholzer/32/27098_2.png) [@mbuholzer](https://forum.camunda.io/u/mbuholzer)\
**Post date:** [October 11, 2023, 8:49pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/2 "2023-10-11T20:49:17Z")

</div>

same error here!  
19 lines are ok, one more = crash  
20 lines error, remove ANY field or input = ok

---

<div class="post-metadata">

**Author:** ![kaYcee](https://forum.camunda.io/user_avatar/forum.camunda.io/kaycee/32/27373_2.png) [@kaYcee](https://forum.camunda.io/u/kaYcee)\
**Post date:** [October 31, 2023, 1:58pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/3 "2023-10-31T13:58:25Z")

</div>

Same error, can provide sample. In our files it seems to happen when a 10th rule is added to a table. Can provide the xml file on demand, cannot upload here for some reason.

---

<div class="post-metadata">

**Author:** ![Niall](https://forum.camunda.io/user_avatar/forum.camunda.io/niall/32/15333_2.png) [@Niall](https://forum.camunda.io/u/Niall)\
**Post date:** [October 31, 2023, 1:59pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/4 "2023-10-31T13:59:25Z")

</div>

Please do send along the Model.  
Can you also explain when exactly the error occurs? During deployment or during evaluation?

---

<div class="post-metadata">

**Author:** ![kaYcee](https://forum.camunda.io/user_avatar/forum.camunda.io/kaycee/32/27373_2.png) [@kaYcee](https://forum.camunda.io/u/kaYcee)\
**Post date:** [November 2, 2023, 7:56am UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/5 "2023-11-02T07:56:59Z")

</div>

Dear Niall, thx for your quick reply. Find attached the simplest way to reproduce the error. sample\_ok.dmn contains 9 rules in the table and works. sample\_nok.dmn contains a 10th rule of the same form as the previous 9, and crashes the service.

[sample\_ok.dmn](https://forum.camunda.io/uploads/short-url/qKaNCjmZeLEHjLHzPAuyTiM1g8q.dmn) (19.4 KB)  
[sample\_nok.dmn](https://forum.camunda.io/uploads/short-url/6uDMXIDwZ58Wrjgo5q1CPIVO7Yg.dmn) (20.9 KB)

---

<div class="post-metadata">

**Author:** ![kaYcee](https://forum.camunda.io/user_avatar/forum.camunda.io/kaycee/32/27373_2.png) [@kaYcee](https://forum.camunda.io/u/kaYcee)\
**Post date:** [November 7, 2023, 2:21pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/6 "2023-11-07T14:21:21Z")

</div>

Hi Niall, could you reproduce this issue?

---

<div class="post-metadata">

**Author:** ![DeM0N](https://forum.camunda.io/user_avatar/forum.camunda.io/dem0n/32/27446_2.png) [@DeM0N](https://forum.camunda.io/u/DeM0N)\
**Post date:** [November 7, 2023, 3:40pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/7 "2023-11-07T15:40:28Z")

</div>

I’m encountering the same issue, the DMN crashes with the 10th rule no mather the hit policy.

---

<div class="post-metadata">

**Author:** ![nathan.loding](https://forum.camunda.io/user_avatar/forum.camunda.io/nathan.loding/32/24171_2.png) [@nathan.loding](https://forum.camunda.io/u/nathan.loding)\
**Post date:** [November 7, 2023, 4:36pm UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/8 "2023-11-07T16:36:23Z")

</div>

Hi everyone (@Michele_Mengascini, @mbuholzer, @kaYcee, @DeM0N) - I don’t have a fix for the DMN Simulator, but that particular simulator is older and there’s been some discussion of discontinuing it. There is a very nice community project for testing DMNs that may not have the same limitations as the current DMN Simulator. I’d recommend checking it out and seeing if it helps with your testing needs: [GitHub - camunda-community-hub/camunda-dmn-tester: Project to test (Camunda)-DMN Tables.](https://github.com/camunda-community-hub/camunda-dmn-tester)

---

<div class="post-metadata">

**Author:** ![kaYcee](https://forum.camunda.io/user_avatar/forum.camunda.io/kaycee/32/27373_2.png) [@kaYcee](https://forum.camunda.io/u/kaYcee)\
**Post date:** [November 8, 2023, 7:20am UTC](https://forum.camunda.io/t/dmn-simulator-500-internal-server-error/47968/9 "2023-11-08T07:20:34Z")

</div>

Hi @nathan.loding , thx for your reply! The thing is, the simulator used to work absolutely fine until recently, maybe a couple of weeks ago. Most likely, the error was introduced during a recent patch or change in infrastructure settings. The nature of the problem seems to point to some issues with memory management, since the number of rules processed before the service breaks seems quite arbitrary.
