]
Chris Taylor updated JBRULES-975:
---------------------------------
Attachment: tests.drl
the drl file
XML parser doesn't extract fields
---------------------------------
Key: JBRULES-975
URL:
http://jira.jboss.com/jira/browse/JBRULES-975
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: xml
Affects Versions: 4.0.0.MR3
Environment: Windows XP, eclipse 3.2, java 1.6U1
Reporter: Chris Taylor
Assigned To: Mark Proctor
Attachments: tests.drl, xmltrying28515.xml
XML parser doesn't extracts fields correctly
http://rafb.net/p/Y6ZgbQ46.html
http://rafb.net/p/u8kUEC77.html
In these equivalent rules, the XML version fails to validate
java.lang.NullPointerException
java.lang.NullPointerException
java.lang.NullPointerException
org.drools.rule.InvalidRulePackage: Unable to create Field Extractor for
'inspAccaoOperacaoID' : [Rule name=ruleBestProductionOrderCreator,
agendaGroup=MAIN, salience=0, no-loop=false]
org.drools.RuntimeDroolsException: org.drools.RuntimeDroolsException:
java.lang.NullPointerExceptionUnable to create Field Extractor for
'inspAccaoOperacaoID' : [Rule name=Best Checker, agendaGroup=MAIN, salience=0,
no-loop=false]
org.drools.RuntimeDroolsException: org.drools.RuntimeDroolsException:
java.lang.NullPointerExceptionUnable to create Field Extractor for
'nonConformities' : [Rule name=ruleBestParametersChecker, agendaGroup=MAIN,
salience=-100, no-loop=false]
org.drools.RuntimeDroolsException: org.drools.RuntimeDroolsException:
java.lang.NullPointerExceptionRule Compilation error : [Rule
name=ruleBestParametersChecker, agendaGroup=MAIN, salience=-100, no-loop=false]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: