Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Null Exception when accessing Activities

Null Exception when accessing Activities

New Contributor

I'm getting this Null Exception when I try to access the activities window with a standard user. I'm using Cloudera Standard 4.8.2 (#101 built by jenkins on 20140226). I cannot reproduce the ERROR with an CM administrator :

 

2014-05-06 07:04:13,748 INFO [216564254@scm-web-12564:cmf.AuthenticationSuccessEventListener@23] Authentication success for user: XXX
2014-05-06 07:05:41,838 INFO [826575098@scm-web-12568:common.JFrameException@167] Exception report generated accessing http://localhost:7180/cmf/services/20/monitor/activities
java.lang.NullPointerException
at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:191)
at com.cloudera.server.web.common.I18n.t(I18n.java:180)
at com.cloudera.server.web.common.I18n.t(I18n.java:92)
at com.cloudera.server.web.cmf.charts.amon.AmonViewFactory.getPlot(AmonViewFactory.java:96)
at com.cloudera.server.web.cmf.charts.amon.AmonViewFactory.getClusterView(AmonViewFactory.java:61)
at com.cloudera.server.web.cmon.include.ActivityChartsV2Impl.renderNoFlush(ActivityChartsV2Impl.java:57)
at com.cloudera.server.web.cmon.include.ActivityChartsV2.renderNoFlush(ActivityChartsV2.java:170)
at com.cloudera.server.web.cmon.include.ActivitiesImpl.renderNoFlush(ActivitiesImpl.java:55)
at com.cloudera.server.web.cmon.include.Activities.renderNoFlush(Activities.java:132)
at com.cloudera.server.web.cmon.ActivitiesImpl.child_render_3(ActivitiesImpl.java:73)
at com.cloudera.server.web.cmon.ActivitiesBaseImpl.child_render_2(ActivitiesBaseImpl.java:62)
at com.cloudera.server.web.common.SimpleBaseImpl.child_render_1(SimpleBaseImpl.java:265)
at com.cloudera.server.web.common.MegaBaseImpl.renderNoFlush(MegaBaseImpl.java:156)
at com.cloudera.server.web.cmon.Activities.renderNoFlush(Activities.java:168)
at com.cloudera.server.web.cmon.Activities.render(Activities.java:156)
at com.cloudera.server.web.cmon.Activities$1.renderTo(Activities.java:148)
at com.cloudera.server.web.common.JamonModelAndView$JamonView.<init>(JamonModelAndView.java:50)
at com.cloudera.server.web.common.JamonModelAndView$JamonView.<init>(JamonModelAndView.java:27)
at com.cloudera.server.web.common.JamonModelAndView.of(JamonModelAndView.java:86)
at com.cloudera.server.web.cmon.ContextTableController.renderActivitiesPage(ContextTableController.java:334)
at com.cloudera.server.web.cmon.ContextTableController.checkedRenderActivitiesPage(ContextTableController.java:268)
at com.cloudera.server.web.cmon.ContextTableController.monitorActivities(ContextTableController.java:361)
at com.cloudera.server.web.cmon.ContextTableController$$FastClassByCGLIB$$492bbd5d.invoke(<generated>)
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:617)
at com.cloudera.server.web.cmon.ContextTableController$$EnhancerByCGLIB$$752bc447.monitorActivities(<generated>)
at sun.reflect.GeneratedMethodAccessor1820.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:436)
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:424)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:669)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:574)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:78)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:131)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at com.jamonapi.http.JAMonServletFilter.doFilter(JAMonServletFilter.java:48)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter.doFilter(JavaMelodyFacade.java:109)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:101)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:125)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.handler.StatisticsHandler.handle(StatisticsHandler.java:53)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

 

Thanks,

 

2 REPLIES 2

Re: Null Exception when accessing Activities

Cloudera Employee

You might have found a bug.

 

For now, to work around the problem,

 

1. go to this URL (login as the user that saw the issue), http://<SERVER>:7180/cmf/debug/demos?type=userSettings

2. Please copy the existing content and send it to us. This will greaty help us root cause the issue faster.

3. click the Clear Settings button.

4. Now go back to the Activities page, the error should go away.

 

Sorry for the inconvenience caused.

 

Andrew

 

 

Re: Null Exception when accessing Activities

New Contributor

Thanks, it's resolved.

Don't have an account?
Coming from Hortonworks? Activate your account here