axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krankurs, Leonid" <lkran...@ford.com>
Subject Re: Axis2c, 0.94, error processing
Date Sun, 15 Oct 2006 17:20:19 GMT

Hi Samisa,

Thank you very much for the tip - it works!,

however it seems to me that the error message 
"NULL paramater was passed when a non NULL parameter was expected"
does not look informative as desirable.


Best regards,
Leonid


Samisa Abeysinghe-2 wrote:
> 
> Krankurs Leonid wrote:
>> Hi, 
>>
>> Could you please clarify Axis2c, 0.94 error processing behavior in the
>> following scenario:
>>
>>
>> axis2_allocator_t* allocator = axis2_allocator_init (NULL);
>> axis2_error_t* error = axis2_error_create(allocator);
>> axis2_env_t* env = axis2_env_create_with_error(allocator, error); 
>>   
> calll axis2_error_init(); after creating the error. It is a bug that is 
> is not called from axis2_env_create_with_error, but you can call it 
> yourself for the time being.
>> both calls
>> 	AXIS2_ERROR_GET_MESSAGE(env->error)
>> 	env->error->ops->get_extended_message(env->error)
>> return NULL
>>
>> what is wrong?
>>   
> This would go away, if you call the axis2_error_init(); function. Please 
> raise a Jira for this.
> 
> Another alternative is to call
> axis2_env_create_all() to create the environment. That calls 
> axis2_error_init();
> 
> Samisa...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Axis2c%2C-0.94%2C-error-processing-tf2443488.html#a6822733
Sent from the Axis - C++ - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message