NullPointerException from <commercecontext:getrecommendations> tag
(Doc ID 1470999.1)
Last updated on SEPTEMBER 30, 2022
Applies to:
Oracle WebCenter Sites - Version 7.5.0 and laterInformation in this document applies to any platform.
Symptoms
The server throws a NullPointer exception when calling the tag <commercecontext:getrecommendations> for some Recommendation assets.
The exception looks like this:
[2012-06-26 18:25:59.530][CS][ERROR] Exception in doEndTag() in tag com.openmarket.gator.jsp.commercecontext.Getrecommendations in page 'some/page' in element 'some/element' errno: 0 errdetail: 0
java.lang.NullPointerException
at com.openmarket.gator.relationships.RelationshipManager.getSimpleRecommendations(y:1708)
at com.openmarket.gator.relationships.RelationshipManager.getRecommendations(y:1331)
at com.openmarket.gator.commercecontext.CommerceContext.getRecommendationsFromID(y:30)
at com.openmarket.gator.seed.CommerceContext.worker(y:2493)
at com.openmarket.basic.seed.BaseSeed.doEndTag(y:2998)
Cause
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
Symptoms |
Cause |
Solution |