My Oracle Support Banner

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 later
Information in this document applies to any platform.


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
       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)


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.