Alerts History view on Overview page in JON fails to display alert history due to PageControlView[SubsystemAlertHistoryUIBean] receiving a NullPointerException

Solution Verified - Updated -

Issue

  • Overview > Subsystem > Alerts does not work
  • Selecting Overview > Subsystem > Alerts does not show any alerts occurring
  • When trying to access the Overview -> Subsystem Views -> Alerts page, the following exception appears in the server log:
    ERROR [org.rhq.enterprise.gui.common.paging.PagedListDataModel] PageControlView[SubsystemAlertHistoryUIBean]: Received error[java.lang.NullPointerException], resetting to PageControl[page=0, size=45]
    ERROR [org.rhq.enterprise.gui.common.paging.PagedListDataModel] Could not retrieve collection for PageControlView[SubsystemAlertHistoryUIBean]
    javax.ejb.EJBException: java.lang.NullPointerException
         at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
         at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
         ...
         at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:84)
         at $Proxy333.disambiguate(Unknown Source)
         at org.rhq.enterprise.gui.common.paging.ResourceNameDisambiguatingPagedListDataModel.fetchPage(ResourceNameDisambiguatingPagedListDataModel.java:69)
         at org.rhq.enterprise.gui.common.paging.PagedListDataModel.fetchPageGuarded(PagedListDataModel.java:388)
         at org.rhq.enterprise.gui.common.paging.PagedListDataModel.getDataPage(PagedListDataModel.java:296)
         at org.rhq.enterprise.gui.common.paging.PagedListDataModel.getPage(PagedListDataModel.java:125)
         at org.rhq.enterprise.gui.common.paging.PagedListDataModel.getRowCount(PagedListDataModel.java:111)
         at org.ajax4jsf.model.SequenceDataModel.getRowCount(SequenceDataModel.java:139)
         ...
         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
         at org.rhq.enterprise.server.resource.disambiguation.DefaultDisambiguationUpdateStrategies.updateResources(DefaultDisambiguationUpdateStrategies.java:151)
         at org.rhq.enterprise.server.resource.disambiguation.DefaultDisambiguationUpdateStrategies$4.update(DefaultDisambiguationUpdateStrategies.java:103)
         at org.rhq.enterprise.server.resource.disambiguation.Disambiguator.repartitionUnique(Disambiguator.java:271)
         at org.rhq.enterprise.server.resource.disambiguation.Disambiguator.disambiguate(Disambiguator.java:231)
         at org.rhq.enterprise.server.resource.ResourceManagerBean.disambiguate(ResourceManagerBean.java:2134)
         at sun.reflect.GeneratedMethodAccessor333.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
         at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
         at org.rhq.enterprise.server.common.TransactionInterruptInterceptor.addCheckedActionToTransactionManager(TransactionInterruptInterceptor.java:77)
         at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
         at org.rhq.enterprise.server.authz.RequiredPermissionsInterceptor.checkRequiredPermissions(RequiredPermissionsInterceptor.java:156)
         at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
         at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
         ... 91 more
    

Environment

  • JBoss Operations Network (JON) 2.4.0
  • Viewing JON UI Overview -> Subsystem Views -> Alerts page (http://localhost:7080/rhq/subsystem/alertHistory.xhtml)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content