-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE: Cannot invoke "String.getBytes()" because "key" is null #9269
Comments
@saig0 You might be interested in this one. I haven't been able to fully analyse where the problem was coming from. |
@remcowesterhoud I'm also not sure how to reproduce it 😅 The issue seems to be in the DMN engine. It would be good to see the DMN that was evaluated. Can we get the DMN from the cluster for root cause analysis? |
@remcowesterhoud please try to get the the DMN to further analyze this. The expected impact here is that the instance is blacklisted, so not visible to the user, but the cluster will keep "working". We also expect likelihood here to be low, as no one ran into this so far. I'll mark it as blocker/info and severity/mid for now, but tentatively, and once we have the DMN we should revise this. |
I have identified and reproduced the issue. See camunda/dmn-scala#142 |
Will be fixed by #9361 |
9361: deps(maven): bump dmn-engine from 1.7.1 to 1.7.2 r=remcowesterhoud a=dependabot[bot] Bumps [dmn-engine](https://github.com/camunda-community-hub/dmn-scala) from 1.7.1 to 1.7.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/camunda-community-hub/dmn-scala/releases">dmn-engine's releases</a>.</em></p> <blockquote> <h2>v.1.7.2</h2> <h2>What's Changed</h2> <ul> <li>feat: inject clock in the engine builder by <a href="https://github.com/korthout"><code>`@korthout</code></a>` in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/127">camunda-community-hub/dmn-scala#127</a></li> <li>fix: reject invalid decision table with empty output name by <a href="https://github.com/remcowesterhoud"><code>`@remcowesterhoud</code></a>` in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/143">camunda-community-hub/dmn-scala#143</a></li> </ul> <h3>Dependencies</h3> <ul> <li>chore(deps): bump log4j-api from 2.14.1 to 2.16.0 by <a href="https://github.com/dependabot"><code>`@dependabot</code></a>` in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/124">camunda-community-hub/dmn-scala#124</a></li> <li>chore(deps): bump log4j-api from 2.16.0 to 2.17.0 by <a href="https://github.com/dependabot"><code>`@dependabot</code></a>` in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/125">camunda-community-hub/dmn-scala#125</a></li> <li>chore(deps): bump log4j-core from 2.14.1 to 2.17.1 by <a href="https://github.com/dependabot"><code>`@dependabot</code></a>` in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/130">camunda-community-hub/dmn-scala#130</a></li> <li>chore(deps): bump log4j-api from 2.17.0 to 2.17.1 by <a href="https://github.com/dependabot"><code>`@dependabot</code></a>` in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/131">camunda-community-hub/dmn-scala#131</a></li> <li>chore(deps): bump netty-bom from 4.1.37.Final to 4.1.73.Final by <a href="https://github.com/dependabot"><code>`@dependabot</code></a>` in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/133">camunda-community-hub/dmn-scala#133</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/korthout"><code>`@korthout</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/127">camunda-community-hub/dmn-scala#127</a></li> <li><a href="https://github.com/barmac"><code>`@barmac</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/137">camunda-community-hub/dmn-scala#137</a></li> <li><a href="https://github.com/remcowesterhoud"><code>`@remcowesterhoud</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/pull/143">camunda-community-hub/dmn-scala#143</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/camunda-community-hub/dmn-scala/compare/1.7.1...1.7.2">https://github.com/camunda-community-hub/dmn-scala/compare/1.7.1...1.7.2</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/c23478d923ce8cf81ca6c3d6e5e00a381c577aaa"><code>c23478d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/issues/143">#143</a> from camunda-community-hub/remco-142-empty_output_names</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/3efea67e5838a8b01d2bd7392bcfbc9a64a601fb"><code>3efea67</code></a> fix: fail early on empty output name for decision table</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/5dc74880579ab560527ce2af1e8fd4a7b34db687"><code>5dc7488</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/issues/139">#139</a> from barmac/patch-2</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/fd1365f865e049c746777a3a3e0d661e3708d24a"><code>fd1365f</code></a> chore: update function provider SPI link</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/7e3ca32d3189c4d9ee82801ef553c59e18f445b5"><code>7e3ca32</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/issues/137">#137</a> from barmac/patch-1</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/586c38b298f543bf6c29728415c8f7085395e666"><code>586c38b</code></a> chore: update value mapper link</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/14d12c8e04fc6a1bcd6b3bbabd75bfc21113c0c5"><code>14d12c8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/issues/133">#133</a> from camunda-community-hub/dependabot/maven/io.netty-...</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/f2efdf43d3734c8e7a2d65b7c5a59f80a1ecfeec"><code>f2efdf4</code></a> chore(deps): bump netty-bom from 4.1.37.Final to 4.1.73.Final</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/5abb9508cbc2403a7ed8741153449474e4ea27bf"><code>5abb950</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/camunda-community-hub/dmn-scala/issues/131">#131</a> from camunda-community-hub/dependabot/maven/org.apach...</li> <li><a href="https://github.com/camunda-community-hub/dmn-scala/commit/57528d09b8cbc78d5825ce1afb0f4eac11e42054"><code>57528d0</code></a> chore(deps): bump log4j-api from 2.17.0 to 2.17.1</li> <li>Additional commits viewable in <a href="https://github.com/camunda-community-hub/dmn-scala/compare/1.7.1...1.7.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> closes #9269 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
9944: fix(deps): bump dmn-scala from 1.7.1 to 1.7.2 r=saig0 a=remcowesterhoud ## Description Backport of #9361 to `stable/8.0`. relates to #9269 --- We had an issue in the DMN engine which was the cause of NPE. This was resolved in #9269 but it wasn't backported to the 8.0 branch. Co-authored-by: Remco Westerhoud <remco@westerhoud.nl>
Describe the bug
Evaluating a decision results in a NullPointerException. The NPE occurs during evaluation of a decision. It appears to be iterating over a map of variables and breaks when it encounters a variable with the key
null
.To Reproduce
Not sure
Expected behavior
No NPE should occur. If any null values are possible we should be able to deal with them.
Log/Stacktrace
https://console.cloud.google.com/errors/detail/CP_pnKWJn4Ta9AE;service=zeebe;time=P7D?project=camunda-cloud-240911
Full Stacktrace
Environment:
The text was updated successfully, but these errors were encountered: