My Oracle Support Banner

Pin_cmt Issue For Profile Class Extension (Doc ID 2055533.1)

Last updated on AUGUST 06, 2018

Applies to:

Oracle Communications Billing and Revenue Management - Version to [Release 7.5.0]
Information in this document applies to any platform.


For custom class, the user has two fields: DEBTOR_ID and USER_NAME.

The user needs to load via pin_cmt these values under account level profile and service level profile:
While loading under service level profile, it is required to have Debtor_id as null and User_name should be populated.
While loading under account level, it is required to have user_name as null and debtor_id should be populated.

But its not working as expected, here are the test cases in details:

Case A. 

For account level,
pass DEBTOR_ID value and not pass USER_NAME tag at all, e.g: 

<Debtorid type="string">I0201612_test28</Debtorid>

For service level, not pass DEBTOR_ID tag and passed USER_NAME value, e.g: 

<UserNam type="string">ABCD DEE</UserNam>

Expected results:
Service level DEBTOR_ID get updated with null and USER_NAME should updated with value passed via xml.

Actually results:
account level DEBTOR_ID value get populated correctly and USER_NAME with null -> So no issue here.
Service level DEBTOR_ID get updated with UserNam value and USER_NAME with null -> This is the issue.

Case B.

Pass empty tag.

For account level, pass DEBTOR_ID value pass empty USER_NAME tag, e.g:

<Debtorid type="string">I0201612_test28</Debtorid>

For service level, pass empty DEBTOR_ID tag and passe USER_NAME value, e.g:

<UserNam type="string">CHEYNE DU1</UserNam>

Expected results:
CMT should not give the error and create object with null for the tag which is not passed in xml file.

Actually results:
java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key PurPrd.PrSta.1
        at java.util.ResourceBundle.getObject(
        at java.util.ResourceBundle.getString(
        at com.portal.cmt.Config.getEnumValue(Unknown Source)
        at com.portal.cmt.CMTCreateObjects.createPurchasedProductObject(Unknown Source)
        at com.portal.cmt.CMTCreateObjects.checkElementState(Unknown Source)
        at com.portal.cmt.CMTXMLParser.characters(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.characters(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.portal.cmt.CMTXMLParser.parse(Unknown Source)
        at com.portal.cmt.Driver.executeImport(Unknown Source)
        at com.portal.cmt.Driver.execute(Unknown Source)
        at com.portal.cmt.Cmt.main(Unknown Source)
Exception in thread "Thread-1" java.lang.NullPointerException
        at com.portal.cmt.ExtensionFileWriter.createMySubstructFiles(Unknown Source)
        at com.portal.cmt.ExtensionFileWriter.createExtensions(Unknown Source)
        at com.portal.cmt.ProfilesFileWriter.createServiceProfileT(Unknown Source)
        at com.portal.cmt.ProfilesFileWriter.createServiceProfiles(Unknown Source)
        at com.portal.cmt.SubscriberFileWriter.createServiceT(Unknown Source)
        at com.portal.cmt.SubscriberFileWriter.createAccountServices(Unknown Source)
        at com.portal.cmt.SubscriberFileWriter.createSubscriberDatFiles(Unknown Source)
        at Source)
        at Source)



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.