[jboss-jira] [JBoss JIRA] Created: (JBRULES-1181) Unknown error while parsing. This is a bug. Please contact the Development team.

Ramses Gomez (JIRA) jira-events at lists.jboss.org
Tue Sep 11 19:05:11 EDT 2007


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: Mark Proctor


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)


-- 
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

        



More information about the jboss-jira mailing list