[
https://jira.jboss.org/jira/browse/JBIDE-4080?page=com.atlassian.jira.plu...
]
Kris Verlaenen resolved JBIDE-4080.
-----------------------------------
Resolution: Done
Made a distiction between an empty and an invalid rulebase
Internal error in Drools Plugin: is occured if empty rule.package is
opened on ReteTree tab.
---------------------------------------------------------------------------------------------
Key: JBIDE-4080
URL:
https://jira.jboss.org/jira/browse/JBIDE-4080
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.0.0.GA
Reporter: Anton Klimkovich
Assignee: Kris Verlaenen
Priority: Minor
Fix For: 3.1.0.M3
EXECUTE: Create new Guided Rule file
EXECUTE: Open rule.package on ReteTree tab.
FAILURE:
java.lang.Exception: Unable to parse rules to show RETE view!
at org.drools.eclipse.editors.rete.ReteViewer.loadReteModel(ReteViewer.java:161)
at org.drools.eclipse.editors.DRLRuleEditor2$3.run(DRLRuleEditor2.java:244)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:1
java.lang.NullPointerException
at org.drools.common.AbstractRuleBase.addPackages(AbstractRuleBase.java:451)
at org.drools.reteoo.ReteooRuleBase.addPackage(ReteooRuleBase.java:481)
at org.drools.eclipse.editors.rete.ReteViewer.getRuleBase(ReteViewer.java:129)
at org.drools.eclipse.editors.rete.ReteViewer.loadReteModel(ReteViewer.java:159)
at org.drools.eclipse.editors.DRLRuleEditor2$3.run(DRLRuleEditor2.java:244)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira