Asset API Code Worked In Management/Testing/Development Environment But Throws Exception In Delivery Environment (Doc ID 1512885.1)

Last updated on JANUARY 03, 2016

Applies to:

Oracle WebCenter Sites - Version 7.5.3 to 7.6.2 [Release FatWire]
Information in this document applies to any platform.

Symptoms

Asset api code is not working on a Delivery installation of WebCenter Sites.

The code works fine in a Development install of WebCenter Sites.

The following stacktrace is seen in the logs:

java.lang.NullPointerException
  at com.openmarket.gator.flexfilters.FlexFilterInstance.describeDerivedAttributes(y:355)
  at com.openmarket.gator.flexfilters.FlexFilterManager.getFilterInfo(y:2541)
  at com.openmarket.gator.common.TemplateFilters.getDerivedInfo(y:2493)
  at com.openmarket.gator.flextemplates.FlexTemplateManager.getDerivedInfo(y:2147)
  at com.openmarket.gator.flexassets.FlexAssetManager.getDerivedInfo(y:903)
  at com.openmarket.gator.common.BaseFlexManager.getAttributesDefinitions(y:1438)
  at com.openmarket.gator.flexassets.FlexAssetManager.getAttributesDefinitions(y:2083)
  at com.openmarket.assetframework.complexasset.AssetManager.getAttributeDefs(y:2843)
  at com.fatwire.assetapi.def.AssetTypeDefManagerImpl.findByName(AssetTypeDefManagerImpl.java:94)
  .
  .
  .

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