You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Leonid Krankurs (JIRA)" <ji...@apache.org> on 2006/10/15 19:33:34 UTC

[jira] Created: (AXIS2C-340) error, log

error, log
----------

                 Key: AXIS2C-340
                 URL: http://issues.apache.org/jira/browse/AXIS2C-340
             Project: Axis2-C
          Issue Type: Bug
          Components: core/clientapi
    Affects Versions: 0.94
            Reporter: Leonid Krankurs


Hi, 

i have 3 scenaria 
1. m_env = axis2_env_create_with_error_log(m_allocator, m_error, m_log); 
2. m_env = axis2_env_create_with_error(m_allocator, m_error); 
3. m_env = axis2_env_create(m_allocator); 

and somewhere in code 

soap_builder = 
axiom_soap_builder_create 
( 
        m_env, 
        om_builder, 
        AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI 
); 

on 0.93 seems no problem 

on 0.94 the code explodes on scenario 2 

Thank you, 
Leonid 

*************************************
Samisa wrote:

I had a look into the code and it is a bug. The builder create method 
calls axiom_soap_builder_identify_soap_version and logs a message 
without checking if the log is NULL. :( 
Looks like it is a wider bug than i thought. There are many places that 
we log, without checking if log exists. Please create a Jira issue





-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (AXIS2C-340) error, log

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-340?page=all ]

Dinesh Premalal resolved AXIS2C-340.
------------------------------------

    Fix Version/s: 0.95
       Resolution: Fixed

created log inside axis2_env_create. To write to stderr

> error, log
> ----------
>
>                 Key: AXIS2C-340
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-340
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.94
>            Reporter: Leonid Krankurs
>         Assigned To: Dinesh Premalal
>             Fix For: 0.95
>
>
> Hi, 
> i have 3 scenaria 
> 1. m_env = axis2_env_create_with_error_log(m_allocator, m_error, m_log); 
> 2. m_env = axis2_env_create_with_error(m_allocator, m_error); 
> 3. m_env = axis2_env_create(m_allocator); 
> and somewhere in code 
> soap_builder = 
> axiom_soap_builder_create 
> ( 
>         m_env, 
>         om_builder, 
>         AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI 
> ); 
> on 0.93 seems no problem 
> on 0.94 the code explodes on scenario 2 
> Thank you, 
> Leonid 
> *************************************
> Samisa wrote:
> I had a look into the code and it is a bug. The builder create method 
> calls axiom_soap_builder_identify_soap_version and logs a message 
> without checking if the log is NULL. :( 
> Looks like it is a wider bug than i thought. There are many places that 
> we log, without checking if log exists. Please create a Jira issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Assigned: (AXIS2C-340) error, log

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2C-340?page=all ]

Dinesh Premalal reassigned AXIS2C-340:
--------------------------------------

    Assignee: Dinesh Premalal

> error, log
> ----------
>
>                 Key: AXIS2C-340
>                 URL: http://issues.apache.org/jira/browse/AXIS2C-340
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/clientapi
>    Affects Versions: 0.94
>            Reporter: Leonid Krankurs
>         Assigned To: Dinesh Premalal
>
> Hi, 
> i have 3 scenaria 
> 1. m_env = axis2_env_create_with_error_log(m_allocator, m_error, m_log); 
> 2. m_env = axis2_env_create_with_error(m_allocator, m_error); 
> 3. m_env = axis2_env_create(m_allocator); 
> and somewhere in code 
> soap_builder = 
> axiom_soap_builder_create 
> ( 
>         m_env, 
>         om_builder, 
>         AXIOM_SOAP11_SOAP_ENVELOPE_NAMESPACE_URI 
> ); 
> on 0.93 seems no problem 
> on 0.94 the code explodes on scenario 2 
> Thank you, 
> Leonid 
> *************************************
> Samisa wrote:
> I had a look into the code and it is a bug. The builder create method 
> calls axiom_soap_builder_identify_soap_version and logs a message 
> without checking if the log is NULL. :( 
> Looks like it is a wider bug than i thought. There are many places that 
> we log, without checking if log exists. Please create a Jira issue

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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