ArrayOutOfBounds Exception in Topology Map when selecting bridge-port

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

Environment

CentOS 7, JDK 1.7.0_75, 4 Core Intel Xeon, 16GB RAM, 500GB HD

Acceptance / Success Criteria

None

is duplicated by

Lucidchart Diagrams

Activity

Show:

Antonio Russo May 2, 2016 at 3:50 PM

Yhis has been fixed in 18.0.0

Antonio Russo April 22, 2015 at 10:32 AM

This is a problem related to the UI, I guess.....Donald

Mark Rosche March 5, 2015 at 6:46 AM

I also see in the karaf.log file warnings with "Cannot filter nodes with ID:" and the IDs listed are all of the bridge ports that enlinkd has found. Here are the log messages:

2015-03-05 12:17:41,019 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 5|562
2015-03-05 12:17:41,019 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 6|514
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 6|529
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 6|515
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 5|516
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 6|525
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 22|3
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 6|535
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 22|4
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 5|514
2015-03-05 12:17:41,020 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 3|525
2015-03-05 12:17:41,021 WARN org.opennms.features.topology.plugins.browsers:16.0.0.SNAPSHOT(95) [qtp762514705-750 - /opennms/topology/UIDL/?v-uiId=0] org.opennms.features.topology.plugins.browsers.NodeDaoContainer: Cannot filter nodes with ID: 6|564

Mark Rosche March 5, 2015 at 4:29 AM

Just a quick not to say that I started with 15.0 and this issues is present since I have been testing opennms. updated to 15.0.1 and now am on the daily builds...issue is still there.

Fixed

Details

Assignee

Reporter

Components

Affects versions

Due date

Priority

PagerDuty

Created March 5, 2015 at 4:27 AM
Updated May 2, 2016 at 3:50 PM
Resolved May 2, 2016 at 3:50 PM