Pin_cmt Issue For Profile Class Extension (Doc ID 2055533.1)

Last updated on OCTOBER 13, 2015

Applies to:

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

Goal

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>
<UserNam></UserNam>

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

<Debtor_id></Debtor_id>
<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(ResourceBundle.java:374)
        at java.util.ResourceBundle.getString(ResourceBundle.java:334)
        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 com.portal.cmt.SubscriberFileWriter.run(Unknown Source)
        at com.portal.cmt.WorkerThread.run(Unknown Source)



 

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms