0 Replies Latest reply on Jun 6, 2013 9:11 PM by Changchun Hu

    RHQ 4.7.0 Error on Compatible Group Page with chrome

    Changchun Hu Newbie

      Dear RHQ Team,

       

      The compatible group page always throw exception when I open the page with Chrome. Then I get a warning "Server returned FAILURE with no error message" and compatible group items disappear.

      My Chrome version is 27.0.1453.94 m. And the problem disappear after I open "Debug Console" with pressing F12. And this problem doesn't happen on Firefox browser.

       

      You can reproduce the problem by create a compatible group first and then view the compatible gourp page with Chrome. Please let me know if you need details about the steps.

       

      When I get this problem, I check the server side log and doubt the front web side sends the same request twice. To convice my thought, I open the "Debug Console" of Chrome, then the problem disappers.

      As RHQ doesn't support Chrome offically, I try Firefox instead, the problem doesn't happen. So may be it is a problem on front side. I hope you can solve it soon. Many thanks.

       

       

      Compatible group page URL: http://XXX.XXX.XXX.XXX:7080/coregui/#Inventory/Groups/CompatibleGroups

      Server Side log:

      "

      13:05:55,971 ERROR [org.jboss.as.ejb3.invocation] (web-container-thread-1) JBAS014134: EJB Invocation failed on component ResourceGroupManagerBean for method public abstract org.rhq.core.domain.util.PageList org.rhq.enterprise.server.resource.group.ResourceGroupManagerLocal.findResourceGroupCompositesByCriteria(org.rhq.core.domain.auth.Subject,org.rhq.core.domain.criteria.ResourceGroupCriteria): javax.ejb.EJBException: java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50]

          at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:165) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:250) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:315) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:214) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.rhq.enterprise.server.resource.group.ResourceGroupManagerLocal$$$view75.findResourceGroupCompositesByCriteria(Unknown Source) [rhq-enterprise-server-ejb3.jar:4.7.0]

          at org.rhq.enterprise.gui.coregui.server.gwt.ResourceGroupGWTServiceImpl.findResourceGroupCompositesByCriteria(ResourceGroupGWTServiceImpl.java:57)

          at sun.reflect.GeneratedMethodAccessor167.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)

          at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)

          at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)

          at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]

          at org.rhq.enterprise.gui.coregui.server.gwt.AbstractGWTServiceImpl.service(AbstractGWTServiceImpl.java:89)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]

          at sun.reflect.GeneratedMethodAccessor111.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:263)

          at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:261)

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]

          at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [rt.jar:1.7.0_15]

          at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295)

          at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:155)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:288)

          at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:59)

          at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:197)

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

          at org.rhq.helpers.rtfilter.filter.RtFilter.doFilter(RtFilter.java:125) [rhq-rtfilter-4.7.0.jar:4.7.0]

          at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:263)

          at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:261)

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]

          at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [rt.jar:1.7.0_15]

          at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295)

          at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:236)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

          at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:59)

          at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:197)

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

          at org.rhq.enterprise.gui.coregui.server.filter.CacheControlFilter.doFilter(CacheControlFilter.java:70)

          at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:263)

          at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:261)

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]

          at javax.security.auth.Subject.doAsPrivileged(Subject.java:536) [rt.jar:1.7.0_15]

          at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:295)

          at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:236)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

          at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:59)

          at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:197)

          at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.7.0_15]

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

          at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:508)

          at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)

          at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:806)

          at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)

          at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:847)

          at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_15]

          at org.jboss.threads.JBossThread.run(JBossThread.java:122)

      Caused by: java.lang.IllegalArgumentException: PageList was passed an empty collection but 'totalSize' was 1, PageControl[firstRow=25, size=50]

          at org.rhq.core.domain.util.PageList.<init>(PageList.java:87) [rhq-core-domain-ejb3.jar:4.7.0]

          at org.rhq.enterprise.server.util.CriteriaQueryRunner.execute(CriteriaQueryRunner.java:69) [rhq-enterprise-server-ejb3.jar:4.7.0]

          at org.rhq.enterprise.server.resource.group.ResourceGroupManagerBean.findResourceGroupCompositesByCriteria(ResourceGroupManagerBean.java:1604) [rhq-enterprise-server-ejb3.jar:4.7.0]

          at sun.reflect.GeneratedMethodAccessor168.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.rhq.enterprise.server.common.PerformanceMonitorInterceptor.monitorHibernatePerformance(PerformanceMonitorInterceptor.java:26) [rhq-enterprise-server-ejb3.jar:4.7.0]

          at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.rhq.enterprise.server.common.TransactionInterruptInterceptor.addCheckedActionToTransactionManager(TransactionInterruptInterceptor.java:78) [rhq-enterprise-server-ejb3.jar:4.7.0]

          at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.rhq.enterprise.server.authz.RequiredPermissionsInterceptor.checkRequiredPermissions(RequiredPermissionsInterceptor.java:156) [rhq-enterprise-server-ejb3.jar:4.7.0]

          at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) [:1.7.0_15]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_15]

          at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_15]

          at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:58) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [jboss-as-jpa-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]

          at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:248) [jboss-as-ejb3-7.2.0.Final.jar:7.2.0.Final]

          ... 95 more

      "