The exception:
!ENTRY org.drools.eclipse 4 120 2007-07-16 15:42:24.795
!MESSAGE Internal error in Drools Plugin:
!STACK 0
java.lang.UnsupportedOperationException: Trying to create a restriction for an empty restriction list
at org.drools.rule.builder.PatternBuilder.createRestriction(PatternBuilder.java:348)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:248)
at org.drools.rule.builder.PatternBuilder.buildConstraint(PatternBuilder.java:164)
at org.drools.rule.builder.PatternBuilder.build(PatternBuilder.java:145)
at org.drools.rule.builder.GroupElementBuilder.build(GroupElementBuilder.java:79)
at org.drools.rule.builder.RuleBuilder.build(RuleBuilder.java:53)
at org.drools.compiler.PackageBuilder.addRule(PackageBuilder.java:390)
at org.drools.compiler.PackageBuilder.addPackage(PackageBuilder.java:264)
at org.drools.eclipse.DroolsEclipsePlugin.generateParsedResource(Unknown Source)
at org.drools.eclipse.DroolsEclipsePlugin.parseResource(Unknown Source)
at org.drools.eclipse.editors.rete.ReteViewer.getRuleBase(Unknown Source)
at org.drools.eclipse.editors.rete.ReteViewer.loadReteModel(Unknown Source)
at org.drools.eclipse.editors.DRLRuleEditor2$3.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
I am getting the following error and I have no way of trackign down where it is occurring and how to correct it:
Severity and Description Path Resource Location Creation Time Id
Trying to create a restriction for an empty restriction list RtvDecisionEngine/src/rules/com/circuitcity/rtvcrms/rules rtv.drl Unknown 1184614547431 82053