java.io.IOException: Unrecognized file (file extension doesn't match)

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Create ImageMosaic of NetCDF in Geoserver2.8 throw error?

    Geographic Information Systems | 1 year ago | KangMing
    java.io.IOException: Unrecognized file (file extension doesn't match)

    Root Cause Analysis

    1. java.io.IOException

      Unrecognized file (file extension doesn't match)

      at org.geotools.gce.gtopo30.GTopo30Reader.<init>()
    2. org.geotools.gce
      GTopo30Format.accepts
      1. org.geotools.gce.gtopo30.GTopo30Reader.<init>(GTopo30Reader.java:231)
      2. org.geotools.gce.gtopo30.GTopo30Reader.<init>(GTopo30Reader.java:161)
      3. org.geotools.gce.gtopo30.GTopo30Format.accepts(GTopo30Format.java:177)
      3 frames
    3. org.geotools.coverage
      GridFormatFinder.findFormat
      1. org.geotools.coverage.grid.io.GridFormatFinder.findFormats(GridFormatFinder.java:188)
      2. org.geotools.coverage.grid.io.GridFormatFinder.findFormat(GridFormatFinder.java:236)
      2 frames
    4. org.geotools.gce
      CachingDataStoreGranuleCatalog$1.visit
      1. org.geotools.gce.imagemosaic.GranuleDescriptor.init(GranuleDescriptor.java:327)
      2. org.geotools.gce.imagemosaic.GranuleDescriptor.<init>(GranuleDescriptor.java:660)
      3. org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog$1.visit(CachingDataStoreGranuleCatalog.java:176)
      3 frames
    5. org.geotools.data
      ContentFeatureCollection.accepts
      1. org.geotools.data.store.ContentFeatureSource.accepts(ContentFeatureSource.java:802)
      2. org.geotools.data.store.ContentFeatureCollection.accepts(ContentFeatureCollection.java:129)
      2 frames
    6. org.geotools.gce
      ImageMosaicReader.read
      1. org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog.getGranuleDescriptors(CachingDataStoreGranuleCatalog.java:158)
      2. org.geotools.gce.imagemosaic.RasterManager.getGranuleDescriptors(RasterManager.java:1173)
      3. org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:1308)
      4. org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:1203)
      5. org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:1169)
      6. org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:1163)
      7. org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:871)
      8. org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:850)
      8 frames
    7. Main Module
      CoverageDimensionCustomizerReader.read
      1. org.geoserver.catalog.SingleGridCoverage2DReader.read(SingleGridCoverage2DReader.java:149)
      2. org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:229)
      3. org.geoserver.catalog.CoverageDimensionCustomizerReader.read(CoverageDimensionCustomizerReader.java:219)
      3 frames
    8. org.geotools.renderer
      GridCoverageRenderer.renderImage
      1. org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readSingleCoverage(GridCoverageReaderHelper.java:511)
      2. org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverageInEnvelope(GridCoverageReaderHelper.java:298)
      3. org.geotools.renderer.lite.gridcoverage2d.GridCoverageReaderHelper.readCoverages(GridCoverageReaderHelper.java:203)
      4. org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:800)
      5. org.geotools.renderer.lite.gridcoverage2d.GridCoverageRenderer.renderImage(GridCoverageRenderer.java:768)
      5 frames
    9. org.geoserver.wms
      DefaultWebMapService.getMap
      1. org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:947)
      2. org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:342)
      3. org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:259)
      4. org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:132)
      5. org.geoserver.wms.GetMap.executeInternal(GetMap.java:505)
      6. org.geoserver.wms.GetMap.run(GetMap.java:249)
      7. org.geoserver.wms.GetMap.run(GetMap.java:119)
      8. org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:320)
      8 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    11. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:319)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    12. org.geoserver.kml
      WebMapServiceKmlInterceptor.invoke
      1. org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)
      1 frame
    13. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    14. org.geoserver.gwc
      CacheSeedingWebMapService.invoke
      1. org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:62)
      2. org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:36)
      2 frames
    15. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    16. org.geoserver.gwc
      CachingWebMapService.invoke
      1. org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:80)
      2. org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:55)
      2 frames
    17. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    18. Open Web Service Module
      RequestObjectLogger.invoke
      1. org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55)
      1 frame
    19. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    20. com.sun.proxy
      $Proxy73.getMap
      1. com.sun.proxy.$Proxy73.getMap(Unknown Source)
      1 frame
    21. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    22. Open Web Service Module
      Dispatcher.handleRequestInternal
      1. org.geoserver.ows.Dispatcher.execute(Dispatcher.java:845)
      2. org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:275)
      2 frames
    23. Spring MVC
      FrameworkServlet.doGet
      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.doGet(FrameworkServlet.java:778)
      6 frames
    24. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    25. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:654)
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1320)
      2 frames
    26. org.geoserver.filters
      ThreadLocalsCleanupFilter.doFilter
      1. org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
      1 frame
    27. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    28. org.geoserver.filters
      SpringDelegatingFilter$Chain.doFilter
      1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
      1 frame
    29. org.geoserver.wms
      AnimatorFilter.doFilter
      1. org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
      1 frame
    30. 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
    31. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    32. Core Platform Module
      AdvancedDispatchFilter.doFilter
      1. org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
      1 frame
    33. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    34. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
      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
      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
    37. 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
    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
      ExceptionTranslationFilter.doFilter
      1. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      1 frame
    41. 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
    42. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    43. org.geoserver.security
      GeoServerAnonymousAuthenticationFilter.doFilter
      1. org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
      1 frame
    44. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    45. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    46. Spring Security
      BasicAuthenticationFilter.doFilter
      1. org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
      1 frame
    47. 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
    48. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    49. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    50. Spring Security
      SecurityContextPersistenceFilter.doFilter
      1. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      1 frame
    51. 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
    52. 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
    53. Main Module
      GeoServerSecurityFilterChainProxy.doFilter
      1. org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
      1 frame
    54. 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
    55. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    56. org.geoserver.filters
      LoggingFilter.doFilter
      1. org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
      1 frame
    57. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    58. org.geoserver.filters
      GZIPFilter.doFilter
      1. org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
      1 frame
    59. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    60. org.geoserver.filters
      SessionDebugFilter.doFilter
      1. org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
      1 frame
    61. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    62. org.geoserver.filters
      FlushSafeFilter.doFilter
      1. org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
      1 frame
    63. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    64. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      2 frames
    65. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:532)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      14. org.eclipse.jetty.server.Server.handle(Server.java:369)
      15. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486)
      16. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933)
      17. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995)
      18. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644)
      19. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      20. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      20 frames
    66. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      2 frames
    67. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    68. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame