Hi Olivier,

Thanks for the advice but no luck. I had the same problem again but I tried using a different blobstore, a local filesystem in this case, and it worked without problems.

So I think the problem is related with the S3 blobstore plugin.


Thank you again,

Lucas.

On 22/7/21 21:23, Olivier Gagnon wrote:
Hi,

we cache vector tiles without any problems now but I remember that we had to change a few cache settings for pbf.

Metatile size 1 X 1

gutter size 10

Also try removing all gridsets and re-add them.

See if it helps

Good luck !

Envoyé à partir d’Outlook <http://aka.ms/weboutlook>


------------------------------------------------------------------------
*De :* Lucas Sousa <lucas.so...@magnet.coop>
*Envoyé :* 22 juillet 2021 11:32
*À :* geoserver-users@lists.sourceforge.net <geoserver-users@lists.sourceforge.net> *Objet :* [Geoserver-users] Error when caching mapbox-vector-tile format tiles

Hi everyone,

We are having a problem when caching tiles using the PBF format in Geoserver (v2.19.0) using the GWC (v1.19.0) integration, Java OpenJDK 11 and Debian 10. The thing is if we cache using a different tile format such as PNG or GeoJSON everything works as expected. However, if try to cache tiles using PBF (mapbox-vector-tile) format the process throws an exception in Geoserver and caches just a few a tiles (we are using S3 blob store plugin to cache tiles). After the first try it doesn't cache anymore. We checked the Geoserver logs using the VERBOSE logging profile and we get the following exceptions:

Error dispatching tile request to GeoServer org.geowebcache.GeoWebCacheException: Problem communicating with GeoServer Caused by: java.lang.IllegalStateException: Expected: RenderedImageMap, got null
java.lang.NullPointerException

I attached the full log file for the details.

A couple of details about the layers:

- They are stored in PostGIS (JNDI).

- The shape files are about 35.9 MiB.

Does anyone know what could be happening?

Thanks in advance.

--
*LUCAS SOUSA DE FREITAS*
(+34) 688 714 662





magnet.coop
Santa Marina 3, Oñati (20560)
i...@magnet.coop <mailto:i...@magnet.coop>
*www.magnet.coop <http://www.magnet.coop>*

/This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this communication in error, please notify the sender immediately and delete it. If you are not the intended recipient, you are expressly prohibited from reading, copying, distributing, disseminating or, in any other way, using any of the information without the Magnet consent. Please note that Internet e-mail guarantees neither the confidentiality nor the proper receipt of the message sent, so that Magnet shall not be liable for any damages caused. As its integrity cannot be secured on the Internet, the Magnet liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted./


_______________________________________________
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
--
*LUCAS SOUSA DE FREITAS*
(+34) 688 714 662





magnet.coop
Santa Marina 3, Oñati (20560)
i...@magnet.coop
*www.magnet.coop*

/This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this communication in error, please notify the sender immediately and delete it. If you are not the intended recipient, you are expressly prohibited from reading, copying, distributing, disseminating or, in any other way, using any of the information without the Magnet consent. Please note that Internet e-mail guarantees neither the confidentiality nor the proper receipt of the message sent, so that Magnet shall not be liable for any damages caused. As its integrity cannot be secured on the Internet, the Magnet liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted./
_______________________________________________
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

Reply via email to