NullPointerException When Launching Configurator Runtime When Pricing is Turned ON, After Patch 18696335 (Doc ID 2226136.1)

Last updated on JANUARY 23, 2017

Applies to:

Oracle Configurator - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 12.1.3 version, Runtime UI

When attempting to launch a model through Order Management, the following error occurs. This began happening after the application of patch 18696335 when pricing is turned on. All models with pricing enabled are throwing this same exception.

ERROR
-----------------------
java.lang.NullPointerException
at java.lang.String.startsWith(String.java:1422)
at java.lang.String.startsWith(String.java:1451)
at oracle.apps.cz.cio.BomStdItem.isPlaceHolderItem(BomStdItem.java:65)
at oracle.apps.cz.cio.BomStdItem.getUomCode(BomStdItem.java:137)
at oracle.apps.cz.cio.Configuration.createMultPricingInputArray(Configuration.java:6617)
at oracle.apps.cz.cio.Configuration.calculateMultItemPrices(Configuration.java:6508)
at oracle.apps.cz.cio.Configuration.nonJava_calculateListPrices(Configuration.java:6063)
at oracle.apps.cz.cio.Configuration.calculateListPrices(Configuration.java:5909)
at oracle.apps.cz.cio.PriceDeltaValidator.updateValues(PriceDeltaValidator.java:169)
at oracle.apps.cz.cio.DeltaValidator.getUpdateMap(DeltaValidator.java:146)
at oracle.apps.cz.cio.DeltaRegion.getUpdateMap(DeltaRegion.java:326)
at oracle.apps.cz.service.CIOConfiguratorService.initializeSnapshotOrProcessDeltaChanges(CIOConfiguratorService.java:1590)
at oracle.apps.cz.service.CIOConfiguratorService.fetchModeldata(CIOConfiguratorService.java:1539)
at oracle.apps.cz.service.CIOConfiguratorService.processMessage(CIOConfiguratorService.java:215)
at oracle.apps.cz.service.ConfiguratorService.processMessage(ConfiguratorService.java:246)
at oracle.apps.cz.service.ConfiguratorServiceLocal.onMessage(ConfiguratorServiceLocal.java:26)
at oracle.apps.cz.runtime.PageController.postServiceMessage(PageController.java:564)
at oracle.apps.cz.runtime.PageController.fetchModelData(PageController.java:760)
at oracle.apps.cz.runtime.oa.server.CZApplicationModuleImpl.sendDataRequest(CZApplicationModuleImpl.java:1088)
at oracle.apps.cz.runtime.oa.server.CZApplicationModuleImpl.submitDataRequest(CZApplicationModuleImpl.java:1117)
at oracle.apps.cz.runtime.oa.webui.AbstractMainPageController.getModelData(AbstractMainPageController.java:641)
at oracle.apps.cz.runtime.oa.webui.AbstractMainPageController.loadPageStructure(AbstractMainPageController.java:2718)
at oracle.apps.cz.runtime.oa.webui.MainPageController.processRequest(MainPageController.java:69)
at oracle.apps.cz.runtime.oa.webui.BOMUIMainPageCO.processRequest(BOMUIMainPageCO.java:38)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1, Create any BOM model. Doesn't matter whether it has any placeholder leveraging OC or not. Say:
2. Test BOM Model
  |--Item1
3. Turn on CZ pricing profile options
4. Add some prices to the items
5. Launch the model from OM with correct price list. Error is thrown.


Cause

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