|
From: Justin D. <jde...@op...> - 2008-08-13 15:36:47
|
hi Jeong, The problem is that the style is failing to load, so any feature types that reference it will be ignored. You should be able to go into the web admin ui and edit the feature type so that it does not reference the bad style anymore, then restart and you should see the feature type active. As for why the style is not loading i am not sure. Either there is a style referencing a non-existent file, or there is an error in teh SLD itself. If you include the SLD we should be able to diagnose the problem. -Justin Myeong Hun Jeong wrote: > Dear list. > > I downloaded geoserver-1.6.4b.exe and started geoserver. > next, I created new feature data set of shapefile using sample states.shp. > and edit feature type definition and schema through FeatureType Editor. > after editing feature type, I clicked submit button. > Of course, I clicked Create New SLD and set it up. > Finally, when I click apply button, some errors occur. > > " teststates:states org.vfny.geoserver.global.ConfigurationException: > FeatureTypeInfo teststates:::states ignored - Style 'states_style' not > found!" > > But, even though I can find states_style.sld in styles folder, this > error takes place. > How to solve this problem? > > Best regards, > Jeong. > > > 008-08-13 15:11:58,234 ERROR [geoserver.global] - Could not load style > states_style > java.lang.NullPointerException > at > org.geotools.filter.ExpressionDOMParser.expression(ExpressionDOMParser.java:342) > at > org.geotools.filter.ExpressionDOMParser.parseExpression(ExpressionDOMParser.java:96) > at org.geotools.styling.SLDParser.parseCssParameter(SLDParser.java:1886) > at org.geotools.styling.SLDParser.parseTextSymbolizer(SLDParser.java:1028) > at org.geotools.styling.SLDParser.parseRule(SLDParser.java:889) > at org.geotools.styling.SLDParser.parseFeatureTypeStyle(SLDParser.java:790) > at org.geotools.styling.SLDParser.parseStyle(SLDParser.java:737) > at org.geotools.styling.SLDParser.readDOM(SLDParser.java:282) > at org.geotools.styling.SLDParser.readXML(SLDParser.java:259) > at org.vfny.geoserver.global.Data.loadStyle(Data.java:1412) > at org.vfny.geoserver.global.Data.loadStyles(Data.java:838) > at org.vfny.geoserver.global.Data.load(Data.java:231) > at > org.vfny.geoserver.action.UpdateGSAction.updateGeoserver(UpdateGSAction.java:83) > at org.vfny.geoserver.action.UpdateGSAction.execute(UpdateGSAction.java:49) > at org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101) > at > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) > at > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) > at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) > at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:709) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:459) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1054) > at > org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045) > at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:69) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045) > at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264) > at > org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) > at > org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at > org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at > org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at > org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at > org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at > org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at > org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:229) > at > org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) > at > org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) > at > org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1045) > at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:358) > at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:231) > at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:629) > at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:453) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:123) > at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:141) > at org.mortbay.jetty.Server.handle(Server.java:303) > at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:452) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:721) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:509) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:209) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:349) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:320) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:475) > 2008-08-13 15:11:58,250 INFO [geoserver.global] - Loading feature type > 'DS_giant_polygon:::giant_polygon' (layer 1/14) > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geoserver-users mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Justin Deoliveira Software Engineer, OpenGeo http://opengeo.org |