NullPointerException when pressing "reload" in the server status panel
----------------------------------------------------------------------

                 Key: GEOS-4225
                 URL: http://jira.codehaus.org/browse/GEOS-4225
             Project: GeoServer
          Issue Type: Bug
            Reporter: Andrea Aime
            Assignee: Justin Deoliveira
             Fix For: 2.1-beta2


The NPE is due to the following code at line 266 in GeoServerImpl

{code}
        // reload configuration
        GeoServerLoader loader = 
GeoServerExtensions.bean(GeoServerLoader.class);
        synchronized (org.geoserver.config.GeoServer.CONFIGURATION_LOCK) {
            getCatalog().getResourcePool().dispose();
            loader.reload();
        }
{code}

After the recent changes there is no more a GeoServerLoader registered in the
spring context, but a GeoServerLoaderProxy instead.

The issue seems solvable by just looking for the proxy, but I'm wondering if 
it's
the right thing to do.

Justin, what do you think?

(btw, we should cover this one with a test)

-- 
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

        

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to