com.fatwire.rest.ServiceException

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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1

  • via Oracle Community by Sarath.Dontireddy, 1 year ago
    Attribute ATTRIBUTE_NAME is required for AssetType XXXXXX and can not be null
  • Stack trace

    • com.fatwire.rest.ServiceException: Attribute ATTRIBUTE_NAME is required for AssetType XXXXXX and can not be null at com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:505) at com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:466) at com.fatwire.rest.resources.SiteTypeAssetResource.updateAsset(SiteTypeAssetResource.java:134) at sun.reflect.GeneratedMethodAccessor545.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:175) at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:208) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:75) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:115) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:67) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:775) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:740) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:731) at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:372) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:452) at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:633) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:192) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:602) at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:205) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:193) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: 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(FlexAssetDataWriteStrategy.java:207) at com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.getInstance(FlexAssetDataWriteStrategy.java:56) at com.fatwire.assetapi.data.BasicAssetDataWriteStrategy.getInstances(BasicAssetDataWriteStrategy.java:334) at com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.write(FlexAssetDataWriteStrategy.java:44) at com.fatwire.assetapi.data.AssetDataManagerImpl.update(AssetDataManagerImpl.java:255) at com.fatwire.assetapi.data.AssetDataManagerImpl.update(AssetDataManagerImpl.java:233) at com.fatwire.rest.service.impl.LocalAssetService.updateAsset(LocalAssetService.java:501) ... 41 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.