Hi Everyone,

We recently upgraded our OS from RHEL 6.8 to 7.5 and I am noticing issues 
related to the styles defined by our SLDs. We are having trouble rendering 
styles defined by  Point Symbolizer and Polygon Symbolizer. There may be more, 
but so far those are the ones we found. This is the stack trace when GeoServer 
tries to render the styles,

2018-06-25 18:11:06,644 WARN [web.data] - Failed to build legend preview
java.lang.ArrayIndexOutOfBoundsException: 0
                at 
sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:75)
                at 
sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:93)
                at 
sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetrics.java:359)
                at sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:350)
                at 
sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:302)
                at 
sun.java2d.SunGraphics2D.getFontMetrics(SunGraphics2D.java:855)
                at 
org.geoserver.wms.legendgraphic.LegendUtils.renderLabel(LegendUtils.java:659)
...

I am also unable to see the list of fonts available on the GeoServer status 
page either.

Doing some investigation myself there has been reports by other application 
users indicating that there is a problem with Java compatibility with the STIX 
font that comes with RHEL 7.5 from a clean install. My question is, has anyone 
encountered this problem or has deployed GeoServer on RHEL 7.5+?

Thanks,
Danny

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to