| Summary: | NPE when ksession.getQueryResults() should return empty result | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Tomas David <tdavid> |
| Component: | BRE | Assignee: | Edson Tirelli <etirelli> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas David <tdavid> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | rrajasek, vigoyal |
| Target Milestone: | ER5 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Summary: When there are no events in an entry-point in a defined DRL file OR there are events but they don't meet the defined query criteria the getQueryResults() method should return an empty result. Instead, this method throws a NullPointerException.
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 20:18:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tomas David
2013-10-16 09:29:35 UTC
NPE problem appeared in some test which should return some result. Example added to pull request. Fixed. Thanks. 6.0.x: http://github.com/droolsjbpm/drools/commit/315cc8f4b master: http://github.com/droolsjbpm/drools/commit/5151d011c Verified on BRMS 6.0.0.ER5. |