Guest

Preview Tool

Cisco Bug: CSCvs04760 - NullPointerException for certain type of ProvisionServiceRequest

Last Modified

Jan 24, 2020

Products (1)

  • Cisco Policy Suite for Mobile

Known Affected Releases

19.3.0

Description (partial)

Symptom:
qns02-2  qns02-2 2019-11-11 22:31:34,591 [pool-3-thread-1] ERROR c.b.policy.impl.RulesPolicyService - An error occured while processing a Sync Policy Action.                                                                                │
java.lang.NullPointerException: null                                                                                                                                                                                                         │
        at com.broadhop.cache.mongodb.MongoCache.querySessionCacheOne(MongoCache.java:1098)                                                                                                                                                  │
        at com.broadhop.cache.mongodb.MongoCache.getByUniqueSecondaryKey(MongoCache.java:1043)                                                                                                                                               │
        at com.broadhop.cache.impl.actions.GetSessionAction.getEntryNoRetry(GetSessionAction.java:240)                                                                                                                                       │
        at com.broadhop.cache.impl.actions.GetSessionAction.getEntry(GetSessionAction.java:219)                                                                                                                                              │
        at com.broadhop.cache.impl.actions.GetSessionAction.getCacheEntry(GetSessionAction.java:194)                                                                                                                                         │
        at com.broadhop.cache.impl.actions.GetSessionAction.execute(GetSessionAction.java:82)                                                                                                                                                │
        at com.broadhop.policy.impl.RulesPolicyService.processSyncAction(RulesPolicyService.java:1104)                                                                                                                                       │
        at com.broadhop.policy.impl.RulesPolicyService.processAction(RulesPolicyService.java:1777)                                                                                                                                           │
        at com.broadhop.blueprint.master.MasterBlueprint.executeAction(MasterBlueprint.java:1322)                                                                                                                                            │
        at com.broadhop.blueprint.master.MasterBlueprint.loadPrimaryKey(MasterBlueprint.java:1034)                                                                                                                                           │
        at com.broadhop.blueprint.master.MasterBlueprint.executionPreSession2(MasterBlueprint.java:244)                                                                                                                                      │
        at com.broadhop.policy.Rule_Execute_Presession_Phase_2__51a89e9a_e6e6_4ce2_bf55_f2fe358d9dd3__e4BawWmREeKEu46lGH_XOQ__0.consequence(Unknown Source)                                                                                  │
        at com.broadhop.policy.Rule_Execute_Presession_Phase_2__51a89e9a_e6e6_4ce2_bf55_f2fe358d9dd3__e4BawWmREeKEu46lGH_XOQ__0ConsequenceInvoker.evaluate(Unknown Source)                                                                   │
        at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:554)                                                                                                                                                            │
        at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:518)                                                                                                                                                              │
        at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:475)                                                                                                                                              │
        at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:439)                                                                                                                                              │
        at com.broadhop.policy.impl.RulesPolicyService.internalProcessRules(RulesPolicyService.java:693)                                                                                                                                     │
        at com.broadhop.policy.impl.RulesPolicyService.process(RulesPolicyService.java:352)                                                                                                                                                  │
        at com.broadhop.policy.impl.RulesPolicyService$PolicyExecutionRunnable.run(RulesPolicyService.java:1530)                                                                                                                             │
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)                                                                                                                                                           │
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)                                                                                                                                                                          │
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)                                                                                                                                                   │
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)                                                                                                                                                   │
        at java.lang.Thread.run(Thread.java:745)

Conditions:
API request which causes the issue:

Frame 14: 1280 bytes on wire (10240 bits), 1280 bytes captured (10240 bits)
Linux cooked capture
Internet Protocol Version 4, Src: 10.41.7.88, Dst: 10.41.7.34
Transmission Control Protocol, Src Port: 55604, Dst Port: 8080, Seq: 1, Ack: 1, Len: 1212
Hypertext Transfer Protocol
eXtensible Markup Language
    <soapenv:Envelope
        <soapenv:Header/>
        <soapenv:Body>
            <typ:ProvisionServiceRequest>
                <typ:networkId>
                    250205566778899
                    </typ:networkId>
                <typ:service>
                    <typ:code>
                        5037
                        </typ:code>
                    <typ:enabled>
                        true
                        </typ:enabled>
                    </typ:service>
                <typ:service>
                    <typ:code>
                        3715
                        </typ:code>
                    <typ:enabled>
                        true
                        </typ:enabled>
                    </typ:service>
                <typ:service>
                    <typ:code>
                        Group4_B_B
                        </typ:code>
                    <typ:enabled>
                        true
                        </typ:enabled>
                    </typ:service>
                <typ:balance>
                    <typ:code>
                        Group4
                        </typ:code>
                    <typ:quotaCode>
                        RQ_7Gb_3d_R_1044
                        </typ:quotaCode>
                    <typ:initialAmount>
                        777000333
                        </typ:initialAmount>
                    </typ:balance>
                </typ:ProvisionServiceRequest>
            </soapenv:Body>
        </soapenv:Envelope>
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.