Not able to deliver more than 5 parameters in method (from method provider )

"Manjunath Marlabeeti" <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <6D70A609692F8249BCDAD51F062E9AA017A160@exchangesrv>
Hi,

 

I have written method in method provider.

But that method not returning more than 5 parameter values. After doing
debugging  I found the below lines where exactly I am getting the crash.

 

                for(unsigned int ui=0;ui<vectPCIInfo->size();ui++)

                {

 
handler.deliverParamValue(CIMParamValue("strManufacturer",CIMValue(Strin
g(vectPCIInfo->at(ui)->strManufacturer.c_str()))));

 
handler.deliverParamValue(CIMParamValue("strCompatableIDs",CIMValue(Stri
ng(vectPCIInfo->at(ui)->strCompatableIDs.c_str()))));

 
handler.deliverParamValue(CIMParamValue("strDescription",CIMValue(String
(vectPCIInfo->at(ui)->strDescription.c_str()))));

 
handler.deliverParamValue(CIMParamValue("strBus",CIMValue(String(vectPCI
Info->at(ui)->strBus.c_str()))));

 
handler.deliverParamValue(CIMParamValue("strClass",CIMValue(String(vectP
CIInfo->at(ui)->strClass.c_str()))));

 
handler.deliverParamValue(CIMParamValue("strHWIDS",CIMValue(String(vectP
CIInfo->at(ui)->strHWIDS.c_str()))));

                }

                handler.deliver(Uint32(uiretVal));

                handler.complete();

 

In the for loop 6 parameter values are getting delivered if comment any
of the line (i.e only with 5 parameters) cimserver is not getting
crashed.

If I use 6 parameter values to deliver, cimserver is crashing with the
below error

 

Assertion failed: _request.get() != 0, file
C:/pegasus/src\Pegasus/Common/AsyncOpNode.h, line 109

 

This application has requested the Runtime to terminate it in an unusual
way.

Please contact the application's support team for more information.

 

In my application I need to return 6 parameter values so please suggest
me how to proceed to solve crash problem.

 

Thanks,

Manjunath M
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.