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

Null pointer exception in SurvellianceViewConfigurationCategoryWindow.java

    XMLWordPrintable

    Details

    • Sprint:
      Horizon - October 25th, Horizon - November 1st

      Description

      When trying to add a row or column to a surveillance view in 21.0.0, the following is recorded in karaf.log.  

      I tested stopping services, clearing the Karaf cache, and restarting services, and this error appears on the first attempt to modify the view.

      2017-10-30T15:24:45,346 ERROR com.vaadin.server:7.2.7(64) [qtp1172764058-2534] com.vaadin.server.DefaultErrorHandler: 
      java.lang.NullPointerException: null
      at org.opennms.features.vaadin.surveillanceviews.ui.SurveillanceViewConfigurationCategoryWindow$1.isValidValue(SurveillanceViewConfigurationCategoryWindow.java:117) [191:org.opennms.features.vaadin.surveillanceviews:21.0.0]
      at org.opennms.features.vaadin.surveillanceviews.ui.SurveillanceViewConfigurationCategoryWindow$1.isValidValue(SurveillanceViewConfigurationCategoryWindow.java:114) [191:org.opennms.features.vaadin.surveillanceviews:21.0.0]
      at com.vaadin.data.validator.AbstractValidator.validate(AbstractValidator.java:100) [64:com.vaadin.server:7.2.7]
      at com.vaadin.ui.AbstractField.validate(AbstractField.java:963) [64:com.vaadin.server:7.2.7]
      at com.vaadin.ui.AbstractField.validate(AbstractField.java:928) [64:com.vaadin.server:7.2.7]
      at com.vaadin.ui.AbstractField.getErrorMessage(AbstractField.java:1037) [64:com.vaadin.server:7.2.7]
      at com.vaadin.ui.AbstractComponent.beforeClientResponse(AbstractComponent.java:677) [64:com.vaadin.server:7.2.7]
      at com.vaadin.ui.AbstractField.beforeClientResponse(AbstractField.java:1699) [64:com.vaadin.server:7.2.7]
      at com.vaadin.ui.AbstractTextField.beforeClientResponse(AbstractTextField.java:105) [64:com.vaadin.server:7.2.7]
      at com.vaadin.server.communication.UidlWriter.write(UidlWriter.java:100) [64:com.vaadin.server:7.2.7]
      at com.vaadin.server.communication.UidlRequestHandler.writeUidl(UidlRequestHandler.java:151) [64:com.vaadin.server:7.2.7]
      at com.vaadin.server.communication.UidlRequestHandler.synchronizedHandleRequest(UidlRequestHandler.java:99) [64:com.vaadin.server:7.2.7]
      at com.vaadin.server.SynchronizedRequestHandler.handleRequest(SynchronizedRequestHandler.java:41) [64:com.vaadin.server:7.2.7]
      at com.vaadin.server.VaadinService.handleRequest(VaadinService.java:1401) [64:com.vaadin.server:7.2.7]
      at com.vaadin.server.VaadinServlet.service(VaadinServlet.java:237) [64:com.vaadin.server:7.2.7]
      at org.opennms.vaadin.extender.internal.extender.ApplicationFactoryServiceTracker$FactoryServlet.service(ApplicationFactoryServiceTracker.java:89) [171:org.opennms.features.vaadin-components.extender-service:21.0.0]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) [?:?]
      at org.opennms.container.web.felix.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:101) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.felix.base.internal.handler.ServletHandler.handle(ServletHandler.java:84) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.felix.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:43) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.felix.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:52) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.felix.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:35) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.felix.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:50) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.felix.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:42) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.bridge.internal.DispatcherFilter.doFilter(DispatcherFilter.java:72) [118:org.opennms.container.web.bridge:21.0.0]
      at org.opennms.container.web.ProxyFilter.doFilter(ProxyFilter.java:56) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621) [?:?]
      at org.extremecomponents.table.filter.AbstractExportFilter.doFilter(AbstractExportFilter.java:49) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621) [?:?]
      at org.opennms.web.servlet.StoreRequestPropertiesFilter.doFilter(StoreRequestPropertiesFilter.java:79) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330) [?:?]
      at org.opennms.web.springframework.security.AuthFilterEnabler.doFilter(AuthFilterEnabler.java:115) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118) [?:?]
      at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:110) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50) [?:?]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87) [?:?]
      at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342) [?:?]
      at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192) [?:?]
      at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160) [?:?]
      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [?:?]
      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621) [?:?]
      at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:231) [?:?]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1621) [?:?]
      at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) [?:?]
      at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1613) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:541) [?:?]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) [?:?]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [?:?]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [?:?]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:190) [?:?]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1584) [?:?]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) [?:?]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1228) [?:?]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) [?:?]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:481) [?:?]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1553) [?:?]
      at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) [?:?]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1130) [?:?]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [?:?]
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213) [?:?]
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:118) [?:?]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [?:?]
      at org.opennms.netmgt.jetty.MDCHandler.handle(MDCHandler.java:46) [?:?]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) [?:?]
      at org.eclipse.jetty.server.Server.handle(Server.java:564) [?:?]
      at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:318) [?:?]
      at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) [?:?]
      at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) [?:?]
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:112) [?:?]
      at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:261) [?:?]
      at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:150) [?:?]
      at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:112) [?:?]
      at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) [?:?]
      at org.eclipse.jetty.util.thread.Invocable.invokePreferred(Invocable.java:122) [?:?]
      at org.eclipse.jetty.util.thread.strategy.ExecutingExecutionStrategy.invoke(ExecutingExecutionStrategy.java:58) [?:?]
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:201) [?:?]
      at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:133) [?:?]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672) [?:?]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590) [?:?]
      at java.lang.Thread.run(Thread.java:745) [?:?]
      

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              mmahacek Mark Mahacek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: