[email protected] (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aedc7ee38-3dd8-44be-a619-8cd83842f94e
) *created* an issue
GeoServer (
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiY2QyNzJhZDhjYjYwNDUyNDllMDkxYTVlMmJmYTNjY2MiLCJwIjoiaiJ9
) / Bug (
https://osgeo-org.atlassian.net/browse/GEOS-9706?atlOrigin=eyJpIjoiY2QyNzJhZDhjYjYwNDUyNDllMDkxYTVlMmJmYTNjY2MiLCJwIjoiaiJ9
) GEOS-9706 (
https://osgeo-org.atlassian.net/browse/GEOS-9706?atlOrigin=eyJpIjoiY2QyNzJhZDhjYjYwNDUyNDllMDkxYTVlMmJmYTNjY2MiLCJwIjoiaiJ9
) NullPointerException at
org.geoserver.gwc.layer.GeoServerTileLayer.getLatLonBbox (
https://osgeo-org.atlassian.net/browse/GEOS-9706?atlOrigin=eyJpIjoiY2QyNzJhZDhjYjYwNDUyNDllMDkxYTVlMmJmYTNjY2MiLCJwIjoiaiJ9
)
Issue Type: Bug Affects Versions: 2.17.1 Assignee: Unassigned Attachments:
GeoServerTileLayerConcurrentTest.java, complete log file.txt Created: 24/Jul/20
9:42 AM Priority: Medium Reporter: [email protected] (
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Aedc7ee38-3dd8-44be-a619-8cd83842f94e
)
After application is deployed there is possibility for nullpointer when getting
LatLonBbox (complete log in attachment):
2020-07-20T06:52:55,091Z [/] ERROR [org.geowebcache.GeoWebCacheDispatcher]
Request failed: java.lang.NullPointerException
at
org.geoserver.gwc.layer.GeoServerTileLayer.getLatLonBbox(GeoServerTileLayer.java:358)
[gs-gwc-2.17.1.jar:2.17.1]
at
org.geoserver.gwc.layer.GeoServerTileLayer.computeGridSubsets(GeoServerTileLayer.java:927)
[gs-gwc-2.17.1.jar:2.17.1]
at
org.geoserver.gwc.layer.GeoServerTileLayer.lambda$gridSubsets$1(GeoServerTileLayer.java:881)
[gs-gwc-2.17.1.jar:2.17.1]
at
java.util.concurrent.atomic.AtomicReference.accumulateAndGet(AtomicReference.java:227)
[rt.jar:1.8.0_242]
at
org.geoserver.gwc.layer.GeoServerTileLayer.gridSubsets(GeoServerTileLayer.java:877)
[gs-gwc-2.17.1.jar:2.17.1]
at
org.geoserver.gwc.layer.GeoServerTileLayer.getGridSubsets(GeoServerTileLayer.java:858)
[gs-gwc-2.17.1.jar:2.17.1]
It is only happening sometimes. From what I have checked it seems that problem
appears when multiple threads try to access this value when it is not set yet.
Simple test to simulate addes as attachment.
(
https://osgeo-org.atlassian.net/browse/GEOS-9706#add-comment?atlOrigin=eyJpIjoiY2QyNzJhZDhjYjYwNDUyNDllMDkxYTVlMmJmYTNjY2MiLCJwIjoiaiJ9
) Add Comment (
https://osgeo-org.atlassian.net/browse/GEOS-9706#add-comment?atlOrigin=eyJpIjoiY2QyNzJhZDhjYjYwNDUyNDllMDkxYTVlMmJmYTNjY2MiLCJwIjoiaiJ9
)
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#100140-
sha1:5d840a8 )_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel