commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henri Yandell (Closed) (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IO-270) "IllegalArgumentException: Negative time" copying to Windows share
Date Thu, 10 Nov 2011 18:36:51 GMT

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

Henri Yandell closed IO-270.
----------------------------

    Resolution: Incomplete

Closing as Incomplete. Not enough info to work on.
                
> "IllegalArgumentException: Negative time" copying to Windows share
> ------------------------------------------------------------------
>
>                 Key: IO-270
>                 URL: https://issues.apache.org/jira/browse/IO-270
>             Project: Commons IO
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.4
>         Environment: Windows 7, Java 64 bit server v1.6.0_22-b04
>            Reporter: Luke Quinane
>
> A customer reported the following exception to us:
> {noformat}java.lang.IllegalArgumentException: Negative time
>       at java.io.File.setLastModified(File.java:1258)
>       at org.apache.commons.io.FileUtils.doCopyFile(FileUtils.java:686)
>       at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:653)
>       at org.apache.commons.io.FileUtils.copyFile(FileUtils.java:607)
>       at <in house code>{noformat}
> Part of the problem is the exception itself but also our code was expecting FileUtils
to throw IOException instead of ISE.

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