Bug 481778
| Summary: | Null Pointer Exception Deleting Unpublished Errata | ||
|---|---|---|---|
| Product: | [Community] Spacewalk | Reporter: | Devan Goodwin <dgoodwin> |
| Component: | WebUI | Assignee: | Devan Goodwin <dgoodwin> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.4 | ||
| 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: | 2009-09-17 07:09:42 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: | 456553 | ||
Fixed in 4083629c5762e2a7a425815c467bb4788520b4e2. Verified in spacewalk 0.5. Spacewalk 0.5 released. Spacewalk 0.5 has been released for long time ago. |
Deleting a single unpublished errata from it's details page causes a null pointer exception. Steps to Reproduce: 1. Create an errata: Errata -> Manage Errata -> create new erratum 2. After creation you'll be viewing the new errata's details page. 3. Click delete link in the top right hand corner. Actual results: Null pointer exception: Caused by: java.lang.NullPointerException at com.redhat.rhn.frontend.action.errata.DeleteErratumAction.deleteErratum(DeleteErratumAction.java:9 5) Additional info: Caused by UnpublishedErrata.getChannels() returning null instead of an empty set. This issue once affected deleting errata from the Unpublished Errata list, but this now follows another code path that does not trigger the bug.