Policy is not attached to request in CA Service Catalog 17.1

Document ID : KB000106353
Last Modified Date : 24/07/2018
Show Technical Document Details
Issue:
Service Catalog request Stuck in submit status because the policy is not attached

Error in view.log:

ERROR [Rule Action Executor-5] [PolicyEvaluationEngine] Error in evaluation of policyjava.lang.NullPointerException
java.lang.NullPointerException
at com.ca.usm.datasource.DBJDBC.getJDBCCatalog(DBJDBC.java:279)
at com.ca.usm.datasource.DBJDBC.getPrimaryKeys(DBJDBC.java:335)
at com.ca.usm.datasource.DBSource.getPrimaryKeys(DBSource.java:877)
at com.ca.usm.datasource.DBSource.newObject(DBSource.java:1539)
at com.ca.usm.datasource.CommonDB.newObject(CommonDB.java:294)
at com.ca.usm.datasource.DBSource.doSelect(DBSource.java:1407)
at com.ca.usm.datasource.DBSource.doSelect(DBSource.java:1378)
at com.ca.usm.datasource.DBSource.doSelect(DBSource.java:1372)
at com.ca.usm.datasource.DBSource.executeQuery(DBSource.java:1052)
at com.ca.usm.datasource.DBSource.executeQuery(DBSource.java:1030)
at com.ca.usm.datasource.DBSource.executeQuery(DBSource.java:1012)
at com.ca.usm.domain.catalog.service.ServiceOptionHelper.findServiceOptionIdByRPItemIDIgnoreStatus(ServiceOptionHelper.java:181)
at com.ca.usm.domain.catalog.service.ServiceOptionHelper.findPoliciesByRatePlanItemIDs(ServiceOptionHelper.java:225)
at com.ca.usm.policy.engine.PolicyEvaluationEngine.getLocalPoliciesForRequestSubscription(PolicyEvaluationEngine.java:151)
at com.ca.usm.policy.engine.PolicyEvaluationEngine.matchPolicy(PolicyEvaluationEngine.java:103)
at com.ca.usm.policy.PolicyAssignment.assignPolicyBasedPendingActions(PolicyAssignment.java:110)
at com.ca.usm.policy.PolicyDrivenCompletion.evaluateRequest(PolicyDrivenCompletion.java:40)
at com.ca.usm.ruleEngine.action.PolicyRuleAction.run(PolicyRuleAction.java:67)
at com.ca.usm.ruleEngine.receiver.RuleActionExecutor.executeAction(RuleActionExecutor.java:60)
at com.ca.usm.ruleEngine.receiver.RuleActionExecutor.run(RuleActionExecutor.java:30)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
2018/07/13 10.37.53.412 ERROR [Rule Action Executor-5] [PolicyAssignment] assignPendingActions
java.lang.NullPointerException
at com.ca.usm.policy.PolicyAssignment.assignPolicyBasedPendingActions(PolicyAssignment.java:115)
at com.ca.usm.policy.PolicyDrivenCompletion.evaluateRequest(PolicyDrivenCompletion.java:40)
at com.ca.usm.ruleEngine.action.PolicyRuleAction.run(PolicyRuleAction.java:67)
at com.ca.usm.ruleEngine.receiver.RuleActionExecutor.executeAction(RuleActionExecutor.java:60)
at com.ca.usm.ruleEngine.receiver.RuleActionExecutor.run(RuleActionExecutor.java:30)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

ERROR [Rule Action Executor-5] [RuleActionExecutor] Exception while executing action:BILL_CHANGE_POLICY_ALL_SUBMIT
java.lang.Exception: Exception occurred in evaluatePolicies()
at com.ca.usm.policy.PolicyAssignment.assignPolicyBasedPendingActions(PolicyAssignment.java:223)
at com.ca.usm.policy.PolicyDrivenCompletion.evaluateRequest(PolicyDrivenCompletion.java:40)
at com.ca.usm.ruleEngine.action.PolicyRuleAction.run(PolicyRuleAction.java:67)
Environment:
Service Catalog 17.1 GA
Cause:
Defect with Service Catalog 17.1
Resolution:
This is a known defect with the application and there is a test fix available. Please submit a ticket with Support to get the fix.

To submit a ticket with Support, click here.