| Summary: | Legacy JSF pages fail to display and reports failure in error.xhtml due to NullPointerException | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | ||||||
| Component: | UI | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | Mike Foley <mfoley> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | urgent | ||||||||
| Version: | JON 3.1.2 | CC: | tsegismo | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-12-09 17:43:44 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Larry O'Leary
2013-11-12 15:39:06 UTC
Changed exception logging logic in master
commit 0c0e8e2cb6de3d0cc8ef30a5e079c3cf1df3d2ca
Author: Thomas Segismont <tsegismo>
Date: Thu Nov 14 14:58:41 2013 +0100
Do not wait execution of #GenericErrorUIBean() to print out exception to server log
This is to make sure we always log the exception, even if the error page cannot be displayed.
Created attachment 825770 [details]
Root error logged by Byteman prior to rendering of error.xhtml
The root error (that seems to cause the load of error.xhtml) seems to be the same type of issue. However, from the attached stack, it would appear that the issue relates to class loading problems within JSF.
Please note that this error seems to occur on any JSF related page.
The title of this BZ has been updated to reflect that this issue is not limited to the resource graph pages but instead to any UI page that uses a legacy JSF component. For example it also affects the Administration Topology / [Servers | Agents | Affinity Groups] pages. This issue was caused by a corrupt JBoss ON server installation. Specifically, a META-INF directory had been added to ${RHQ_SERVER_HOME}/jbossas/server/default/deploy/jboss-web.deployer/ROOT.war which was owned by user root and had file permissions of 0700:
ls -ald "${RHQ_SERVER_HOME}/jbossas/server/default/deploy/jboss-web.deployer/ROOT.war/META-INF"
drwx------. 2 root root 4096 Dec 9 10:46 /opt/jboss/jboss-on/jon-server/jbossas/server/default/deploy/jboss-web.deployer/ROOT.war/META-INF
This results in JSF failing to initialize because it can not read the contents of ROOT.war's META-INF directory.
As this identifies an issue in JSF itself and JBoss ON is moving all legacy JSF components to the new UI implementation, there is no plans to pursue this issue.
The fix is to re-install the JBoss ON server or repair the corrupted directory structure or incorrect file permissions.
|