GetMapResponse finalizer might throw an NPE
-------------------------------------------
Key: GEOS-1764
URL: http://jira.codehaus.org/browse/GEOS-1764
Project: GeoServer
Issue Type: Bug
Affects Versions: 1.6.0
Reporter: Andrea Aime
Assignee: Andrea Aime
Priority: Trivial
Fix For: 1.6.1
From a GeoServer 1.6.x log:
{code}
23 feb 18:19:39 ERROR [wms.responses] - Getting feature source: null
java.lang.NullPointerException
at org.vfny.geoserver.wms.responses.GetMapResponse.clearMapContext(GetMapResponse.java:542)
at org.vfny.geoserver.wms.responses.GetMapResponse.finalize(GetMapResponse.java:628)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
{code}
A null check in the clearMapContext method is all that is needed to fix this buglet
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira