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 "jose (JIRA)" <ax...@ws.apache.org> on 2005/07/27 14:14:25 UTC

[jira] Created: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

SoapFault* SoapFault::getSoapFault() PROBLEM
--------------------------------------------

         Key: AXISCPP-768
         URL: http://issues.apache.org/jira/browse/AXISCPP-768
     Project: Axis-C++
        Type: Bug
  Components: Server - Engine  
    Versions: 1.5 Final    
 Environment: linux
    Reporter: jose


SoapFault* SoapFault::getSoapFault() crashes:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct NULL not valid

on the next line:
     string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;

because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.

Thanks...

-- 
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


[jira] Resolved: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-768?page=all ]
     
John Hawkins resolved AXISCPP-768:
----------------------------------

    Resolution: Cannot Reproduce

We think this looks like an old version of code and this is already fixed. Resolving unless user comes back with issue

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "jose (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317074 ] 

jose commented on AXISCPP-768:
------------------------------

The SoapFault.cpp file you attached is completely different to mine.
Then, where can I download the last and more stable version of Axis C++?

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "jose (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317072 ] 

jose commented on AXISCPP-768:
------------------------------

I have downloaded the axis-c-1.5.0-linux-src.tar.gz file from http://ws.apache.org/axis

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "jose (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317047 ] 

jose commented on AXISCPP-768:
------------------------------

This is the SoapFault.cpp ( SoapFault::initialize() ):

void SoapFault::initialize()
{
    if (!m_bInit)
    {
        static SoapFaultStruct s_arrLocalFaultStruct[FAULT_LAST] = 
        {
            /*VersionMismatch faults */
        /*0*/    {"VersionMismatch", "Soap Version Mismatch error", "", ""},
            /*MustUnderstand faults */ 
        /*1*/    {"MustUnderstand", "Soap Must Understand  error", "", ""},
            /*Client faults */
        /*2*/    {"Client", "Soap message is incorrect or incomplete", "", ""},
        /*3*/    {"Client", "Soap Action header empty", "", ""},
        /*4*/    {"Client", "Soap content is not valid", "", ""},
        /*5*/    {"Client", "No method to invoke", "", ""},
        /*6*/    {"Client", "Content is not Soap", "", ""},
        /*7*/    {"Client", "Requested service is not registerd at the server", "", ""},
        /*8*/    {"Client", "Soap method is not allowed to invoke", "", ""},
        /*9*/    {"Client", "Parameter type mismatch", "", ""},
        /*10*/    {"Client", "WSDD file loading failed", "", ""},
        /*11*/    {"Client", "A client handler failed", "", ""},

            /*Server faults */
        /*12*/    {"Server", "Unknown Engine Exception", "", ""},
        /*13*/    {"Server", "Cannot load web service", "", ""},
        /*14*/    {"Server", "Cannot load service handlers", "", ""},
        /*15*/    {"Server", "DLOPEN FAILED in loading transport library", "", ""},
        /*16*/    {"Server", "DLOPEN FAILED in loading parser library", "", ""},
        /*17*/    {"Server", "A service handler failed", "", ""},
        /*18*/    {"Server", "Webservice failed", "", ""},
        /*19*/    {"Server", "Handler initialization failed", "", ""},
        /*20*/    {"Server", "Handler creation failed", "", ""},
        /*21*/    {"Server", "Library loading failed", "", ""},
        /*22*/    {"Server", "Handler not loaded", "", ""},
        /*23*/    {"Server", "Handler is being used", "", ""},
        /*24*/    {"Server", "Get hander failed", "", ""},
        /*25*/    {"Server", "Wrong handler type", "", ""},
        /*26*/    {"Server", "Unknown Axis Configuration Exception", "", ""},
        /*27*/    {"Server", "Transport configuration error", "", ""},
        /*28*/    {"Server", "Library path is empty", "", ""},
        /*29*/    {"Server", "Unknown Wsdd Exception", "", ""},
        /*30*/    {"Server", "No handlers configured", "", ""},
        /*31*/    {"Server", "Unknown Soap Exception", "", ""},
        /*32*/    {"Server", "Unknown Transport Exception", "", ""},
        /*33*/    {"Server", "Receive from transport failed", "", ""},
        /*34*/    {"Server", "Send to transport failed", "", ""},
        /*35*/    {"Server", "HTTP Error, cannot process response message", "", ""},
        /*36*/    {"Server", "nknow HTTP response, cannot process response message", "", ""},
        /*37*/    {"Server", "Http transport exception", "", ""},
        /*38*/    {"Server", "Unexpected string", "", ""},
        /*39*/    {"Server", "Cannot initialize a channel to the remote end", "", ""},
        /*40*/    {"Server", "Sockets error Couldn't create socket", "", ""},
        /*41*/    {"Server", "Cannot open a channel to the remote end, shutting down the channel", "", ""},
        /*42*/    {"Server", "Invalid socket. Socket may not be open", "", ""},
        /*43*/    {"Server", "Output streaming error on Channel while writing data", "", ""},
        /*44*/    {"Server", "Input streaming error while getting data", "", ""},
        /*45*/    {"Server", "Channel error while waiting for timeout", "", ""},
        /*46*/    {"Server", "Channel error connection timeout before receving", "", ""},
        /*47*/    {"Server", "Transport buffer is empty", "", ""},
        /*48*/    {"Server", "Buffer received from the parser is empty", "", ""},
        /*49*/    {"Server", "XML_STATUS_ERROR thrown from parser", "", ""},
        /*50*/    {"Server", "Error when getting the byte stream from the transport", "", ""},
        /*51*/    {"Server", "Test exception", "", ""},
        /*52*/    {"Server", "Unknown exception", "", ""}
            
        };
        s_parrSoapFaultStruct = s_arrLocalFaultStruct;
        m_bInit = true;
    }
}


