My Oracle Support Banner

CSDT throws NullPointerException when exporting a flex family with multiple branches (Doc ID 1514515.1)

Last updated on MARCH 07, 2019

Applies to:

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

Symptoms

When exporting a flex family with multiple branches using CSDT, the export fails with NullPointerException:

Caused by: java.lang.NullPointerException
at com.fatwire.assetapi.util.AssetUtil.getFlexFamilyTypes(AssetUtil.java:442) 
at com.fatwire.realtime.packager.SerializerDependencyFilter._addAssetTypeDep(y:2070)

An example of a flex family with multiple branches:

support_A
- support_PD
  - support_CD
     - support_P
        - support_C
     - 2ndsupport_P
        - 2ndsupport_C
support_F

In this flex family you can see two branches at the parent level - support_P and 2ndsupport_P.

 

NOTE:

If you branch out at parent level, you need a secondary child (e.g. 2ndsupport_C) as well in order to complete the branch/flex family.

If you branch out at parent level with no child member under it, it is considered as incomplete flex family for whole product.

Certain components might be more forgiving but incomplete flex families are not supported - it's missing an essential member.

Changes

 

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
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.