|
This is not easily reproducible, but if you have a store, with a layer where the default style is proxied, then attempting to delete the store will cause a NullPointerException.
When the CascadingRemovalReporter goes to find the style that will be removed, it gets the style from the HashMap in the catalog. This triggers a call to style.hashCode. Since the style is proxied, this method call is passed to ResolvingProxy(ProxyBase).invoke(). Since this is not a "get" or a "set", this calls ResolvingProxy.handleOther(), which return null where an int is expected.
The real problem here is that ResolvingProxy.handleOther() always returns null.
|