com.fatwire.cos.ex.CoSServerException: com.fatwire.cos.ex.CoSServerException: REST query failed

Oracle Community | Nelash Jindal | 4 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

    Getting Rest Query failed error.

    Oracle Community | 4 years ago | Nelash Jindal
    com.fatwire.cos.ex.CoSServerException: com.fatwire.cos.ex.CoSServerException: REST query failed

    Root Cause Analysis

    1. com.fatwire.cos.ex.CoSServerException

      REST query failed

      at com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execREST()
    2. com.fatwire.cos
      RecordManager.countRecords
      1. com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execREST(WemCommandManager.java:356)
      2. com.fatwire.cos.core.jpa.cmd.wem.WemCommandManager.execGET(WemCommandManager.java:192)
      3. com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.findResult(WemCountQueryCommand.java:79)
      4. com.fatwire.cos.core.jpa.cmd.wem.WemCountQueryCommand.executeSingle(WemCountQueryCommand.java:68)
      5. com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
      6. com.fatwire.cos.core.jpa.query.CoSJpaQuery.getSingleResult(CoSJpaQuery.java:156)
      7. com.fatwire.cos.records.RecordManager.countRecords(RecordManager.java:462)
      7 frames
    3. com.fatwire.wsdk
      RecordListReadProcessor.process
      1. com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.calculatePageNo(RecordListReadProcessor.java:229)
      2. com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.getPageNo(RecordListReadProcessor.java:186)
      3. com.fatwire.wsdk.cos.records.processors.feed.RecordListReadProcessor.process(RecordListReadProcessor.java:62)
      3 frames
    4. com.fatwire.cos
      MonitoredMethodInterceptor.invoke
      1. com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
      1 frame
    5. com.fatwire.wsdk
      PipelineImpl.execute
      1. com.fatwire.wsdk.pipeline.impl.PipelineImpl.execute(PipelineImpl.java:60)
      1 frame
    6. com.fatwire.cos
      MonitoredMethodInterceptor.invoke
      1. com.fatwire.cos.core.monitor.MonitoredMethodInterceptor.invoke(MonitoredMethodInterceptor.java:68)
      1 frame
    7. com.fatwire.wsdk
      WidgetSDKResource.executeWidgetMethod
      1. com.fatwire.wsdk.rest.WidgetSDKResource.executeWidgetMethod(WidgetSDKResource.java:183)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
      2. com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
      3. com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
      4. com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
      5. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      6. com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
      7. com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
      8. com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
      9. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
      10. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
      11. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
      12. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
      12 frames
    10. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
      3 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      1 frame
    12. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
      2. com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
      3. com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
      4. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
      5. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      6. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      7. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      8. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      9. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      10. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      11. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      12. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      13. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      14. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      15. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      16. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      17. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      18. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      19. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      20. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      21. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      22. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      23. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      24. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      25. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      26. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      27. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      28. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      29. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      30. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      31. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      32. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      33. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      34. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      35. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      36. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      37. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      38. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      39. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
      40. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      40 frames
    13. com.fatwire.cos
      RestFilter.doFilter
      1. com.fatwire.cos.comments.service.filters.RestFilter.doFilter(RestFilter.java:141)
      1 frame
    14. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      2 frames
    15. com.fatwire.cos
      ResourceFilter.doFilter
      1. com.fatwire.cos.core.i18n.ResourceFilter.doFilter(ResourceFilter.java:45)
      1 frame
    16. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      2 frames
    17. com.fatwire.cos
      SSOContextFilter.doFilter
      1. com.fatwire.cos.core.sso.SSOContextFilter.doFilter(SSOContextFilter.java:64)
      1 frame
    18. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      2 frames
    19. com.fatwire.wem
      SSOFilter.doFilter
      1. com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:219)
      2. com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
      2 frames
    20. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      2 frames
    21. com.fatwire.cos
      GeneralPreparationsFilter.doFilter
      1. com.fatwire.cos.core.sso.GeneralPreparationsFilter.doFilter(GeneralPreparationsFilter.java:68)
      1 frame
    22. Guice - Servlet
      FilterChainInvocation.doFilter
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      2 frames
    23. com.fatwire.cos
      StartupGuardFilter.doFilter
      1. com.fatwire.cos.core.util.web.StartupGuardFilter.doFilter(StartupGuardFilter.java:42)
      1 frame
    24. Guice - Servlet
      GuiceFilter.doFilter
      1. com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
      2. com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
      3. com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
      4. com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
      4 frames
    25. 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:222)
      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:168)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
      10 frames
    26. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      3 frames
    27. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames