Ashley Mort ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Aeb7b27b9-6eb7-43a6-8a81-d1ab2732ab73
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiZThhOGFmYTIxYjhlNDZjYmJkNDAxN2IzNzY0M2Q3ZjgiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-10956?atlOrigin=eyJpIjoiZThhOGFmYTIxYjhlNDZjYmJkNDAxN2IzNzY0M2Q3ZjgiLCJwIjoiaiJ9
 ) GEOS-10956 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10956?atlOrigin=eyJpIjoiZThhOGFmYTIxYjhlNDZjYmJkNDAxN2IzNzY0M2Q3ZjgiLCJwIjoiaiJ9
 ) GeoServer 2.22.x ImageMosaic w/ datastore.properties pointing to PostGIS 
fails (null crs) ( 
https://osgeo-org.atlassian.net/browse/GEOS-10956?atlOrigin=eyJpIjoiZThhOGFmYTIxYjhlNDZjYmJkNDAxN2IzNzY0M2Q3ZjgiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.22.0, 2.22.1, 2.22.2, 2.23.0 Assignee: 
Unassigned Attachments: datastore.properties, geoserver2.21.4-debug.png, 
geoserver2.22.2-debug.png, postgisStore.PNG, seedImage.jgw, seedImage.jpg, 
webError.PNG Components: image mosaic Created: 27/Apr/23 6:23 PM Environment:

windows 10 or linux (rhel)

Priority: Medium Reporter: Ashley Mort ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Aeb7b27b9-6eb7-43a6-8a81-d1ab2732ab73
 )

I am manually creating an ImageMosaic from the GeoServer web interface pointing 
to a folder containing:
seedImage.jpg
seedImage.jgw
datastore.properties

datastore.properties points to a basic local PostGIS database.

In GeoServer 2.22.0+ my crs will be null and I'll get an error and can't 
proceed.

27 Apr 11:21:00 WARN   [gce.imagemosaic] - Unable to close indexingnull
java.lang.NullPointerException
       at 
org.geotools.gce.imagemosaic.RasterManager$SpatialDomainManager.prepareCoverageSpatialElements(RasterManager.java:236)
       at 
org.geotools.gce.imagemosaic.RasterManager$SpatialDomainManager.<init>(RasterManager.java:217)
       at 
org.geotools.gce.imagemosaic.RasterManager.initialize(RasterManager.java:1581)
       at 
org.geotools.gce.imagemosaic.RasterManager.initialize(RasterManager.java:1542)
       at 
org.geotools.gce.imagemosaic.ImageMosaicConfigHandler.indexingPostamble(ImageMosaicConfigHandler.java:1082)
       at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker$MosaicDirectoryWalker.<init>(ImageMosaicDirectoryWalker.java:139)
       at 
org.geotools.gce.imagemosaic.ImageMosaicDirectoryWalker.run(ImageMosaicDirectoryWalker.java:218)
       at 
org.geotools.gce.imagemosaic.Utils.createMosaicInternal(Utils.java:576)
       at org.geotools.gce.imagemosaic.Utils.createMosaic(Utils.java:525)
       at org.geotools.gce.imagemosaic.Utils.checkSource(Utils.java:1656)
       at 
org.geotools.gce.imagemosaic.ImageMosaicReader.initReaderFromURL(ImageMosaicReader.java:264)
       at 
org.geotools.gce.imagemosaic.ImageMosaicReader.<init>(ImageMosaicReader.java:217)
       at 
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:563)
       at 
org.geotools.gce.imagemosaic.ImageMosaicFormat.getReader(ImageMosaicFormat.java:104)
       at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1593)
       at 
org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1533)
       at 
org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:57)
       at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

( 
https://osgeo-org.atlassian.net/browse/GEOS-10956#add-comment?atlOrigin=eyJpIjoiZThhOGFmYTIxYjhlNDZjYmJkNDAxN2IzNzY0M2Q3ZjgiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10956#add-comment?atlOrigin=eyJpIjoiZThhOGFmYTIxYjhlNDZjYmJkNDAxN2IzNzY0M2Q3ZjgiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100223- 
sha1:02266b8 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to