You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Holger Hoffstätte (JIRA)" <xm...@ws.apache.org> on 2005/06/15 13:24:46 UTC

[jira] Created: (XMLRPC-62) executeAsync bombs with NPE

executeAsync bombs with NPE
---------------------------

         Key: XMLRPC-62
         URL: http://issues.apache.org/jira/browse/XMLRPC-62
     Project: XML-RPC
        Type: Bug
  Components: Source  
    Versions: 2.0    
 Environment: Windows XP, jdk 1.5.0
    Reporter: Holger Hoffstätte
    Priority: Critical
 Attachments: executeAsync.patch

executeAsync reproducably bombs out with an NPE in XmlRpcClient.XmlRpcClientAsyncThread.run(). Reason: the initially non-null call is overwritten by a call to dequeue, which returns null. The attached patch fixes this and also takes care of initially non-null calls (just in case).


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


Re: [jira] Updated: (XMLRPC-62) executeAsync bombs with NPE

Posted by Henri Gomez <he...@gmail.com>.
fixed in HEAD and 2.0 Branch.

Thanks.

PS: Need info on how to close this report on JIRA

2005/6/15, Holger Hoffstätte (JIRA) <xm...@ws.apache.org>:
>      [ http://issues.apache.org/jira/browse/XMLRPC-62?page=all ]
> 
> Holger Hoffstätte updated XMLRPC-62:
> ------------------------------------
> 
>     Attachment: executeAsync.patch
> 
> > executeAsync bombs with NPE
> > ---------------------------
> >
> >          Key: XMLRPC-62
> >          URL: http://issues.apache.org/jira/browse/XMLRPC-62
> >      Project: XML-RPC
> >         Type: Bug
> >   Components: Source
> >     Versions: 2.0
> >  Environment: Windows XP, jdk 1.5.0
> >     Reporter: Holger Hoffstätte
> >     Priority: Critical
> >  Attachments: executeAsync.patch
> >
> > executeAsync reproducably bombs out with an NPE in XmlRpcClient.XmlRpcClientAsyncThread.run(). Reason: the initially non-null call is overwritten by a call to dequeue, which returns null. The attached patch fixes this and also takes care of initially non-null calls (just in case).
> 
> --
> 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: (XMLRPC-62) executeAsync bombs with NPE

Posted by "Henri Gomez (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-62?page=all ]
     
Henri Gomez closed XMLRPC-62:
-----------------------------

    Resolution: Fixed

Applied your fix to XML-RPC head and 2.0 branch...

> executeAsync bombs with NPE
> ---------------------------
>
>          Key: XMLRPC-62
>          URL: http://issues.apache.org/jira/browse/XMLRPC-62
>      Project: XML-RPC
>         Type: Bug
>   Components: Source
>     Versions: 2.0
>  Environment: Windows XP, jdk 1.5.0
>     Reporter: Holger Hoffstätte
>     Priority: Critical
>  Attachments: executeAsync.patch
>
> executeAsync reproducably bombs out with an NPE in XmlRpcClient.XmlRpcClientAsyncThread.run(). Reason: the initially non-null call is overwritten by a call to dequeue, which returns null. The attached patch fixes this and also takes care of initially non-null calls (just in case).

-- 
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] Updated: (XMLRPC-62) executeAsync bombs with NPE

Posted by "Holger Hoffstätte (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-62?page=all ]

Holger Hoffstätte updated XMLRPC-62:
------------------------------------

    Attachment: executeAsync.patch

> executeAsync bombs with NPE
> ---------------------------
>
>          Key: XMLRPC-62
>          URL: http://issues.apache.org/jira/browse/XMLRPC-62
>      Project: XML-RPC
>         Type: Bug
>   Components: Source
>     Versions: 2.0
>  Environment: Windows XP, jdk 1.5.0
>     Reporter: Holger Hoffstätte
>     Priority: Critical
>  Attachments: executeAsync.patch
>
> executeAsync reproducably bombs out with an NPE in XmlRpcClient.XmlRpcClientAsyncThread.run(). Reason: the initially non-null call is overwritten by a call to dequeue, which returns null. The attached patch fixes this and also takes care of initially non-null calls (just in case).

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