WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

[Xen-cim] Re: Null pointer exception

To: "Subrahmanian, Raj" <raj.subrahmanian@xxxxxxxxxx>
Subject: [Xen-cim] Re: Null pointer exception
From: Jim Fehlig <jfehlig@xxxxxxxxxx>
Date: Fri, 02 Mar 2007 14:19:50 -0700
Cc: xen-cim@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 02 Mar 2007 13:23:02 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
References: 94C8C9E8B25F564F95185BDA64AB05F604C95983@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20060911)
Subrahmanian, Raj wrote:
>>> I think I understand why I am getting the null pointer exception. 
>>> The VSManagement service parses the Virtual Systems Setting 
>>>       
>> Data, in 
>>     
>>> the function vssd2xenconfig.
>>> When it looks for some property value like so propertyvalue = 
>>> CMGetProperty(vssd, "OnReboot", status) And that property 
>>>       
>> value does 
>>     
>>> not exist, I am getting an error like this.
>>> RequestHandlerIFCXML::doProcess caught
>>> Exception:OW_COWIntrusiveReference.cpp: 62
>>> NULLCOWIntrusiveReferenceException: NULL COWReference dereferenced 
>>> Clearly this shouldn't be happening.
>>> Any idea how I can debug this?
>>>       
>> Have you updated your schema?  E.g. 'owmofc 
>> Xen_ComputerSystemSettingData.mof'.  Or easier, 'make 
>> postinstall' to ensure all classes are updated in the cimom.
>>     
> Yeah, still happens.
>
> The issue is not with OnReboot exactly.
> Let's say I am using a bootloader and I don't enter the Kernel parameter
> in the python file. 
> When it runs the CMGetProperty for the 'Kernel' option, it dies with
> that same exception.
>   

Ah, I now I'm remembering an openwbem issue that was causing this
problem on DefineSystem().  I already fixed this bug so no use debugging
it again :-).  Any new OW package from SP1 should do the trick.  Update
your OW packages from beta 4.

Jim

> Raj
>   

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim

<Prev in Thread] Current Thread [Next in Thread>