Bug 724655 (BRMS-558)
| Summary: | NPE in AbstractCompositeRestriction when using unbound variables | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Toshiya Kobayashi <tkobayas> |
| Component: | BRE (Expert, Fusion) | Assignee: | Nobody <nobody> |
| Status: | CLOSED UPSTREAM | QA Contact: | Marek Baluch <mbaluch> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.1.0 GA | CC: | maarten.daalder, trikkola |
| Target Milestone: | --- | ||
| Target Release: | BRMS 5.2.0.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/BRMS-558 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
A NullPointerException was occurring in AbstractCompositeRestriction when using unbound variables as a side effect of missing import statements.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-02-10 03:13:57 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: | |
| Embargoed: | |||
|
Description
Toshiya Kobayashi
2011-03-01 05:27:07 UTC
Link: Added: This issue incorporates JBRULES-2872 Triaged by the BRMS PM team for 5.2. As per comments on JBRULES-2872, I was unable to reproduce the NPE, but fixed line numbers on error messages. Commit: https://github.com/droolsjbpm/drools/commit/0c025c90adb0751bdb7622faa2ed9c82190ba587 I was able to reproduce NPE in BRMS 5.1.0 with following code:
package com.sample
import org.drools.verifier.components.NumberRestriction
rule "x"
when
NumberRestriction( valueType == Field.INT || == Field.DOUBLE )
then
end
I have tested it in BRMS 5.2.0 ER3 and it is fixed.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
https://bugzilla.redhat.com/show_bug.cgi?id=724655
A NullPointerException was occurring in AbstractCompositeRestriction when using unbound variables were used, however this was a side effect of missing import statements. The bug has been corrected and no longer presents.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1,3 +1 @@
-https://bugzilla.redhat.com/show_bug.cgi?id=724655
-
A NullPointerException was occurring in AbstractCompositeRestriction when using unbound variables were used, however this was a side effect of missing import statements. The bug has been corrected and no longer presents.
Technical note updated. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Diffed Contents:
@@ -1 +1 @@
-A NullPointerException was occurring in AbstractCompositeRestriction when using unbound variables were used, however this was a side effect of missing import statements. The bug has been corrected and no longer presents.+A NullPointerException was occurring in AbstractCompositeRestriction when using unbound variables as a side effect of missing import statements.
This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |