Bug #1485 (closed)
Opened 10 years ago
Closed 10 years ago
FileUploader fails with small files
| Reported by: | jamoore | Owned by: | bwzloranger |
|---|---|---|---|
| Priority: | minor | Cc: | |
| Sprint: | n.a. | ||
| Total Remaining Time: | n.a. |
Description
2009-09-27 10:48:33,091 36168 [ main] INFO ome.formats.importer.cli.ErrorHandler - Sending error report with files ...
java.lang.ArithmeticException: / by zero
at ome.formats.importer.util.FileUploader$1.update(FileUploader.java:109)
at ome.formats.importer.util.FileUploadCounter$OutputStreamCounter.write(FileUploadCounter.java:45)
at java.io.FilterOutputStream.write(FilterOutputStream.java:108)
at ome.formats.importer.util.FileUploadCounter$OutputStreamCounter.write(FileUploadCounter.java:37)
at java.io.FilterOutputStream.write(FilterOutputStream.java:80)
at org.apache.commons.httpclient.methods.multipart.Part.sendStart(Part.java:205)
at org.apache.commons.httpclient.methods.multipart.Part.send(Part.java:307)
at org.apache.commons.httpclient.methods.multipart.Part.sendParts(Part.java:385)
at org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity.writeRequest(MultipartRequestEntity.java:164)
at ome.formats.importer.util.FileUploadCounter.writeRequest(FileUploadCounter.java:52)
at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at ome.formats.importer.util.FileUploader.uploadFiles(FileUploader.java:137)
at ome.formats.importer.util.ErrorHandler.sendErrors(ErrorHandler.java:176)
at ome.formats.importer.cli.ErrorHandler.onUpdate(ErrorHandler.java:61)
at ome.formats.importer.util.ErrorHandler.update(ErrorHandler.java:95)
at ome.formats.importer.cli.CommandLineImporter.report(CommandLineImporter.java:133)
at ome.formats.importer.cli.CommandLineImporter.start(CommandLineImporter.java:111)
at ome.formats.importer.cli.CommandLineImporter.main(CommandLineImporter.java:302)
josh@mac:~/code/omero.git/dist$ git log ../components/tools/OmeroImporter/src/ome/formats/importer/util/FileUploader.java
Change History (1)
comment:1 Changed 10 years ago by bwzloranger
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Fixed.