Bug 481778 - Null Pointer Exception Deleting Unpublished Errata
Summary: Null Pointer Exception Deleting Unpublished Errata
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.4
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Devan Goodwin
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05
TreeView+ depends on / blocked
 
Reported: 2009-01-27 15:17 UTC by Devan Goodwin
Modified: 2009-09-17 07:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:09:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Devan Goodwin 2009-01-27 15:17:20 UTC
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.

Comment 1 Devan Goodwin 2009-01-27 15:21:09 UTC
Fixed in 4083629c5762e2a7a425815c467bb4788520b4e2.

Comment 2 Devan Goodwin 2009-03-30 15:19:52 UTC
Verified in spacewalk 0.5.

Comment 3 Jesus M. Rodriguez 2009-04-14 14:12:34 UTC
Spacewalk 0.5 released.

Comment 4 Miroslav Suchý 2009-09-17 07:09:42 UTC
Spacewalk 0.5 has been released for long time ago.


Note You need to log in before you can comment on or make changes to this bug.