Support Migration Notice: To update migrated JIRA cases click here to open a new case use www.vmware.com/go/sr | vFabric Hyperic 5.7.0 is Now Available

Hyperic HQ

NPE occuring intermittently in dashboard while creating roles from Administration tab, occurs when the user's session expires

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Deferred
  • Affects Version/s: 4.5.1.2, 4.6
  • Fix Version/s: 4.x
  • Component/s: UI / UX
  • Environment:
    linux 64
    HQ 4.5.1.2
  • Case Links:
    none
  • Regression:
    No
  • Tags:

Description

Tc Server QA test suite having some tests which will tests the tc server plugin functionalities with users created with different permissions and roles.

This test suite first create users and roles and logout from HQ and login again with the created user and perform some control operations on tc Server.
And then logout the created user and login again with the normal hq user and delete the created user and role.And again trying to created other user and role.

While this test suite running fastly with selenium some intermittent NPE can be seen on HQ side while logging out from the created user and login again with normal hq user and tried to create other role and user.

This test was working fine with other version of HQ.It is only happening on HQ 4.5.1.2.

The following stack trace can be seen in server.log

2011-03-03 16:41:53,114 WARN [tomcat-http--41] [org.hyperic.hq.ui.taglib.RecentAlertsTag@172] Error while generating recent alerts tag
java.lang.NullPointerException
at org.hyperic.hq.ui.util.RequestUtils.getSessionId(RequestUtils.java:186)
at org.hyperic.hq.ui.taglib.RecentAlertsTag.doStartTag(RecentAlertsTag.java:129)
at jsp.common.RecentAlerts_jsp._jspx_meth_hq_005frecentAlerts_005f0(RecentAlerts_jsp.java:129)
at jsp.common.RecentAlerts_jsp._jspService(RecentAlerts_jsp.java:97)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:409)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)

Activity

Hide
Radhika Madala added a comment -

After bit more investigation,this happens after two or more logouts and logins with hq user and different users.

Show
Radhika Madala added a comment - After bit more investigation,this happens after two or more logouts and logins with hq user and different users.
Hide
Paul Harris added a comment -

Confirmed still present in HQ4.6

Show
Paul Harris added a comment - Confirmed still present in HQ4.6
Hide
Radhika Madala added a comment -

There is one more NPE exists in the dashboard for the same scenario when trying to login with the normal HQ user .

The following stack trace can be seen in the build log of TCS plugin test suite.

