[rules-users] Eclipse plugin not compiling
Mark Proctor
mproctor at codehaus.org
Fri Aug 17 22:13:47 EDT 2007
Looked like it has a problem parsing the functions in your drl. Not sure
why this isn't showing up in the main drl error view though :(
Mark
Scott Reed wrote:
> Scott Reed's message received 8/17/2007 8:55 PM:
>> I am not getting notified of compiler errors in the Rule Editor, only
>> when I execute the rule engine. I am running Eclipse 3.2 and Drools
>> plugin 4.0.0. Any ideas what might be wrong or is this how it works now?
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
> There is nothing in the Eclipse log if I just save my edits, but if I
> switch to Rete View I see the following:
>
> !ENTRY org.drools.eclipse 4 120 2007-08-17 21:13:00.715
> !MESSAGE Internal error in Drools Plugin:
> !STACK 0
> org.drools.rule.InvalidRulePackage:
> org.drools.compiler.FunctionError at 131629
> at org.drools.rule.Package.checkValidity(Package.java:408)
> at
> org.drools.common.AbstractRuleBase.addPackage(AbstractRuleBase.java:288)
> 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)
>
>
> !ENTRY org.drools.eclipse 4 120 2007-08-17 21:13:00.715
> !MESSAGE Internal error in Drools Plugin:
> !STACK 0
> java.lang.Exception: Unable to parse rules to show RETE view!
> 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)
>
>
> !ENTRY org.drools.eclipse 4 120 2007-08-17 21:13:00.731
> !MESSAGE Internal error in Drools Plugin:
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at org.drools.eclipse.editors.DRLRuleEditor2$3.run(Unknown Source)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
>
> Caused by: java.lang.Exception: Unable to parse rules to show RETE view!
> at
> org.drools.eclipse.editors.rete.ReteViewer.loadReteModel(Unknown Source)
> ... 2 more
> Root exception:
> java.lang.Exception: Unable to parse rules to show RETE view!
> 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)
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
More information about the rules-users
mailing list