Red Hat Bugzilla – Bug 484852
Internal Server Error when getting details from a package that is not in any channel
Last modified: 2009-09-17 03:10:07 EDT
I get a "Internal Server Error" in Spacewalk when:
Systems -> Software -> List / Remove -> Select a package
If selected package is not in any channel Spacewalk reports a "Internal Server Error" error.
Full catalina.out is available at:
And Apache log at:
Using Spacewalk 0.4 + CentOS 5.2:
# rpm -qa spacewalk centos-release
Clifford Perry adds more info in the Spacewalk list :
"The issue is that you have packages installed on a client system which do not have packages uploaded on the Spacewalk system. So you go look at the systems package profile, click on to select a specific package - this performs a DB lookup for more details. Sounds like we did not make a proper lookup on if we know details or not - get a Null (or empty data) and this results within the ISE. Other than uploading the package, no short term solution, or stop doing that - please file the bug and hopefully we can get it fixed."
user taken to meaningful error pages instead of ISEs.
Added a new Struts exception handler for NoSuchPackageException.
Cleaned up PackageDetailsAction to handle errors and be better
organized. PackageManager was not handling an empty DataResult which
is a bad thing, now returns null which is handled by the caller.
Added 2 negative tests for the changes made to PackageManager.
Spacewalk 0.5 released.
Spacewalk 0.5 has been released for long time ago.