[
http://jira.jboss.com/jira/browse/JBRULES-1181?page=all ]
Ramses Gomez closed JBRULES-1181.
---------------------------------
Resolution: Done
sorry this was open by all wrong reasons, it was not that file the one having problems
exists (EventsBO((itemList == null || itemList == "") && eventID == null
&& businessUnitId == null) from $eventList)
thsi worked perfectly. Sorry guys
Unknown error while parsing. This is a bug. Please contact the
Development team.
--------------------------------------------------------------------------------
Key: JBRULES-1181
URL:
http://jira.jboss.com/jira/browse/JBRULES-1181
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.0.GA
Environment: Jboss server 4.0.5 GA
Reporter: Ramses Gomez
Assigned To: Edson Tirelli
this is the file:
global java.util.Vector errorList
rule "Rule For Request"
when
BOEvents($event: reqitems);
exists (EventsBO(itemList == "" && eventID == null &&
businessUnitId == null) from $event)
then
#instead of putting Testing in here, you would put in a new
BusinessRuleException(Message);
errorList.add(new BusinessRuleException(ExceptionConstants.EMPTY_FIELD));
end
this is the only business rules I have in the file.
thsi is the trace:
Exception trace:
org.drools.compiler.DroolsParserException: Unknown error while parsing. This is a bug.
Please contact the Development team.
at org.drools.compiler.DrlParser.compile(DrlParser.java:180)
at org.drools.compiler.DrlParser.parse(DrlParser.java:61)
at org.drools.compiler.PackageBuilder.addPackageFromDrl(PackageBuilder.java:158)
Updated to 4.0.2 still getting teh same error:
this condition works fine: exists (MerchandiseHierarchyBO(groupID not matches
"[0-9]*") from $merchList);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira