commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary D. Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VFS-427) [HTTP] NPE on HttpFileObject.getContent().getContentInfo()
Date Mon, 16 Jul 2012 20:19:34 GMT

     [ 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

        

Mime
View raw message