Uploaded image for project: 'GeoServer'
  1. GeoServer
  2. GEOS-7693

GeoServer style page - Exception previewing with WMS layer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.10-M0
    • Fix Version/s: 2.10.0
    • Component/s: None
    • Labels:
      None

      Description

      This one requires you to setup a WMS cascaded layer, then go into an existing style, layer attributes, choose it for preview, and boom.
      This one and the previous are likely occurring in the CSS editor already, but obviously here they are there for everybody to stumble
      upon:

      10 ago 13:40:51 WARN [RequestCycleExtra] - ********************************
      10 ago 13:41:52 ERROR [wicket.MarkupContainer] - Unable to find component with id 'attributePanel' in [LayerAttributePanel [Component id = panel]]
      	Expected: 'styleForm:context:panel:attributePanel'.
      	Found with similar names: ''
      10 ago 13:41:52 WARN [RequestCycleExtra] - ********************************
      10 ago 13:41:52 WARN [RequestCycleExtra] - Handling the following exception
      Unable to find component with id 'attributePanel' in [LayerAttributePanel [Component id = panel]]
      	Expected: 'styleForm:context:panel:attributePanel'.
      	Found with similar names: ''
       MarkupStream: [markup = file:/home/aaime/devel/git-gs/src/web/wms/target/classes/org/geoserver/wms/web/data/LayerAttributePanel.html
      <wicket:panel>
              <div><wicket:message key="previewLayer">Previewing on layer: </wicket:message><a wicket:id="changeLayer" href="#"></a></div>
              <div wicket:id="attributePanel"></div>
          </wicket:panel>, index = 8, current =  '<div wicket:id="attributePanel">' (line 0, column 0)]
      	at org.apache.wicket.markup.MarkupStream.throwMarkupException(MarkupStream.java:526)
      	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1308)
      	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1459)
      	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1434)
      	at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:703)
      	at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:77)
      	at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
      	at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
      	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1398)
      	at org.apache.wicket.Component.internalRender(Component.java:2380)
      	at org.apache.wicket.Component.render(Component.java:2308)
      	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1262)
      	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1459)
      	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1434)
      	at org.apache.wicket.MarkupContainer.renderAssociatedMarkup(MarkupContainer.java:703)
      	at org.apache.wicket.markup.html.panel.AssociatedMarkupSourcingStrategy.renderAssociatedMarkup(AssociatedMarkupSourcingStrategy.java:77)
      	at org.apache.wicket.markup.html.panel.PanelMarkupSourcingStrategy.onComponentTagBody(PanelMarkupSourcingStrategy.java:112)
      	at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
      	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1398)
      	at org.apache.wicket.Component.internalRender(Component.java:2380)
      	at org.apache.wicket.Component.render(Component.java:2308)
      	at org.apache.wicket.MarkupContainer.renderNext(MarkupContainer.java:1262)
      	at org.apache.wicket.MarkupContainer.renderAll(MarkupContainer.java:1459)
      	at org.apache.wicket.MarkupContainer.renderComponentTagBody(MarkupContainer.java:1434)
      	at org.apache.wicket.MarkupContainer.onComponentTagBody(MarkupContainer.java:1357)
      	at org.apache.wicket.markup.html.form.Form.onComponentTagBody(Form.java:1705)
      	at org.apache.wicket.markup.html.panel.DefaultMarkupSourcingStrategy.onComponentTagBody(DefaultMarkupSourcingStrategy.java:70)
      	at org.apache.wicket.Component.internalRenderComponent(Component.java:2565)
      	at org.apache.wicket.MarkupContainer.onRender(MarkupContainer.java:1398)
      	at org.apache.wicket.Component.internalRender(Component.java:2380)
      	at org.apache.wicket.Component.render(Component.java:2308)
      	at org.apache.wicket.page.XmlPartialPageUpdate.writeComponent(XmlPartialPageUpdate.java:119)
      	at org.apache.wicket.page.PartialPageUpdate.writeComponents(PartialPageUpdate.java:245)
      	at org.apache.wicket.page.PartialPageUpdate.writeTo(PartialPageUpdate.java:158)
      	at org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:358)
      	at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:865)
      	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      	at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97)
      	at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
      	at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
      	at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
      	at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
      	at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
      	at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:159)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:158)
      	at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:147)
      	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50)
      	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
      	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
      	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:968)
      	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:870)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
      	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:844)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
      	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
      	at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
      	at org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
      	at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
      	at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      	at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
      	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:316)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:126)
      	at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:90)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      	at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
      	at org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      	at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:205)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
      	at org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:116)
      	at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
      	at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:157)
      	at org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
      	at org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tbarsballe Torben Barsballe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: