NPE in CommonsClient#execute
----------------------------

                 Key: ABDERA-13
                 URL: http://issues.apache.org/jira/browse/ABDERA-13
             Project: Abdera
          Issue Type: Bug
            Reporter: Ugo Cei


The following code from CommonsClient.java:

122:  options.setIfNoneMatch(cached_response.getEntityTag().toString());

throws an NPE when running tests because cached_response.getEntityTag() returns 
null.

A patch is attached.

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

        

Reply via email to