[JBoss JIRA] Created: (JBRULES-2344) Pattern analysis can never be satisfied, however the rule is logically correct
by Claudio Gargiulo (JIRA)
Pattern analysis can never be satisfied, however the rule is logically correct
------------------------------------------------------------------------------
Key: JBRULES-2344
URL: https://jira.jboss.org/jira/browse/JBRULES-2344
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-verifier
Affects Versions: 5.0.1.FINAL
Environment: MacBook Pro 17" Core 2 Duo
Ubuntu 9.10 64bit (native, not virtualized) - Apache Tomcat 6.0.18 - Java 6
Reporter: Claudio Gargiulo
Assignee: Mark Proctor
When I launch the analysis of a rule I get the following message:
Pattern, name: TrafficoEntrata in Rule 'backToNormal' can never be satisfied.
Pattern, name: StatoRete in Rule 'backToNormal' can never be satisfied.
The Rule "backToNormal" is the following:
rule "backToNormal"
dialect "mvel"
when
exists Attacco( )
attack : Attacco( )
StatoRete( numero_utenti > "25" && < "80" )
TrafficoEntrata( banda_occupata > "20" && < "80" )
then
retract( attack );
end
The integer values are taken from an enumeration. Altering the conditions in this way:
numero_utenti >"25", numero_utenti < "80"
makes no difference at analysis time.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBRULES-2232) NullPointerException using drools-persistance-jpa and Drools Flows (WorkItemInfo)
by Noel Keating (JIRA)
NullPointerException using drools-persistance-jpa and Drools Flows (WorkItemInfo)
---------------------------------------------------------------------------------
Key: JBRULES-2232
URL: https://jira.jboss.org/jira/browse/JBRULES-2232
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.1.0.M1
Reporter: Noel Keating
Assignee: Mark Proctor
I'm getting a NPE exception when using drools-persistence-jpa with Drools Flow (I'm working with the trunk version 28274). It occurs in MarshallerReaderContext and seems to be a result of JBRULES-2149. When loading a WorkItemInfo from the database a MarshallerReaderContext is created without the ruleBase set, however the MarshallerReaderContext expects the ruleBase to be set.
In the attached patch I have added a null check and call the super method if it is not set. This seems to be working correctly and would have been the behaviour before JBRULES-2149.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month
[JBoss JIRA] Created: (JBRULES-2450) Nullpointer Exception when refacroring in unreleted projects
by Jürgen Schmied (JIRA)
Nullpointer Exception when refacroring in unreleted projects
------------------------------------------------------------
Key: JBRULES-2450
URL: https://jira.jboss.org/jira/browse/JBRULES-2450
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-eclipse
Affects Versions: 5.1.0.M1
Environment: eclipse.buildId=3.5.2
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
Reporter: Jürgen Schmied
Assignee: Mark Proctor
When renaming a class in a non drools project I get a NullPointerException in the drools plugin.
Participant 'org.drools.eclipse.refactoring.moveParticipant' removed due to the following exception
java.lang.NullPointerException
at org.drools.eclipse.refactoring.DRLProjectDetector.detect(Unknown Source)
at org.drools.eclipse.refactoring.DRLProjectDetector.detect(Unknown Source)
at org.drools.eclipse.refactoring.DRLProjectDetector.detect(Unknown Source)
at org.drools.eclipse.refactoring.RuleIFileMoveParticipant.createChange(Unknown Source)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.createChange(ProcessorBasedRefactoring.java:308)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:211)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
16 years, 1 month