Legacy JSF pages in JON UI fail with a NullPointerException indicating: Redirected back to ourselves

Solution Unverified - Updated -

Issue

  • java.lang.NullPointerException when open graphs in the monitoring resources
  • An Error Occurred:

    java.lang.NullPointerException
    + Stack Trace
    + Component Tree
    + Scoped Variables
    ERROR [org.rhq.enterprise.gui.common.framework.FaceletRedirectionViewHandler] Redirected back to ourselves, there must be a problem with the error.xhtml page
    java.lang.NullPointerException
    [facelets.viewhandler] Error Rendering View[/rhq/common/error.xhtml]
    java.lang.NullPointerException
    
  • Server log contains the following error:

    ERROR [org.rhq.enterprise.gui.common.framework.FaceletRedirectionViewHandler] Redirected back to ourselves, there must be a problem with the error.xhtml page
    java.lang.NullPointerException
        at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
        at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
        at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
        at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524)
        at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567)
        at org.rhq.enterprise.gui.common.framework.FaceletRedirectionViewHandler.renderView(FaceletRedirectionViewHandler.java:64)
        ...
    ERROR [facelets.viewhandler] Error Rendering View[/rhq/common/error.xhtml]
    
  • Graphs are not being displayed

  • Administration topology pages fail to display

Environment

  • Red Hat JBoss Operations Network (ON) 3.1.2
  • Attempting to view a page in the user interface (UI) which uses the legacy Java Server Faces (JSF) implementation.
    • This includes:
      • monitoring graphs displayed on resource pages
      • topology pages available under server administration
  • The following directory exists and the user running the JBoss ON server does not have read or access permissions:
    • ${RHQ_SERVER_HOME}/jbossas/server/default/deploy/jboss-web.deployer/ROOT.war/META-INF

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In