org.geoserver.rest.RestletException: java.lang.UnsupportedOperationException

Stack Overflow | santoshM | 6 months 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

    Geoserver - elasticsearch layer is not created

    Stack Overflow | 6 months ago | santoshM
    org.geoserver.rest.RestletException: java.lang.UnsupportedOperationException

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      No message provided

      at org.geotools.data.store.ContentDataStore.createSchema()
    2. org.geotools.data
      ContentDataStore.createSchema
      1. org.geotools.data.store.ContentDataStore.createSchema(ContentDataStore.java:325)
      2. org.geotools.data.store.ContentDataStore.createSchema(ContentDataStore.java:103)
      2 frames
    3. org.geoserver.catalog
      FeatureTypeResource.handleObjectPost
      1. org.geoserver.catalog.rest.FeatureTypeResource.handleObjectPost(FeatureTypeResource.java:137)
      1 frame
    4. org.geoserver.rest
      ReflectiveResource.handlePost
      1. org.geoserver.rest.ReflectiveResource.handlePost(ReflectiveResource.java:121)
      1 frame
    5. org.restlet
      Finder.handle
      1. org.restlet.Finder.handle(Finder.java:296)
      1 frame
    6. org.geoserver.rest
      BeanDelegatingRestlet.handle
      1. org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:38)
      1 frame
    7. org.restlet
      Router.handle
      1. org.restlet.Filter.doHandle(Filter.java:105)
      2. org.restlet.Filter.handle(Filter.java:134)
      3. org.restlet.Router.handle(Router.java:444)
      3 frames
    8. org.geoserver.rest
      RESTDispatcher$1.handle
      1. org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:205)
      1 frame
    9. com.noelios.restlet
      ServletConverter.service
      1. com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129)
      1 frame
    10. org.geoserver.rest
      RESTDispatcher.handleRequestInternal
      1. org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:87)
      1 frame
    11. Spring MVC
      FrameworkServlet.doPost
      1. org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
      2. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
      3. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
      4. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
      5. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
      6. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
      6 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      2 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    14. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    16. org.geoserver.filters
      ThreadLocalsCleanupFilter.doFilter
      1. org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
      1 frame
    17. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    18. org.geoserver.filters
      SpringDelegatingFilter$Chain.doFilter
      1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
      1 frame
    19. org.geoserver.wms
      AnimatorFilter.doFilter
      1. org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
      1 frame
    20. org.geoserver.filters
      SpringDelegatingFilter.doFilter
      1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
      2. org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
      2 frames
    21. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    22. Core Platform Module
      AdvancedDispatchFilter.doFilter
      1. org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
      1 frame
    23. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    24. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
      1 frame
    25. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    26. Spring Security
      FilterSecurityInterceptor.doFilter
      1. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
      2. org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
      2 frames
    27. org.geoserver.security
      GeoServerCompositeFilter.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      2 frames
    28. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    29. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    30. Spring Security
      ExceptionTranslationFilter.doFilter
      1. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      1 frame
    31. org.geoserver.security
      GeoServerCompositeFilter.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      2 frames
    32. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    33. org.geoserver.security
      GeoServerAnonymousAuthenticationFilter.doFilter
      1. org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
      1 frame
    34. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    35. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    36. Spring Security
      BasicAuthenticationFilter.doFilter
      1. org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:201)
      1 frame
    37. org.geoserver.security
      GeoServerBasicAuthenticationFilter.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      2. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      3. org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
      3 frames
    38. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    39. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    40. Spring Security
      SecurityContextPersistenceFilter.doFilter
      1. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      1 frame
    41. org.geoserver.security
      GeoServerCompositeFilter.doFilter
      1. org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
      2. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      3. org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      3 frames
    42. Spring Security
      FilterChainProxy.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      2. org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
      2 frames
    43. Main Module
      GeoServerSecurityFilterChainProxy.doFilter
      1. org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
      1 frame
    44. Spring
      DelegatingFilterProxy.doFilter
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      2. org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
      2 frames
    45. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    46. org.geoserver.filters
      LoggingFilter.doFilter
      1. org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:83)
      1 frame
    47. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    48. org.geoserver.filters
      GZIPFilter.doFilter
      1. org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
      1 frame
    49. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    50. org.geoserver.filters
      SessionDebugFilter.doFilter
      1. org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
      1 frame
    51. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    52. org.geoserver.filters
      FlushSafeFilter.doFilter
      1. org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
      1 frame
    53. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    54. Main Module
      SetCharacterEncodingFilter.doFilter
      1. org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
      1 frame
    55. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    56. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
      3 frames
    57. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    58. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    59. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame