Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7525

ArrayOutOfBounds Exception in Topology Map when selecting bridge-port

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 15.0.0, 15.0.1
    • Fix Version/s: 18.0.0, Meridian-2016.1.0
    • Component/s: Web UI - Topology
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      CentOS 7, JDK 1.7.0_75, 4 Core Intel Xeon, 16GB RAM, 500GB HD

      Description

      When selecting a bridge-port "cloud" on the Topology map, an Exception is generated on the GUI saying to see karaf.log for details. This bug prevents moving icons in the topology map. The output from karaf.log is as follows:

      2015-03-05 10:24:13,014 WARN org.opennms.features.topology.app:16.0.0.SNAPSHOT(88) [qtp762514705-753 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.app.internal.TopologyUI: An Exception Occured: in the TopologyUI
      com.vaadin.server.ServerRpcManager$RpcInvocationException: Unable to invoke method updateVertices in org.opennms.features.topology.app.internal.gwt.client.TopologyComponentServerRpc
      at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:170)[76:com.vaadin.server:7.2.7]
      at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:118)[76:com.vaadin.server:7.2.7]
      at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:294)[76:com.vaadin.server:7.2.7]
      at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:187)[76:com.vaadin.server:7.2.7]
      at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:93)[76:com.vaadin.server:7.2.7]
      at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41)[76:com.vaadin.server:7.2.7]
      at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1401)[76:com.vaadin.server:7.2.7]
      at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:237)[76:com.vaadin.server:7.2.7]
      at org.opennms.vaadin.extender.internal.extender.ApplicationFactoryServiceTracker$FactoryServlet.service(ApplicationFactoryServiceTracker.java:89)[83:org.opennms.vaadin-extender.service:1.0.0]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)[javax.servlet-3.0.0.v201112011016.jar:]
      at org.opennms.container.web.felix.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:101)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.felix.base.internal.handler.ServletHandler.handle(ServletHandler.java:84)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.felix.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:43)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.felix.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:52)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.felix.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:35)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.felix.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:50)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.felix.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:42)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.bridge.internal.DispatcherFilter.doFilter(DispatcherFilter.java:72)[29:org.opennms.container.web.bridge:16.0.0.SNAPSHOT]
      at org.opennms.container.web.ProxyFilter.doFilter(ProxyFilter.java:56)[org.opennms.container.servlet-16.0.0-SNAPSHOT.jar:]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExportFilter.java:49)[extremecomponents-1.0.1.jar:1.0.1]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.opennms.web.servlet.StoreRequestPropertiesFilter.doFilter(StoreRequestPropertiesFilter.java:79)[opennms-web-api-16.0.0-SNAPSHOT.jar:]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.opennms.web.springframework.security.AuthFilterEnabler.doFilter(AuthFilterEnabler.java:108)[org.opennms.features.springframework-security-16.0.0-SNAPSHOT.jar:]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[org.apache.servicemix.bundles.spring-web-4.0.5.RELEASE_1.jar:]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)[spring-security-web-3.2.5.RELEASE.jar:3.2.5.RELEASE]
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)[org.apache.servicemix.bundles.spring-web-4.0.5.RELEASE_1.jar:]
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)[org.apache.servicemix.bundles.spring-web-4.0.5.RELEASE_1.jar:]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:232)[org.apache.servicemix.bundles.spring-orm-4.0.5.RELEASE_1.jar:]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[org.apache.servicemix.bundles.spring-web-4.0.5.RELEASE_1.jar:]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)[org.apache.servicemix.bundles.spring-web-4.0.5.RELEASE_1.jar:]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)[org.apache.servicemix.bundles.spring-web-4.0.5.RELEASE_1.jar:]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)[jetty-security-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1075)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:384)[jetty-servlet-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1009)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.Server.handle(Server.java:364)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861)[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)[jetty-http-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)[jetty-server-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)[jetty-io-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)[jetty-io-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)[jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)[jetty-util-8.1.10.v20130312.jar:8.1.10.v20130312]
      at java.lang.Thread.run(Thread.java:745)[:1.7.0_75]
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_75]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_75]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_75]
      at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_75]
      at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:168)[76:com.vaadin.server:7.2.7]
      ... 85 more
      Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
      at org.opennms.features.topology.app.internal.TopologyComponent.updateVertex(TopologyComponent.java:258)
      at org.opennms.features.topology.app.internal.TopologyComponent.access$700(TopologyComponent.java:51)
      at org.opennms.features.topology.app.internal.TopologyComponent$1.updateVertices(TopologyComponent.java:126)
      ... 90 more

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mrosche Mark Rosche
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: