Bug 549391
| Summary: | ISE when audit searching without any machine information | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Tomas Lestach <tlestach> |
| Component: | WebUI | Assignee: | Tomas Lestach <tlestach> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.8 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-02-16 12:56:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 543511 | ||
Just adding a check for a null return value. spacewalk.git: 4531e96e8a2d5b6bed5c9598e9d8810932310f8d Spacewalk 0.8 has been released |
Description of problem: When having no machine audit information in systemlogs, getting ISE, when audit search is triggered Version-Release number of selected component (if applicable): Spacewalk nightly 0.8 How reproducible: always Steps to Reproduce: 1. Make sure, you have no subdirectories in /var/satellite/systemlogs/ 2. Navigate to WebUI - Audit - Search 3. Press search button Actual results: ISE with following traceback: java.lang.NullPointerException at com.redhat.rhn.manager.audit.AuditManager.getAuditLogs(AuditManager.java:100) at com.redhat.rhn.frontend.action.audit.AuditSearchAction.execute(AuditSearchAction.java:218) ... Expected results: No ISEs, no exceptions.