My Oracle Support Banner

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

Last updated on MARCH 20, 2018

Applies to:

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


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( 
at com.fatwire.realtime.packager.SerializerDependencyFilter._addAssetTypeDep(y:2070)

An example of a flex family with multiple branches:

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

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



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.


To view full details, 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 a vibrant support community of peers and Oracle experts.