Justin,

Thanks for your reply. I installed the nightly build from November 2nd, as well 
as the latest version of the restconfig plugin. I still get the same result 
when I try to access Styler (the three panels are blank and I can't add any 
layers). This time, the log file doesn't even mention restconfig anymore - 
here's what I get after trying to access Styler:


2010-11-05 15:29:06,020 DEBUG [geoserver.filters] - filtering 
http://localhost:5668/geoserver/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd
2010-11-05 15:29:06,020 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd]
2010-11-05 15:29:06,020 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/schemas/wms/1.1.1/WMS_MS_Capabilities.dtd]
2010-11-05 15:29:13,289 DEBUG [geoserver.filters] - filtering 
http://localhost:5668/geoserver/
2010-11-05 15:29:13,289 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/]
2010-11-05 15:29:13,289 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/]
2010-11-05 15:29:13,367 DEBUG [geoserver.filters] - filtering 
http://localhost:5668/geoserver/web
2010-11-05 15:29:13,367 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/web]
2010-11-05 15:29:13,367 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/web]
2010-11-05 15:29:13,367 DEBUG [geoserver.filters] - filtering 
http://localhost:5668/geoserver/web/
2010-11-05 15:29:13,367 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/web/]
2010-11-05 15:29:13,367 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/web/]
2010-11-05 15:29:13,383 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/screen.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:13,383 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/print.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:13,383 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/geoserver.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:13,383 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/ie.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:13,383 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/geoserver-ie.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:13,383 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/js/jquery-1.2.6.min.js
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:13,383 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/js/jquery.inline-info.js
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:18,259 DEBUG [geoserver.filters] - filtering 
http://localhost:5668/geoserver/web/
2010-11-05 15:29:18,259 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/web/]
2010-11-05 15:29:18,259 DEBUG [ows.OWSHandlerMapping] - Looking up handler for 
[/web/]
2010-11-05 15:29:18,259 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/screen.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:18,259 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/print.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:18,274 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/geoserver.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:18,274 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/blueprint/ie.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:18,274 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/css/geoserver-ie.css
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:18,274 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/js/jquery-1.2.6.min.js
 to file (URI is not hierarchical), falling back to the inputstream for polling
2010-11-05 15:29:18,274 DEBUG [geoserver.web] - cannot convert url: 
jar:file:/C:/Tomcat%206.0/webapps/geoserver/WEB-INF/lib/web-core-2.1-SNAPSHOT.jar!/org/geoserver/web/js/jquery.inline-info.js
 to file (URI is not hierarchical), falling back to the inputstream for polling

Cheers
Matthias

Von: Justin Deoliveira [mailto:[email protected]]
Gesendet: Freitag, 29. Oktober 2010 20:38
An: Speich Matthias, KS KE
Cc: [email protected]
Betreff: Re: [Geoserver-users] Problem with Styler / REST plugins 
(NullPointerException)

Odd. It seems the plugin is indeed installed but I can't get much from this 
exception. IT seems like he relevant part is perhaps missing. Is there an 
exception in the log that was missed?

I wonder if you can try the latest nightly build of trunk and of the restconfig 
plugin?

On Wed, Oct 27, 2010 at 8:59 AM, Matthias Speich 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

I tried to install Styler on Geoserver 2.1 beta, but when I access
http://localhost:5668/geoserver/www/styler/index.html, all I get is an empty
Styler interface, where the Layers, Legend and map windows are blank.

After googling the issue, I assume the problem is related to the REST config
plugin. I installed it following the instructions in the documentation
(downloaded the 2.1beta version, unzipped it in WEB-INF/lib, then re-started
Geoserver). Still, when I try to access
http://localhost:5668/geoserver/rest/styles/point to check if the REST
plugin is working, I get a 500 error and the Geoserver log file contains the
following error message:

2010-10-27 16:31:13,641 DEBUG [geoserver.filters] - filtering
http://localhost:5668/geoserver/rest/styles/point
2010-10-27 16:31:13,656 DEBUG
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - Converted URL to
lowercase, from: '/rest/styles/point'; to: '/rest/styles/point'  and
httpMethod= GET
2010-10-27 16:31:13,675 DEBUG
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - ~~~~~~~~~~
antPath= /** methodList= [Ljava.lang.String;@16c27ba
2010-10-27 16:31:13,675 DEBUG
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - method[0]: GET
2010-10-27 16:31:13,676 DEBUG
[security.RESTfulPathBasedFilterInvocationDefinitionMap] - Candidate is:
'/rest/styles/point'; antPath is /**; matchedPath=true; matchedMethods=true
2010-10-27 16:31:13,676 DEBUG [ows.OWSHandlerMapping] - Looking up handler
for [/rest/styles/point]
2010-10-27 16:31:14,024 DEBUG [catalog.rest] - GET style point
2010-10-27 16:31:14,024 ERROR [geoserver.rest] - :null
2010-10-27 16:31:14,024 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException: java.lang.NullPointerException
       at
org.geoserver.rest.ReflectiveResource.handleException(ReflectiveResource.java:326)
       at
org.geoserver.rest.ReflectiveResource.handleGet(ReflectiveResource.java:83)
       at org.restlet.Finder.handle(Finder.java:292)
       at
org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:38)
       at org.restlet.Filter.doHandle(Filter.java:105)
       at org.restlet.Filter.handle(Filter.java:134)
       at org.restlet.Router.handle(Router.java:444)
       at
com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129)
       at
org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:77)
       at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
       at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
       at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
       at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
       at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
       at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:48)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265)
       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:275)
       at
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:124)
       at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
       at
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
       at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
       at
org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:174)
       at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
       at
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249)
       at
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275)
       at
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149)
       at
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
       at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
       at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
       at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
       at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
       at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
       at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
       at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
       at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
       at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
       at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
       at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
       at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
       at
org.geoserver.rest.ReflectiveResource.handleGet(ReflectiveResource.java:80)
       ... 61 more

Did I miss any steps in the installation of the plugin? Thanks a lot!

Cheers
Matthias
--
View this message in context: 
http://old.nabble.com/Problem-with-Styler---REST-plugins-%28NullPointerException%29-tp30068150p30068150.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to