org.geotools.data.DataSourceException: Unable to connect

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

    Create ImageMosaic of NetCDF in Geoserver2.8 throw error?

    Geographic Information Systems | 1 year ago | KangMing
    org.geotools.data.DataSourceException: Unable to connect
  2. 0

    GeoServer / Mailing Lists

    sourceforge.net | 1 year ago
    org.geotools.data.DataSourceException: Unable to connect
  3. 0

    GeoServer / Mailing Lists

    sourceforge.net | 1 year ago
    org.geotools.data.DataSourceException: unable to connect to the specified source file:/home/henning/Downloads/wrf.nc
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors

    Root Cause Analysis

    1. org.geotools.data.DataSourceException

      Unable to connect

      at org.geotools.coverage.io.netcdf.NetCDFReader.<init>()
    2. org.geotools.coverage
      NetCDFFormat.getReader
      1. org.geotools.coverage.io.netcdf.NetCDFReader.<init>(NetCDFReader.java:158)
      2. org.geotools.coverage.io.netcdf.NetCDFFormat.getReader(NetCDFFormat.java:95)
      2 frames
    3. org.geotools.gce
      CachingDataStoreGranuleCatalog$1.visit
      1. org.geotools.gce.imagemosaic.GranuleDescriptor.init(GranuleDescriptor.java:335)
      2. org.geotools.gce.imagemosaic.GranuleDescriptor.<init>(GranuleDescriptor.java:660)
      3. org.geotools.gce.imagemosaic.catalog.CachingDataStoreGranuleCatalog$1.visit(CachingDataStoreGranuleCatalog.java:176)
      3 frames
    4. 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
    5. 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
    6. 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
    7. 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
    8. 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
    9. 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
    10. 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
    11. org.geoserver.kml
      WebMapServiceKmlInterceptor.invoke
      1. org.geoserver.kml.WebMapServiceKmlInterceptor.invoke(WebMapServiceKmlInterceptor.java:34)
      1 frame
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    13. 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
    14. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    15. 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
    16. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      1 frame
    17. Open Web Service Module
      RequestObjectLogger.invoke
      1. org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:55)
      1 frame
    18. 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
    19. com.sun.proxy
      $Proxy73.getMap
      1. com.sun.proxy.$Proxy73.getMap(Unknown Source)
      1 frame
    20. 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
    21. 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
    22. 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
    23. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
      2 frames
    24. 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
    25. org.geoserver.filters
      ThreadLocalsCleanupFilter.doFilter
      1. org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
      1 frame
    26. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    27. org.geoserver.filters
      SpringDelegatingFilter$Chain.doFilter
      1. org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
      1 frame
    28. org.geoserver.wms
      AnimatorFilter.doFilter
      1. org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
      1 frame
    29. 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
    30. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    31. Core Platform Module
      AdvancedDispatchFilter.doFilter
      1. org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
      1 frame
    32. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291)
      1 frame
    33. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
      1 frame
    34. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    35. 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
    36. 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
    37. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    38. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    39. Spring Security
      ExceptionTranslationFilter.doFilter
      1. org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
      1 frame
    40. 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
    41. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    42. org.geoserver.security
      GeoServerAnonymousAuthenticationFilter.doFilter
      1. org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
      1 frame
    43. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    44. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    45. Spring Security
      BasicAuthenticationFilter.doFilter
      1. org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
      1 frame
    46. 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
    47. Spring Security
      FilterChainProxy$VirtualFilterChain.doFilter
      1. org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
      1 frame
    48. org.geoserver.security
      GeoServerCompositeFilter$NestedFilterChain.doFilter
      1. org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      1 frame
    49. Spring Security
      SecurityContextPersistenceFilter.doFilter
      1. org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
      1 frame
    50. 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
    51. 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
    52. Main Module
      GeoServerSecurityFilterChainProxy.doFilter
      1. org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
      1 frame
    53. Spring
      DelegatingFilterProxy.invokeDelegate
      1. org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
      1 frame