Support Questions

Find answers, ask questions, and share your expertise

NullPointerException on Dynamic Pools Status Page

avatar
Explorer

I'm having a problem with the dynamic resource pool page.  When I click the link to it i get a NullPointerException error.

 

I'm still able to access the static resources pool page.

 

Server Error

A server error has occurred. Send the following information to Cloudera.

Path: https://server:7183/cmf/services/30/pools/status

Version: Cloudera Express 5.2.0 (#60 built by jenkins on 20141012-2239 git: 179000584849e68f98ad2a7fe710723bd6c29c98)

java.lang.NullPointerException:
at PredefinedViews.java line 1643
in com.cloudera.cmon.components.PredefinedViews getPoolsStatusView()
Stack Trace:
  1. PredefinedViews.java line 1643
    in com.cloudera.cmon.components.PredefinedViews getPoolsStatusView()
  2. PoolsController.java line 112
    in com.cloudera.server.web.cmf.rman.pools.PoolsController getStatusPage()
  3. <generated> line -1
    in com.cloudera.server.web.cmf.rman.pools.PoolsController$$FastClassByCGLIB$$dc73a8b invoke()
  4. MethodProxy.java line 191
    in net.sf.cglib.proxy.MethodProxy invoke()
  5. Cglib2AopProxy.java line 617
    in org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor intercept()
  6. <generated> line -1
    in com.cloudera.server.web.cmf.rman.pools.PoolsController$$EnhancerByCGLIB$$8ed025bd getStatusPage()
  7. line -1
    in sun.reflect.GeneratedMethodAccessor2333 invoke()
  8. DelegatingMethodAccessorImpl.java line 43
    in sun.reflect.DelegatingMethodAccessorImpl invoke()
  9. Method.java line 606
    in java.lang.reflect.Method invoke()
  10. HandlerMethodInvoker.java line 176
    in org.springframework.web.bind.annotation.support.HandlerMethodInvoker invokeHandlerMethod()
  11. AnnotationMethodHandlerAdapter.java line 436
    in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter invokeHandlerMethod()
  12. AnnotationMethodHandlerAdapter.java line 424
    in org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter handle()
  13. DispatcherServlet.java line 790
    in org.springframework.web.servlet.DispatcherServlet doDispatch()
  14. DispatcherServlet.java line 719
    in org.springframework.web.servlet.DispatcherServlet doService()
  15. FrameworkServlet.java line 669
    in org.springframework.web.servlet.FrameworkServlet processRequest()
  16. FrameworkServlet.java line 574
    in org.springframework.web.servlet.FrameworkServlet doGet()
  17. HttpServlet.java line 707
    in javax.servlet.http.HttpServlet service()
  18. HttpServlet.java line 820
    in javax.servlet.http.HttpServlet service()
  19. ServletHolder.java line 511
    in org.mortbay.jetty.servlet.ServletHolder handle()
  20. ServletHandler.java line 1221
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  21. UserAgentFilter.java line 78
    in org.mortbay.servlet.UserAgentFilter doFilter()
  22. GzipFilter.java line 131
    in org.mortbay.servlet.GzipFilter doFilter()
  23. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  24. JAMonServletFilter.java line 48
    in com.jamonapi.http.JAMonServletFilter doFilter()
  25. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  26. JavaMelodyFacade.java line 109
    in com.cloudera.enterprise.JavaMelodyFacade$MonitoringFilter doFilter()
  27. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  28. FilterChainProxy.java line 311
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  29. FilterSecurityInterceptor.java line 116
    in org.springframework.security.web.access.intercept.FilterSecurityInterceptor invoke()
  30. FilterSecurityInterceptor.java line 83
    in org.springframework.security.web.access.intercept.FilterSecurityInterceptor doFilter()
  31. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  32. ExceptionTranslationFilter.java line 113
    in org.springframework.security.web.access.ExceptionTranslationFilter doFilter()
  33. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  34. SessionManagementFilter.java line 101
    in org.springframework.security.web.session.SessionManagementFilter doFilter()
  35. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  36. AnonymousAuthenticationFilter.java line 113
    in org.springframework.security.web.authentication.AnonymousAuthenticationFilter doFilter()
  37. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  38. RememberMeAuthenticationFilter.java line 146
    in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter doFilter()
  39. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  40. SecurityContextHolderAwareRequestFilter.java line 54
    in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter doFilter()
  41. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  42. RequestCacheAwareFilter.java line 45
    in org.springframework.security.web.savedrequest.RequestCacheAwareFilter doFilter()
  43. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  44. AbstractAuthenticationProcessingFilter.java line 182
    in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter doFilter()
  45. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  46. LogoutFilter.java line 105
    in org.springframework.security.web.authentication.logout.LogoutFilter doFilter()
  47. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  48. SecurityContextPersistenceFilter.java line 87
    in org.springframework.security.web.context.SecurityContextPersistenceFilter doFilter()
  49. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  50. ConcurrentSessionFilter.java line 125
    in org.springframework.security.web.session.ConcurrentSessionFilter doFilter()
  51. FilterChainProxy.java line 323
    in org.springframework.security.web.FilterChainProxy$VirtualFilterChain doFilter()
  52. FilterChainProxy.java line 173
    in org.springframework.security.web.FilterChainProxy doFilter()
  53. DelegatingFilterProxy.java line 237
    in org.springframework.web.filter.DelegatingFilterProxy invokeDelegate()
  54. DelegatingFilterProxy.java line 167
    in org.springframework.web.filter.DelegatingFilterProxy doFilter()
  55. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  56. CharacterEncodingFilter.java line 88
    in org.springframework.web.filter.CharacterEncodingFilter doFilterInternal()
  57. OncePerRequestFilter.java line 76
    in org.springframework.web.filter.OncePerRequestFilter doFilter()
  58. ServletHandler.java line 1212
    in org.mortbay.jetty.servlet.ServletHandler$CachedChain doFilter()
  59. ServletHandler.java line 399
    in org.mortbay.jetty.servlet.ServletHandler handle()
  60. SecurityHandler.java line 216
    in org.mortbay.jetty.security.SecurityHandler handle()
  61. SessionHandler.java line 182
    in org.mortbay.jetty.servlet.SessionHandler handle()
  62. SecurityHandler.java line 216
    in org.mortbay.jetty.security.SecurityHandler handle()
  63. SecurityHandler.java line 216
    in org.mortbay.jetty.security.SecurityHandler handle()
  64. ContextHandler.java line 766
    in org.mortbay.jetty.handler.ContextHandler handle()
  65. WebAppContext.java line 450
    in org.mortbay.jetty.webapp.WebAppContext handle()
  66. HandlerWrapper.java line 152
    in org.mortbay.jetty.handler.HandlerWrapper handle()
  67. StatisticsHandler.java line 53
    in org.mortbay.jetty.handler.StatisticsHandler handle()
  68. HandlerWrapper.java line 152
    in org.mortbay.jetty.handler.HandlerWrapper handle()
  69. Server.java line 326
    in org.mortbay.jetty.Server handle()
  70. HttpConnection.java line 542
    in org.mortbay.jetty.HttpConnection handleRequest()
  71. HttpConnection.java line 928
    in org.mortbay.jetty.HttpConnection$RequestHandler headerComplete()
  72. HttpParser.java line 549
    in org.mortbay.jetty.HttpParser parseNext()
  73. HttpParser.java line 212
    in org.mortbay.jetty.HttpParser parseAvailable()
  74. HttpConnection.java line 404
    in org.mortbay.jetty.HttpConnection handle()
  75. SelectChannelEndPoint.java line 410
    in org.mortbay.io.nio.SelectChannelEndPoint run()
  76. QueuedThreadPool.java line 582
    in org.mortbay.thread.QueuedThreadPool$PoolThread run()
1 ACCEPTED SOLUTION

avatar
Explorer

CM and CM DB stop and start seems to have fixed things.

View solution in original post

3 REPLIES 3

avatar
Explorer

CM and CM DB stop and start seems to have fixed things.

avatar
Explorer

What did you mean by CM DB?

I have the same problem like you, I tried restarting CM and MySql CM is using, but the error remains the same.

avatar
Explorer
Ok, I resolved this problem by restart service cloudera-scm-server