Error in compiling EDS

Posted by apoorvajoshi on 16-Dec-2013 03:17

Hi,

I am trying to compile my EDS file through deployConsole.bat. I get the following error on compilation :

Failed to pre-compile Ruleset: <My Ruleflow>
Cc|2013-12-16 14:40:01.591|Thread:AWT-EventQueue-0|Version: 5.3.2.0 -b5091(5.3.5091)|apojoshi|ERROR|com.corticon.eclipse.studio.deployment.swing.impl.CcDeploymentConsole|org.jdom.IllegalDataException: The data "null" is not legal for a JDOM attribute: A null is not a legal XML value.
at org.jdom.Attribute.setValue(Attribute.java:486)
at org.jdom.Attribute.<init>(Attribute.java:229)
at org.jdom.Attribute.<init>(Attribute.java:252)
at org.jdom.Element.setAttribute(Element.java:1109)
at com.corticon.eclipse.core.util.CcUtil.addChild(CcUtil.java:2703)
at com.corticon.eclipse.studio.rule.rulesheet.table.core.impl.RulesheetTableModelAPIImpl.processFilters(RulesheetTableModelAPIImpl.java:20839)
at com.corticon.eclipse.studio.rule.rulesheet.table.core.impl.RulesheetTableModelAPIImpl.createDefaultXmlReport(RulesheetTableModelAPIImpl.java:20793)
at com.corticon.eclipse.studio.rule.ruleflow.core.impl.RuleflowModelAPIImpl.createDefaultXmlReport(RuleflowModelAPIImpl.java:1321)
at com.corticon.eclipse.server.core.CcServerUtils.createAndCopyReportToReportDirectory(CcServerUtils.java:1081)
at com.corticon.eclipse.server.core.CcServerUtils.compileRuleflow(CcServerUtils.java:726)
at com.corticon.eclipse.server.core.CcServerUtils.compileRuleflow(CcServerUtils.java:236)
at com.corticon.eclipse.studio.deployment.swing.impl.CcDeploymentConsole.actionForPrecompileDecisionServices(CcDeploymentConsole.java:1288)
at com.corticon.eclipse.studio.deployment.swing.impl.CcDeploymentConsole$ActionButtonPrecompileDecisionServices.actionPerformedWithException(CcDeploymentConsole.java:4130)
at com.corticon.eclipse.studio.deployment.swing.impl.DeploymentAbstractAction.actionPerformed(DeploymentAbstractAction.java:34)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Failed to pre-compile Ruleset: <My Ruleflow>

How can I get to know what attribute is making it fail ?

Posted by Jan Krishnamurthy on 16-Dec-2013 12:32

a] Do you have empty lines in the preconditions/filter section of the rules ?

If you do please remove  them and then pre-compile to see if the compile is successful.

Or

b] A similar exception was fixed/ addressed  in Corticon version 5.3.3 caused by empty lines in precondition/filter section. Please upgrade to Corticon version 5.3.3 to see if the issue is resolved.

All Replies

Posted by Jan Krishnamurthy on 16-Dec-2013 12:32

a] Do you have empty lines in the preconditions/filter section of the rules ?

If you do please remove  them and then pre-compile to see if the compile is successful.

Or

b] A similar exception was fixed/ addressed  in Corticon version 5.3.3 caused by empty lines in precondition/filter section. Please upgrade to Corticon version 5.3.3 to see if the issue is resolved.

This thread is closed