only haves 52+1 members initialized!! but AXISC_EXCEPTIONS haves FAULT_LAST that is 73.
>From member 52 to 73 there are trash.

Sorry, for my very bad english ( i am from spain )

Thanks

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose

>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317287 ] 

Dushshantha Chandradasa commented on AXISCPP-768:
-------------------------------------------------

Hi jose

Were you able to get the nightly build from http://cvs.apache.org/dist/axis/nightly/  ??

For me, the link is working

Dushshantha


> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317087 ] 

Samisa Abeysinghe commented on AXISCPP-768:
-------------------------------------------

You can find the nightly builds at http://cvs.apache.org/dist/axis/nightly/

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317043 ] 

Dushshantha Chandradasa commented on AXISCPP-768:
-------------------------------------------------

But in the initialization of SoapFault, it initializes s_parrSoapFaultStruct with 73 items doesn't it??

Don't know wheher i understand the problem correctly..(???)

Dushshantha

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose

>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317051 ] 

Dushshantha Chandradasa commented on AXISCPP-768:
-------------------------------------------------

I think that you are using a bit old version of Axis C++. Am I correct???

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNt
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

     [ http://issues.apache.org/jira/browse/AXISCPP-768?page=all ]

Dushshantha Chandradasa updated AXISCPP-768:
--------------------------------------------

    Attachment: SoapFault.cpp

I attached here SoapFault.cpp file that i have in my cvs checkout (Latest ). Please check whether it is the same file that you have. 

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


FaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Commented: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-768?page=comments#action_12317049 ] 

Samisa Abeysinghe commented on AXISCPP-768:
-------------------------------------------

I fixed this after 1.5. This problem should be solved now.

Could you please test with a latest cvs checkout?

> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug
>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose

>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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


[jira] Closed: (AXISCPP-768) SoapFault* SoapFault::getSoapFault() PROBLEM

Posted by "Fred Preston (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-768?page=all ]
     
Fred Preston closed AXISCPP-768:
--------------------------------


> SoapFault* SoapFault::getSoapFault() PROBLEM
> --------------------------------------------
>
>          Key: AXISCPP-768
>          URL: http://issues.apache.org/jira/browse/AXISCPP-768
>      Project: Axis-C++
>         Type: Bug

>   Components: Server - Engine
>     Versions: 1.5 Final
>  Environment: linux
>     Reporter: jose
>  Attachments: SoapFault.cpp
>
> SoapFault* SoapFault::getSoapFault() crashes:
> terminate called after throwing an instance of 'std::logic_error'
>   what():  basic_string::_S_construct NULL not valid
> on the next line:
>      string strFaultcode = s_parrSoapFaultStruct[67].pcFaultcode;
> because the 67 (SERVER_UNKNOWN_ERROR) value is being passed to SoapFault::getSoapFault and s_parrSoapFaultStruct only have 53 members.
> Thanks...

-- 
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