build 26-May-2011 09:31:22 [junit] 09:29:19.892 INFO - Command request: open[/SignIn.html, true] on session c487426e8ac64e888026c49eaab2cb1b
build 26-May-2011 09:31:22 [junit] 09:29:19.948 INFO - Got result: OK on session c487426e8ac64e888026c49eaab2cb1b
build 26-May-2011 09:31:22 [junit] 09:29:19.950 INFO - Command request: type[usernameInput, hqadmin] on session c487426e8ac64e888026c49eaab2cb1b
build 26-May-2011 09:31:22 [junit] 09:29:19.969 INFO - Got result: ERROR: Element usernameInput not found on session c487426e8ac64e888026c49eaab2cb1b
build 26-May-2011 09:31:22 [junit] 09:29:19.970 INFO - Command request: captureEntirePageScreenshot[/opt/bamboo-home/xml-data/build-dir/TCSHQPQA-V25X4520X-JOB1/checkout/build-tc-server-hq-plugin/target/test-results/diagnostics/AFTER-com.springsource.qa.tcshqplugin.permissions.ControlActionsFullServerPermissionsTests.destroyGroupUserAndRole.png, ] on session c487426e8ac64e888026c49eaab2cb1b
build 26-May-2011 09:31:22 [junit] 09:29:20.047 INFO - Got result: [base64 encoded PNG] on session c487426e8ac64e888026c49eaab2cb1b
build 26-May-2011 09:31:22 [junit] Wrote failure screen shot to '/opt/bamboo-home/xml-data/build-dir/TCSHQPQA-V25X4520X-JOB1/checkout/build-tc-server-hq-plugin/target/test-results/diagnostics/AFTER-com.springsource.qa.tcshqplugin.permissions.ControlActionsFullServerPermissionsTests.destroyGroupUserAndRole.png'
build 26-May-2011 09:31:22 [junit] 09:29:20.048 INFO - Command request: getHtmlSource[, ] on session c487426e8ac64e888026c49eaab2cb1b
build 26-May-2011 09:31:22 [junit] 09:29:20.114 INFO - Got result: OK,<head>
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit] <title>HQ Error</title>
build 26-May-2011 09:31:22 [junit] <link rel="stylesheet" href="/css/win.css" type="text/css">
build 26-May-2011 09:31:22 [junit] <link rel="stylesheet" href="HQ_40.css" type="text/css">
build 26-May-2011 09:31:22 [junit] <script src="/js/functions.js" type="text/javascript"></script>
build 26-May-2011 09:31:22 [junit] <script type="text/javascript">
build 26-May-2011 09:31:22 [junit] var help = "http://support.hyperic.com/confluence/display/EVO/ui-Dashboard";
build 26-May-2011 09:31:22 [junit] </script>
build 26-May-2011 09:31:22 [junit] </head><body class="exception" style="background-color: rgb(238, 238, 238);">
build 26-May-2011 09:31:22 [junit] <br>
build 26-May-2011 09:31:22 [junit] <br>
build 26-May-2011 09:31:22 [junit] <br>
build 26-May-2011 09:31:22 [junit] <br>
build 26-May-2011 09:31:22 [junit] <br>
build 26-May-2011 09:31:22 [junit] <br>
build 26-May-2011 09:31:22 [junit] <div align="center">
build 26-May-2011 09:31:22 [junit] <table width="400" border="0" cellpadding="0" cellspacing="0">
build 26-May-2011 09:31:22 [junit] <tbody><tr>
build 26-May-2011 09:31:22 [junit] <td>
build 26-May-2011 09:31:22 [junit] <table class="errorTitle" width="100%" border="0" cellpadding="0" cellspacing="0">
build 26-May-2011 09:31:22 [junit] <tbody><tr>
build 26-May-2011 09:31:22 [junit] <td class="BlockTitle" width="100%">Error</td>
build 26-May-2011 09:31:22 [junit] <td class="BlockTitle" align="right"><a href="" onclick="window.open(help,'help','width=800,height=650,scrollbars=yes,left=80,top=80,resizable=yes'); return false;"><img src="/images/4.0/icons/help.gif" height="16" width="16" border="0"></a></td>
build 26-May-2011 09:31:22 [junit] </tr>
build 26-May-2011 09:31:22 [junit] </tbody></table>
build 26-May-2011 09:31:22 [junit] </td>
build 26-May-2011 09:31:22 [junit] </tr>
build 26-May-2011 09:31:22 [junit] <tr>
build 26-May-2011 09:31:22 [junit] <td class="BlockContent" colspan="2">
build 26-May-2011 09:31:22 [junit] <p>
build 26-May-2011 09:31:22 [junit] The page requested cannot be displayed due to some error.
build 26-May-2011 09:31:22 [junit] You can
build 26-May-2011 09:31:22 [junit] <span id="stacktrace_link">
build 26-May-2011 09:31:22 [junit] <a href="javascript:displayStackTrace()">view the stack trace.</a>
build 26-May-2011 09:31:22 [junit] </span>
build 26-May-2011 09:31:22 [junit] Return to the
build 26-May-2011 09:31:22 [junit] <a href="javascript:history.back(1)">previous page,</a>
build 26-May-2011 09:31:22 [junit] <a href="/Dashboard.do">Dashboard,</a>
build 26-May-2011 09:31:22 [junit] <a href="/ResourceHub.do">or Browse Resources.</a>
build 26-May-2011 09:31:22 [junit] page.
build 26-May-2011 09:31:22 [junit] </p>
build 26-May-2011 09:31:22 [junit] </td>
build 26-May-2011 09:31:22 [junit] </tr>
build 26-May-2011 09:31:22 [junit] <tr>
build 26-May-2011 09:31:22 [junit] <td class="BlockContent" colspan="2"><span id="display"></span></td>
build 26-May-2011 09:31:22 [junit] </tr>
build 26-May-2011 09:31:22 [junit] <tr>
build 26-May-2011 09:31:22 [junit] <td class="ErrorBlock" colspan="2"><b></b></td>
build 26-May-2011 09:31:22 [junit] </tr>
build 26-May-2011 09:31:22 [junit] <tr>
build 26-May-2011 09:31:22 [junit] <td class="BlockBottomLine" colspan="2"><img src="/images/spacer.gif" alt="" height="1" width="1" border="0"></td>
build 26-May-2011 09:31:22 [junit] </tr>
build 26-May-2011 09:31:22 [junit] </tbody></table>
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit]
build 26-May-2011 09:31:22 [junit] <div id="exception" style="visibility: hidden; display: none;">java.lang.NullPointerException
build 26-May-2011 09:31:22 [junit] at org.hyperic.hq.ui.action.portlet.DisplayDashboardAction.execute(DisplayDashboardAction.java:95)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.actions.TilesAction.execute(TilesAction.java:76)
build 26-May-2011 09:31:22 [junit] at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:113)
build 26-May-2011 09:31:22 [junit] at org.hyperic.hq.ui.action.BaseRequestProcessor.processActionPerform(BaseRequestProcessor.java:59)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.UrlController.execute(UrlController.java:92)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:251)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:370)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:566)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:212)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380)
build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169)
build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
build 26-May-2011 09:31:22 [junit] at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164)
build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141)
build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90)
build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
build 26-May-2011 09:31:22 [junit] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
build 26-May-2011 09:31:22 [junit] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
build 26-May-2011 09:31:22 [junit] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
build 26-May-2011 09:31:22 [junit] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:409)
build 26-May-2011 09:31:22 [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
build 26-May-2011 09:31:22 [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
build 26-May-2011 09:31:22 [junit] at java.lang.Thread.run(Thread.java:619)</div>

Show
Radhika Madala added a comment - There is one more NPE exists in the dashboard for the same scenario when trying to login with the normal HQ user . The following stack trace can be seen in the build log of TCS plugin test suite. build 26-May-2011 09:31:22 [junit] 09:29:19.892 INFO - Command request: open[/SignIn.html, true] on session c487426e8ac64e888026c49eaab2cb1b build 26-May-2011 09:31:22 [junit] 09:29:19.948 INFO - Got result: OK on session c487426e8ac64e888026c49eaab2cb1b build 26-May-2011 09:31:22 [junit] 09:29:19.950 INFO - Command request: type[usernameInput, hqadmin] on session c487426e8ac64e888026c49eaab2cb1b build 26-May-2011 09:31:22 [junit] 09:29:19.969 INFO - Got result: ERROR: Element usernameInput not found on session c487426e8ac64e888026c49eaab2cb1b build 26-May-2011 09:31:22 [junit] 09:29:19.970 INFO - Command request: captureEntirePageScreenshot[/opt/bamboo-home/xml-data/build-dir/TCSHQPQA-V25X4520X-JOB1/checkout/build-tc-server-hq-plugin/target/test-results/diagnostics/AFTER-com.springsource.qa.tcshqplugin.permissions.ControlActionsFullServerPermissionsTests.destroyGroupUserAndRole.png, ] on session c487426e8ac64e888026c49eaab2cb1b build 26-May-2011 09:31:22 [junit] 09:29:20.047 INFO - Got result: [base64 encoded PNG] on session c487426e8ac64e888026c49eaab2cb1b build 26-May-2011 09:31:22 [junit] Wrote failure screen shot to '/opt/bamboo-home/xml-data/build-dir/TCSHQPQA-V25X4520X-JOB1/checkout/build-tc-server-hq-plugin/target/test-results/diagnostics/AFTER-com.springsource.qa.tcshqplugin.permissions.ControlActionsFullServerPermissionsTests.destroyGroupUserAndRole.png' build 26-May-2011 09:31:22 [junit] 09:29:20.048 INFO - Command request: getHtmlSource[, ] on session c487426e8ac64e888026c49eaab2cb1b build 26-May-2011 09:31:22 [junit] 09:29:20.114 INFO - Got result: OK,<head> build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] <title>HQ Error</title> build 26-May-2011 09:31:22 [junit] <link rel="stylesheet" href="/css/win.css" type="text/css"> build 26-May-2011 09:31:22 [junit] <link rel="stylesheet" href="HQ_40.css" type="text/css"> build 26-May-2011 09:31:22 [junit] <script src="/js/functions.js" type="text/javascript"></script> build 26-May-2011 09:31:22 [junit] <script type="text/javascript"> build 26-May-2011 09:31:22 [junit] var help = "http://support.hyperic.com/confluence/display/EVO/ui-Dashboard"; build 26-May-2011 09:31:22 [junit] </script> build 26-May-2011 09:31:22 [junit] </head><body class="exception" style="background-color: rgb(238, 238, 238);"> build 26-May-2011 09:31:22 [junit] <br> build 26-May-2011 09:31:22 [junit] <br> build 26-May-2011 09:31:22 [junit] <br> build 26-May-2011 09:31:22 [junit] <br> build 26-May-2011 09:31:22 [junit] <br> build 26-May-2011 09:31:22 [junit] <br> build 26-May-2011 09:31:22 [junit] <div align="center"> build 26-May-2011 09:31:22 [junit] <table width="400" border="0" cellpadding="0" cellspacing="0"> build 26-May-2011 09:31:22 [junit] <tbody><tr> build 26-May-2011 09:31:22 [junit] <td> build 26-May-2011 09:31:22 [junit] <table class="errorTitle" width="100%" border="0" cellpadding="0" cellspacing="0"> build 26-May-2011 09:31:22 [junit] <tbody><tr> build 26-May-2011 09:31:22 [junit] <td class="BlockTitle" width="100%">Error</td> build 26-May-2011 09:31:22 [junit] <td class="BlockTitle" align="right"><a href="" onclick="window.open(help,'help','width=800,height=650,scrollbars=yes,left=80,top=80,resizable=yes'); return false;"><img src="/images/4.0/icons/help.gif" height="16" width="16" border="0"></a></td> build 26-May-2011 09:31:22 [junit] </tr> build 26-May-2011 09:31:22 [junit] </tbody></table> build 26-May-2011 09:31:22 [junit] </td> build 26-May-2011 09:31:22 [junit] </tr> build 26-May-2011 09:31:22 [junit] <tr> build 26-May-2011 09:31:22 [junit] <td class="BlockContent" colspan="2"> build 26-May-2011 09:31:22 [junit] <p> build 26-May-2011 09:31:22 [junit] The page requested cannot be displayed due to some error. build 26-May-2011 09:31:22 [junit] You can build 26-May-2011 09:31:22 [junit] <span id="stacktrace_link"> build 26-May-2011 09:31:22 [junit] <a href="javascript:displayStackTrace()">view the stack trace.</a> build 26-May-2011 09:31:22 [junit] </span> build 26-May-2011 09:31:22 [junit] Return to the build 26-May-2011 09:31:22 [junit] <a href="javascript:history.back(1)">previous page,</a> build 26-May-2011 09:31:22 [junit] <a href="/Dashboard.do">Dashboard,</a> build 26-May-2011 09:31:22 [junit] <a href="/ResourceHub.do">or Browse Resources.</a> build 26-May-2011 09:31:22 [junit] page. build 26-May-2011 09:31:22 [junit] </p> build 26-May-2011 09:31:22 [junit] </td> build 26-May-2011 09:31:22 [junit] </tr> build 26-May-2011 09:31:22 [junit] <tr> build 26-May-2011 09:31:22 [junit] <td class="BlockContent" colspan="2"><span id="display"></span></td> build 26-May-2011 09:31:22 [junit] </tr> build 26-May-2011 09:31:22 [junit] <tr> build 26-May-2011 09:31:22 [junit] <td class="ErrorBlock" colspan="2"><b></b></td> build 26-May-2011 09:31:22 [junit] </tr> build 26-May-2011 09:31:22 [junit] <tr> build 26-May-2011 09:31:22 [junit] <td class="BlockBottomLine" colspan="2"><img src="/images/spacer.gif" alt="" height="1" width="1" border="0"></td> build 26-May-2011 09:31:22 [junit] </tr> build 26-May-2011 09:31:22 [junit] </tbody></table> build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] build 26-May-2011 09:31:22 [junit] <div id="exception" style="visibility: hidden; display: none;">java.lang.NullPointerException build 26-May-2011 09:31:22 [junit] at org.hyperic.hq.ui.action.portlet.DisplayDashboardAction.execute(DisplayDashboardAction.java:95) build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.actions.TilesAction.execute(TilesAction.java:76) build 26-May-2011 09:31:22 [junit] at org.springframework.web.struts.DelegatingActionProxy.execute(DelegatingActionProxy.java:113) build 26-May-2011 09:31:22 [junit] at org.hyperic.hq.ui.action.BaseRequestProcessor.processActionPerform(BaseRequestProcessor.java:59) build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488) build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.UrlController.execute(UrlController.java:92) build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:251) build 26-May-2011 09:31:22 [junit] at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:370) build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:566) build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:212) build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) build 26-May-2011 09:31:22 [junit] at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) build 26-May-2011 09:31:22 [junit] at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:368) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:100) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:35) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:177) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:105) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:380) build 26-May-2011 09:31:22 [junit] at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:169) build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) build 26-May-2011 09:31:22 [junit] at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) build 26-May-2011 09:31:22 [junit] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164) build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) build 26-May-2011 09:31:22 [junit] at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:417) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) build 26-May-2011 09:31:22 [junit] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) build 26-May-2011 09:31:22 [junit] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) build 26-May-2011 09:31:22 [junit] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) build 26-May-2011 09:31:22 [junit] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:409) build 26-May-2011 09:31:22 [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) build 26-May-2011 09:31:22 [junit] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) build 26-May-2011 09:31:22 [junit] at java.lang.Thread.run(Thread.java:619)</div>
Hide
Scott Feldstein added a comment -

