Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tile Fuser throws class cast exception if the first defined tile format is not an image type #1212

Open
smithkm opened this issue Feb 2, 2024 · 0 comments
Assignees
Labels

Comments

@smithkm
Copy link
Member

smithkm commented Feb 2, 2024

To Replicate:

  • Create a layer with both vector tiles and PNG images in that order.
  • Enable FullWMS/Tile Fusing.
  • Make a non-tiled PNG WMS request for that layer.

The following error will be thrown.

400: class org.geowebcache.mime.ApplicationMime cannot be cast to class org.geowebcache.mime.ImageMime (org.geowebcache.mime.ApplicationMime and org.geowebcache.mime.ImageMime are in unnamed module of loader org.apache.catalina.loader.ParallelWebappClassLoader @6134ac4a)

The cast causing the problem occurs at these locations:

Work arounds:

  • Disable vector tiles if you want to have tile fusing
  • Change the cache definition so that the first tile format is an image type.
@smithkm smithkm added the Bug label Feb 2, 2024
@smithkm smithkm self-assigned this Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant