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: http://pastebin.com/f377cd03a And Apache log at: http://pastebin.com/f44fc6551 Using Spacewalk 0.4 + CentOS 5.2: # rpm -qa spacewalk centos-release spacewalk-0.4.2-3.el5 centos-release-5-2.el5.centos Clifford Perry adds more info in the Spacewalk list [1]: "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." [1] https://www.redhat.com/archives/spacewalk-list/2009-February/msg00192.html
fixed 9f17fb3f98a22685630be5b45ab3b32e9ae0720a 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.