Bug 515596 - packages.removePackage throws "unhandled internal exception: null"
Summary: packages.removePackage throws "unhandled internal exception: null"
Keywords:
Status: CLOSED DUPLICATE of bug 523146
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Sayli Karmarkar
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2009-08-04 21:15 UTC by John Matthews
Modified: 2012-03-15 12:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-15 12:36:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description John Matthews 2009-08-04 21:15:57 UTC
Description of problem:

I'm trying to delete custom packages through the api. Each time I attempt to delete a package I get an exception.

xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: null'>


from tomcat log

2009-08-04 14:49:39,366 [TP-Processor15] ERROR com.redhat.rhn.frontend.xmlrpc.packages.PackagesHandler - 
java.lang.NullPointerException
        at com.redhat.rhn.manager.rhnpackage.PackageManager.schedulePackageRemoval(PackageManager.java:749)
        at com.redhat.rhn.frontend.xmlrpc.packages.PackagesHandler.removePackage(PackagesHandler.java:382)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)



Version-Release number of selected component (if applicable):
Stage ISO 7/24


How reproducible:
I see this on test1182 and on my upgrade stage sat rhndev1

Steps to Reproduce:
1. Create a custom channel
2. Push custom packages
3. Attempt to remove a package with packages.removePackage()
  
Actual results:
xmlrpclib.Fault: <Fault -1: 'redstone.xmlrpc.XmlRpcFault: unhandled internal exception: null'>


Expected results:
package removed or a better exception than "unhandled internal exception"




Additional info:

Comment 2 Jan Pazdziora 2012-03-15 12:36:21 UTC
The traceback is the same as the one in bug 523146, closing as dupe.

*** This bug has been marked as a duplicate of bug 523146 ***


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