this occurs when the user's session times out in HQ.

Show
Scott Feldstein added a comment - this occurs when the user's session times out in HQ.
Hide
Adar Margalit added a comment -

Should be redirected to login page.

Show
Adar Margalit added a comment - Should be redirected to login page.
Hide
Yoav Epelman added a comment -

Bulk change to new components

Show
Yoav Epelman added a comment - Bulk change to new components
Hide
Idan Hod added a comment -

As part of our continuous effort to improve product quality, The Hyperic product team has decided to implement a "zero bug policy" methodology.

Following this methodology, only defects that are planned to be handled in the near future will remain open. Any other defect will be deferred, with the option to be reevaluated if the need arises, or if changes to the Hyperic road-map make such defect a candidate for a fix.

We believe this new process will help create clarity and focus in the Hyperic road-map and ultimately benefit our customer base.

This bug has been deferred as part of the new policy.

We appreciate your cooperation and continues contribution to the improvement of Hyperic.

Show
Idan Hod added a comment - As part of our continuous effort to improve product quality, The Hyperic product team has decided to implement a "zero bug policy" methodology. Following this methodology, only defects that are planned to be handled in the near future will remain open. Any other defect will be deferred, with the option to be reevaluated if the need arises, or if changes to the Hyperic road-map make such defect a candidate for a fix. We believe this new process will help create clarity and focus in the Hyperic road-map and ultimately benefit our customer base. This bug has been deferred as part of the new policy. We appreciate your cooperation and continues contribution to the improvement of Hyperic.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved:
    Last comment:
    42 weeks ago