Exception during CSDT export: Attribute {attribute} is required for AssetType {asset type} and can not be null (Doc ID 1509091.1)

Last updated on JUNE 29, 2017

Applies to:

Oracle WebCenter Sites - Version 7.6.2 and later
Information in this document applies to any platform.

Symptoms

When exporting assets with the Developer Tools (CSDT), the following exception is seen in the logs:

[2012-11-29 11:38:45,487 CST] [INFO ] [http-18080-7] [com.fatwire.csdt] SKIPPING dependency TestAsset_D:1352086354192 since already exported.
[2012-11-29 11:38:45,490 CST] [INFO ] [http-18080-7] [com.fatwire.csdt] SKIPPING dependency @ASSET_TYPE:TestAsset_C since already exported.
[2012-11-29 11:38:45,502 CST] [INFO ] [http-18080-7] [com.fatwire.csdt] Exporting ASSETDATA TestAsset_C:1352086355601 (batch 1354159933520)
[2012-11-29 11:38:45,512 CST] [INFO ] [http-18080-7] [com.fatwire.csdt] com.fatwire.cs.core.realtime.DataException: com.fatwire.cs.core.realtime.DataException: com.fatwire.assetapi.common.AssetAccessException: Attribute newRequiredAttribute is required for AssetType TestAsset_C and can not be null
  at com.fatwire.realtime.packager.SerializerDependencyFilter._ensureDeps(SerializerDependencyFilter.java:337)
  at com.fatwire.realtime.packager.SerializerDependencyFilter._getDependencyStorable(SerializerDependencyFilter.java:74)
  at com.fatwire.realtime.packager.SerializerDependencyFilter.execute(SerializerDependencyFilter.java:68)
  at com.fatwire.realtime.packager.CSDTUtil._export(CSDTUtil.java:132)
  at com.fatwire.realtime.packager.CSDTUtil.Export(CSDTUtil.java:74)
  at com.fatwire.csdt.service.impl.ExportService._export(ExportService.java:123)
  at com.fatwire.csdt.service.impl.ExportService.execute(ExportService.java:45)
  at org.apache.jsp.jsp.cs_005fdeployed.OpenMarket.Xcelerate.PrologActions.Publish.csdt.CSDTService_jsp._jspService(CSDTService_jsp.java:180)

  ...

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