[
https://issues.apache.org/jira/browse/VFS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13412472#comment-13412472
]
Gary D. Gregory commented on VFS-427:
-------------------------------------
1) You did not reply to which version of VFS you are using.
2) Can you dupliicate this with trunk?
I added another test in trunk:
org.apache.commons.vfs2.provider.http.test.HttpProviderTestCase.testGetContentInfo()
I can see where the code might cause an NPE, but I'd like to have a test case
in trunk that breaks before I change any code.
> 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
>
> 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