I sent another email to the geoserver-users group about the same bug when I tried 2.19.2, on October 12th, with subject = Error when trying to add an imagemosaic data source. In that email, I attached the full stack trace, plus the xml files I have in the directory with the geotiffs.
From: Andrea Aime <andrea.a...@geo-solutions.it> Sent: Monday, January 18, 2021 12:18 PM To: Devin Eyre <devin.e...@stormgeo.com> Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Error when trying to add a new imagemosaic store after upgrading from 2.9.2 to 2.18.1 Hi Devin, can you share the full stack trace please? Also a bit more information about the index, is it a shapefile or a database? If a database, can you share the actual table structure? Best regards Andrea On Fri, Jan 15, 2021 at 5:34 PM Devin Eyre <devin.e...@stormgeo.com<mailto:devin.e...@stormgeo.com>> wrote: I am trying to upgrade from 2.9.2 to 2.18.1 so I can configure per-layer WMS interpolation, but after the upgrade, I cannot add a new imagemosaic store. Here's the beginning of the error from catalina.out: 15 Jan 16:01:17 WARN [geotools.jdbc] - Fetching fields from Database 15 Jan 16:01:18 ERROR [gce.imagemosaic] - java.util.Date cannot be cast to org.geotools.util.DateRange java.lang.ClassCastException: java.util.Date cannot be cast to org.geotools.util.DateRange Contents of indexer.properties: TimeAttribute=ingestion Schema=*the_geom:Polygon,location:String,ingestion:java.util.Date PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](ingestion) Contents of timeregex.properties: regex=[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z Example file names: 2021-01-15T15:35:00.000Z.tiff 2021-01-15T15:40:00.000Z.tiff Is there a different function to use instead of java.util.Date for this version of Geoserver? _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/<http://www.ianturton.com/talks/foss4g.html#/> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html<http://geoserver.org/comm/userlist-guidelines.html> If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer<https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://lists.sourceforge.net/lists/listinfo/geoserver-users> -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V<http://goo.gl/it488V> for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it<http://www.geo-solutions.it> http://twitter.com/geosolutions_it<http://twitter.com/geosolutions_it> ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users