OpenEngSB
  1. OpenEngSB
  2. OPENENGSB-2464

TestClient: DropdownMenu creates NullPointerException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: framework-2.2.2, framework-2.3.0, openengsb-3.0.0
    • Fix Version/s: openengsb-3.0.0.M1
    • Component/s: framework
    • Labels:

      Description

      If you choose a Method in the DropdownMenu at the bottom of the Test Client and then switch back to the default value "Choose One", you get an NullPointerException.

      Stack Trace:
      java.lang.NullPointerException
      at org.openengsb.ui.admin.testClient.TestClient.findMethod(TestClient.java:717)[182:org.openengsb.ui.admin:3.0.0.SNAPSHOT]
      at org.openengsb.ui.admin.testClient.TestClient.populateArgumentList(TestClient.java:625)[182:org.openengsb.ui.admin:3.0.0.SNAPSHOT]
      at org.openengsb.ui.admin.testClient.TestClient$4.onUpdate(TestClient.java:225)[182:org.openengsb.ui.admin:3.0.0.SNAPSHOT]
      at org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior.onEvent(AjaxFormComponentUpdatingBehavior.java:158)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1252)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1331)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:713)[58:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)[58:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2]
      at org.ops4j.pax.wicket.internal.FilterDelegator$Chain.doFilter(FilterDelegator.java:75)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:369)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:91)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:381)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:168)[115:org.springframework.security.web:3.0.7.RELEASE]
      at org.openengsb.ui.common.util.DelegatingSecurityFilter.doFilter(DelegatingSecurityFilter.java:42)[181:org.openengsb.ui.common:3.0.0.SNAPSHOT]
      at org.ops4j.pax.wicket.internal.FilterDelegator$Chain.doFilter(FilterDelegator.java:73)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.openengsb.ui.common.util.ContextIdFilter.doFilter(ContextIdFilter.java:67)[181:org.openengsb.ui.common:3.0.0.SNAPSHOT]
      at org.ops4j.pax.wicket.internal.FilterDelegator$Chain.doFilter(FilterDelegator.java:73)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.ops4j.pax.wicket.internal.FilterDelegator.doFilter(FilterDelegator.java:57)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler.invoke(ServletProxy.java:80)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at $Proxy116.service(Unknown Source)[179:org.ops4j.pax.wicket.pax-wicket-service:0.7.5]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:538)[69:org.eclipse.jetty.servlet:7.4.5.v20110725]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)[69:org.eclipse.jetty.servlet:7.4.5.v20110725]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[78:org.ops4j.pax.web.pax-web-jetty:1.0.7]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:517)[68:org.eclipse.jetty.security:7.4.5.v20110725]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:937)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)[78:org.ops4j.pax.web.pax-web-jetty:1.0.7]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)[69:org.eclipse.jetty.servlet:7.4.5.v20110725]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:871)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)[78:org.ops4j.pax.web.pax-web-jetty:1.0.7]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.server.Server.handle(Server.java:346)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:589)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1065)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:823)[63:org.eclipse.jetty.http:7.4.5.v20110725]
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:220)[63:org.eclipse.jetty.http:7.4.5.v20110725]
      at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:411)[67:org.eclipse.jetty.server:7.4.5.v20110725]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:535)[62:org.eclipse.jetty.io:7.4.5.v20110725]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)[62:org.eclipse.jetty.io:7.4.5.v20110725]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:529)[61:org.eclipse.jetty.util:7.4.5.v20110725]
      at java.lang.Thread.run(Thread.java:722)[:1.7.0_01]

        Gliffy Diagrams

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          Felix Mayerhuber added a comment -

          Maybe you have closed the wrong issue? IMHO OPENENGSB-2463 is closed, but isn't fixed and this one is fixed but isn't closed.

          Show
          Felix Mayerhuber added a comment - Maybe you have closed the wrong issue? IMHO OPENENGSB-2463 is closed, but isn't fixed and this one is fixed but isn't closed.

            People

            • Assignee:
              Andreas Pieber
              Reporter:
              Christoph Prybila
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: