Need To Show Only Specific Categories In Store, As Per List Of Categories Linked To The Content Zone (Doc ID 1935255.1)

Last updated on OCTOBER 16, 2016

Applies to:

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

Symptoms

On : 12.1.3 version, Other issues

Need to show only specific Categories in Store, as per list of categories linked to the Content Zone

Need to show only specific Categories in Store, as per list of categories linked to Content Zone. I have already set the profile option POR: Display Shopping Category Count : Yes for this functionality to work.

But, after setting this profile if we click any store , it is showing Java Null Pointer Exception.
As per requested attached screenshot of Content Zone Setup with different categories and Navigation to iProcurement Home Page. Java error details is captured in another attachment.

When profile [ POR: Display Shopping Category Count = Yes ] get error / exception when clicking on any store.
When profile [ POR: Display Shopping Category Count = No ] users can click on any store and there is no error. However, with this profile setting the users see items from all categories rather than just the specific categories assigned to the content zone that is associated to the store.

EXPECTED BEHAVIOR
 Users expect to set profile [ POR: Display Shopping Category Count = Yes ] and then see items associated only to those categories specified in the Content Zone assigned to the Store they are searching.

 ERROR
 (When profile [ POR: Display Shopping Category Count = Yes ] and clicking on any store. OAF Error is coming.


ERROR
-----------------------
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.icx.icatalog.shopping.server.ShoppingAMImpl.populateCategoryDisplayVOWithCount(ShoppingAMImpl.java:4532)
at oracle.apps.icx.icatalog.shopping.server.ShoppingAMImpl.prepareSearchStorePage(ShoppingAMImpl.java:4044)
at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)




STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Click on any store and seeing the error message

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