com.fatwire.rest.ServiceException: Attribute ATTRIBUTE_NAME is required for AssetType XXXXXX and can not be null

Oracle Community | Sarath.Dontireddy | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    REST API : Update Flex asset

    Oracle Community | 3 years ago | Sarath.Dontireddy
    com.fatwire.rest.ServiceException: Attribute ATTRIBUTE_NAME is required for AssetType XXXXXX and can not be null
  2. 0

    Update() function of "AssetDataManager" class is throwing "AssetAccessException"

    Oracle Community | 2 years ago | Kinjal Gala
    com.fatwire.assetapi.common.AssetAccessException: Error met whiling saving assets [CMSFuelData_C:1332262981697] and the error number is -3

    Root Cause Analysis

    1. com.fatwire.assetapi.common.AssetAccessException

      Attribute ATTRIBUTE_NAME is required for AssetType XXXXXX and can not be null

      at com.fatwire.assetapi.data.FlexAssetDataWriteStrategy._populateAttributes()
    2. com.fatwire.assetapi
      AssetDataManagerImpl.update
      1. com.fatwire.assetapi.data.FlexAssetDataWriteStrategy._populateAttributes(FlexAssetDataWriteStrategy.java:207)
      2. com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.getInstance(FlexAssetDataWriteStrategy.java:56)
      3. com.fatwire.assetapi.data.BasicAssetDataWriteStrategy.getInstances(BasicAssetDataWriteStrategy.java:334)
      4. com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.write(FlexAssetDataWriteStrategy.java:44)
      5. com.fatwire.assetapi.data.AssetDataManagerImpl.update(AssetDataManagerImpl.java:255)
      6. com.fatwire.assetapi.data.AssetDataManagerImpl.update(AssetDataManagerImpl.java:233)
      6 frames
    3. com.fatwire.rest
      SiteTypeAssetResource.updateAsset
      1. com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:501)
      2. com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:466)
      3. com.fatwire.rest.resources.SiteTypeAssetResource.updateAsset(SiteTypeAssetResource.java:134)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor545.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175)
      2. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67)
      3. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:208)
      4. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:75)
      5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:115)
      6. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:67)
      7. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:775)
      8. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:740)
      9. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:731)
      9 frames
    6. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:372)
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:452)
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:633)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    8. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    9. com.fatwire.auth
      RequestAuthenticationFilter.doFilter
      1. com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:192)
      1 frame
    10. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      2 frames
    11. com.fatwire.wem
      SSOFilter.doFilter
      1. com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:602)
      2. com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
      2 frames
    12. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:205)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      8. org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:193)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      10 frames
    13. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      3 frames
    14. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:744)
      3 frames