[rules-users] Eclipse plugin not compiling

Scott Reed sreed at spamcop.net
Fri Aug 17 21:16:01 EDT 2007


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)



More information about the rules-users mailing list