You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (JIRA)" <ji...@apache.org> on 2012/07/16 22:19:34 UTC

[jira] [Resolved] (VFS-427) [HTTP] NPE on HttpFileObject.getContent().getContentInfo()

     [ https://issues.apache.org/jira/browse/VFS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary D. Gregory resolved VFS-427.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

commit -m "[VFS-427][HTTP] NPE on HttpFileObject.getContent().getContentInfo()." (7 paths specified)
    Sending        C:/svn/org/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileContentInfoFactory.java
    Sending        C:/svn/org/apache/commons/trunks-proper/vfs/core/src/main/java/org/apache/commons/vfs2/provider/http/HttpFileObject.java
    Adding         C:/svn/org/apache/commons/trunks-proper/vfs/core/src/test/java/org/apache/commons/vfs2/provider/http/test/GetContentInfoFunctionalTest.java
    Adding         C:/svn/org/apache/commons/trunks-proper/vfs/core/src/test/java/org/apache/commons/vfs2/provider/https
    Adding         C:/svn/org/apache/commons/trunks-proper/vfs/core/src/test/java/org/apache/commons/vfs2/provider/https/test
    Adding         C:/svn/org/apache/commons/trunks-proper/vfs/core/src/test/java/org/apache/commons/vfs2/provider/https/test/GetContentInfoFunctionalTest.java
    Sending        C:/svn/org/apache/commons/trunks-proper/vfs/src/changes/changes.xml
    Transmitting file data ...
    Committed revision 1362235.
                
> [HTTP] NPE on HttpFileObject.getContent().getContentInfo()
> ----------------------------------------------------------
>
>                 Key: VFS-427
>                 URL: https://issues.apache.org/jira/browse/VFS-427
>             Project: Commons VFS
>          Issue Type: Bug
>            Reporter: Craig Skinfill
>             Fix For: 2.1
>
>
> It looks like the "head" httpMethod is getting set to null, but is used in the getContentInfo() call.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira