NullPointerException when GWC disk quota monitoring is disabled

Description

When disabling the disk quota monitoring (environment variable GWC_DISKQUOTA_DISABLED set to true) there is a NullPointerException in the logs on shut down:

WARN 1 --- [ionShutdownHook] o.s.b.f.support.DisposableBeanAdapter : Invocation of destroy method failed on bean with name 'DiskQuotaStoreProvider': java.lang.NullPointerException: Cannot invoke "org.geowebcache.diskquota.QuotaStore.close()" because "this.store" is null

Environment

None

Activity

Show:

Cécile Vuilleumier September 27, 2024 at 7:43 AM

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Components

Priority

Created September 27, 2024 at 7:20 AM
Updated October 3, 2024 at 1:51 PM
Resolved October 3, 2024 at 1:51 PM