Hi All
Starting a new thread for Precompile Error
I have drilled down some of the classes and method that are throwing ‘Failed to compile ruleflow ’ exception. Below are the details
1) My Class is calling the precompile method in the CcServerImpl Class.
2) Precompile method is calling compileRuleflowmethod in the CCServerUtils Class.
3) In the compileRuleflowmethod there is a condition which says that if ((IRuleflowModelAPI)lIModelAPI).isDeployable() returns false then it will throw an InvalidAssetException("Invalid Asset. Posted error messages attached to this asset.");
4) So I am not able to understand what needs to be done from the code side so that “Failed to compile Ruleflow” will not be thrown.
Note : I am able to generate .eds file through deployment console. Not sure why I am not able to do it via code.
Below is the Error detail and screenshot of deployment console
com.corticon.service.ccserver.exception.CcServerInvalidDecisionServiceException: Failed to compile Ruleflow.
Nested Message: com.corticon.eclipse.studio.rulebuilder.InvalidAssetException: Invalid Asset. Posted error messages attached to this asset.
Object state for: null: null
Object state for: com.corticon.eclipse.server.core.impl.CcServerImpl: com.corticon.eclipse.server.core.impl.CcServerImpl@7cd3f7a0
at com.corticon.eclipse.server.core.impl.CcServerImpl.precompileDecisionService(CcServerImpl.java:11970)
at com.CreateEDS.createNewEDS(CreateEDS.java:75)
at com.CreateEDS.main(CreateEDS.java:30)
Nested Exception is: com.corticon.eclipse.studio.rulebuilder.InvalidAssetException: Invalid Asset. Posted error messages attached to this asset.
Object state for: null: null
com.corticon.eclipse.studio.rulebuilder.InvalidAssetException: Invalid Asset. Posted error messages attached to this asset.
Object state for: null: null
at com.corticon.eclipse.server.core.CcServerUtils.compileRuleflow(CcServerUtils.java:301)
at com.corticon.eclipse.server.core.CcServerUtils.compileRuleflow(CcServerUtils.java:239)
at com.corticon.eclipse.server.core.impl.CcServerImpl.precompileDecisionService(CcServerImpl.java:11960)
at com.CreateEDS.createNewEDS(CreateEDS.java:75)
at com.CreateEDS.main(CreateEDS.java:30)
Christopher S. Hogan
Principal Systems Engineer |
||||
PHONE 646-201-4123 MOBILE 646-243-4282 www.progress.com |
Hi All
Starting a new thread for Precompile Error
I have drilled down some of the classes and method that are throwing ‘Failed to compile ruleflow ’ exception. Below are the details
1) My Class is calling the precompile method in the CcServerImpl Class.
2) Precompile method is calling compileRuleflowmethod in the CCServerUtils Class.
3) In the compileRuleflowmethod there is a condition which says that if ((IRuleflowModelAPI)lIModelAPI).isDeployable() returns false then it will throw an InvalidAssetException("Invalid Asset. Posted error messages attached to this asset.");
4) So I am not able to understand what needs to be done from the code side so that “Failed to compile Ruleflow” will not be thrown.
Note : I am able to generate .eds file through deployment console. Not sure why I am not able to do it via code.
Below is the Error detail and screenshot of deployment console
com.corticon.service.ccserver.exception.CcServerInvalidDecisionServiceException: Failed to compile Ruleflow.
Nested Message: com.corticon.eclipse.studio.rulebuilder.InvalidAssetException: Invalid Asset. Posted error messages attached to this asset.
Object state for: null: null
Object state for: com.corticon.eclipse.server.core.impl.CcServerImpl: com.corticon.eclipse.server.core.impl.CcServerImpl@7cd3f7a0
at com.corticon.eclipse.server.core.impl.CcServerImpl.precompileDecisionService(CcServerImpl.java:11970)
at com.CreateEDS.createNewEDS(CreateEDS.java:75)
at com.CreateEDS.main(CreateEDS.java:30)
Nested Exception is: com.corticon.eclipse.studio.rulebuilder.InvalidAssetException: Invalid Asset. Posted error messages attached to this asset.
Object state for: null: null
com.corticon.eclipse.studio.rulebuilder.InvalidAssetException: Invalid Asset. Posted error messages attached to this asset.
Object state for: null: null
at com.corticon.eclipse.server.core.CcServerUtils.compileRuleflow(CcServerUtils.java:301)
at com.corticon.eclipse.server.core.CcServerUtils.compileRuleflow(CcServerUtils.java:239)
at com.corticon.eclipse.server.core.impl.CcServerImpl.precompileDecisionService(CcServerImpl.java:11960)
at com.CreateEDS.createNewEDS(CreateEDS.java:75)
at com.CreateEDS.main(CreateEDS.java:30)
Flag this post as spam/abuse.