Search Engine: Elastic

Article ID: 131767, created on Nov 14, 2017, last review on Nov 14, 2017

Symptoms

Customer has several subscriptions provisioned, data between OA and BA is consistent. However, these subscriptions are not displayed on CCPv2 subscriptions summary screen (CCPv2 > Account > Subscriptions). Message No data is shown instead.

In browser console one could fond the following failed request:

https://pcp.marketplacelab.a1.net/aps/2/resources/$UID_of_BA_resource/sm/subscriptions?and(sort(-subscriptionId),limit(0,40))

This very request could be found in core.log finished with 500 Internal Error and the following stack trace:

com.parallels.pa.service.bss.sm.ejb.SubscriptionManagementProxyBean.listSubscriptionsWithTaxesjavax.ejb.EJBException: Unreachable code
        at com.parallels.pa.service.bss.sm.domain.Subscription.getPlanPeriod(Subscription.java:407)
        at com.parallels.pa.service.bss.sm.rest.BssSubscription.<init>(BssSubscription.java:205)
        at com.parallels.pa.service.bss.sm.rest.BssSubscription.<init>(BssSubscription.java:233)
        at com.parallels.pa.service.bss.sm.ejb.SubscriptionManagementProxyBean.listSubscriptions(SubscriptionManagementProxyBean.java:570)
        at com.parallels.pa.service.bss.sm.ejb.SubscriptionManagementProxyBean.listSubscriptionsWithTaxes(SubscriptionManagementProxyBean.java:269)

Any of "Running" subscriptions could be obtained via the request:

https://localhost:6308//aps/2/resources/dfee9d16-a1b5-4d14-b2cb-928d9ea63a89/sm/subscriptions?eq(subscriptionId,1003109),limit(0,1)

Customer also has several subscriptions in "Terminated/Removed" status and they are not available with the query above.

Cause

One or several subscriptions have been created via BA API with predefined parameters of "Period" and "PediodType" which do not correspond with the values defined in their plan properties.

Resolution

Please contact Odin Technical Support in order to resolve the inconsistency.

Email subscription for changes to this article
Save as PDF