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

IP Interface component bug on Node Page

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.13.0
    • Fix Version/s: 1.13.1
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      There is an error on the node page when displaying IP interfaces. See screenshot.

      Here is the stack trace:

      2014-02-19 21:51:12,315 WARN [qtp795563034-544 - /opennms/rest/nodes/646/snmpinterfaces?limit=0] o.e.j.s.ServletHandler: /opennms/rest/nodes/646/snmpinterfaces
      org.codehaus.jackson.map.JsonMappingException: Problem introspecting bean properties: type mismatch between read and write methods (through reference chain: org.opennms.netmgt.model.OnmsSnmpInterfaceList[0]>org.opennms.netmgt.model.OnmsSnmpInterface["ipInterfaces"]>org.hibernate.collection.PersistentSet[0])
      at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:736) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.StdSerializerProvider.findValueSerializer(StdSerializerProvider.java:369) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.impl.PropertySerializerMap.findAndAddSerializer(PropertySerializerMap.java:39) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.ContainerSerializers$AsArraySerializer._findAndAddDynamic(ContainerSerializers.java:221) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:437) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:383) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.ContainerSerializers$AsArraySerializer.serialize(ContainerSerializers.java:142) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:430) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializer.serializeFields(BeanSerializer.java:175) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializer.serialize(BeanSerializer.java:142) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:442) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.ContainerSerializers$CollectionSerializer.serializeContents(ContainerSerializers.java:383) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.ContainerSerializers$AsArraySerializer.serialize(ContainerSerializers.java:142) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.StdSerializerProvider._serializeValue(StdSerializerProvider.java:606) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.StdSerializerProvider.serializeValue(StdSerializerProvider.java:280) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ObjectMapper.writeValue(ObjectMapper.java:1345) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.jaxrs.JacksonJsonProvider.writeTo(JacksonJsonProvider.java:527) ~[jackson-jaxrs-1.8.3.jar:1.8.3]
      at com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:306) ~[jersey-server-1.10.jar:1.10]
      at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1437) ~[jersey-server-1.10.jar:1.10]
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349) ~[jersey-server-1.10.jar:1.10]
      at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339) ~[jersey-server-1.10.jar:1.10]
      at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416) ~[jersey-servlet-1.10.jar:1.10]
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537) ~[jersey-servlet-1.10.jar:1.10]
      at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708) ~[jersey-servlet-1.10.jar:1.10]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:?]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:654) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1320) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.opennms.container.web.felix.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:53) ~[?:?]
      at org.opennms.container.web.felix.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:35) ~[?:?]
      at org.opennms.container.web.felix.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:50) ~[?:?]
      at org.opennms.container.web.felix.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:42) ~[?:?]
      at org.opennms.container.web.bridge.internal.DispatcherFilter.doFilter(DispatcherFilter.java:72) ~[?:?]
      at org.opennms.container.web.ProxyFilter.doFilter(ProxyFilter.java:56) ~[org.opennms.container.servlet-1.13.1-SNAPSHOT.jar:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      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:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.opennms.web.servlet.AddAccessControlHeaderFilter.doFilter(AddAccessControlHeaderFilter.java:55) ~[opennms-web-api-1.13.1-SNAPSHOT.jar:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.opennms.web.servlet.StoreRequestPropertiesFilter.doFilter(StoreRequestPropertiesFilter.java:79) ~[opennms-web-api-1.13.1-SNAPSHOT.jar:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.opennms.web.springframework.security.AuthFilterEnabler.doFilter(AuthFilterEnabler.java:108) ~[org.opennms.features.springframework-security-1.13.1-SNAPSHOT.jar:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) ~[spring-security-web-3.1.4.RELEASE.jar:3.1.4.RELEASE]
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:233) ~[org.springframework.orm-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) ~[org.springframework.web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) ~[jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443) [jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) [jetty-security-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) [jetty-servlet-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.Server.handle(Server.java:365) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-7.6.12.v20130726.jar:7.6.12.v20130726]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-7.6.12.v20130726.jar:7.6.12.v20130726]
      at java.lang.Thread.run(Thread.java:744) [?:1.7.0_45]
      Caused by: java.lang.IllegalArgumentException: Problem introspecting bean properties: type mismatch between read and write methods
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.getDescriptors(JaxbAnnotationIntrospector.java:973) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findPropertyDescriptor(JaxbAnnotationIntrospector.java:990) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findGettablePropertyName(JaxbAnnotationIntrospector.java:594) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.AnnotationIntrospector$Pair.findGettablePropertyName(AnnotationIntrospector.java:1230) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.introspect.BasicBeanDescription.findGetters(BasicBeanDescription.java:164) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:574) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:436) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:349) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:295) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:778) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:731) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      ... 93 more
      Caused by: java.beans.IntrospectionException: type mismatch between read and write methods
      at java.beans.PropertyDescriptor.findPropertyType(PropertyDescriptor.java:674) ~[?:1.7.0_45]
      at java.beans.PropertyDescriptor.setReadMethod(PropertyDescriptor.java:255) ~[?:1.7.0_45]
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector$PropertyDescriptors._processReadMethod(JaxbAnnotationIntrospector.java:1334) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector$PropertyDescriptors.find(JaxbAnnotationIntrospector.java:1297) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.getDescriptors(JaxbAnnotationIntrospector.java:971) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findPropertyDescriptor(JaxbAnnotationIntrospector.java:990) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.xc.JaxbAnnotationIntrospector.findGettablePropertyName(JaxbAnnotationIntrospector.java:594) ~[jackson-xc-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.AnnotationIntrospector$Pair.findGettablePropertyName(AnnotationIntrospector.java:1230) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.introspect.BasicBeanDescription.findGetters(BasicBeanDescription.java:164) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanProperties(BeanSerializerFactory.java:574) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.constructBeanSerializer(BeanSerializerFactory.java:436) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.findBeanSerializer(BeanSerializerFactory.java:349) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.BeanSerializerFactory.createSerializer(BeanSerializerFactory.java:295) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.StdSerializerProvider._createUntypedSerializer(StdSerializerProvider.java:778) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      at org.codehaus.jackson.map.ser.StdSerializerProvider._createAndCacheUntypedSerializer(StdSerializerProvider.java:731) ~[jackson-mapper-asl-1.8.3.jar:1.8.3]
      ... 93 more

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              david David Hustace
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: