-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 7.10-SNAPSHOT
-
Fix Version/s: 7.10
-
Component/s: File Upload
-
Tags:
When I try to import a set of audio files (from the Import popup) in a folder, I get this error: For input string: "NaN".
See stacktrace attached.
Caused by: java.lang.NumberFormatException: For input string: "NaN" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.valueOf(Integer.java:766) at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch$1.compare(Batch.java:96) at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch$1.compare(Batch.java:93) at java.util.Arrays.mergeSort(Arrays.java:1544) at java.util.Arrays.legacyMergeSort(Arrays.java:1523) at java.util.Arrays.sort(Arrays.java:1510) at java.util.ArrayList.sort(ArrayList.java:1454) at java.util.Collections.sort(Collections.java:175) at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch.getOrderedFileIndexes(Batch.java:93) at org.nuxeo.ecm.automation.server.jaxrs.batch.Batch.getBlobs(Batch.java:74) at org.nuxeo.ecm.automation.server.jaxrs.batch.BatchManagerComponent.getBlobs(BatchManagerComponent.java:174) at org.nuxeo.ecm.automation.server.jaxrs.batch.BatchManagerComponent.execute(BatchManagerComponent.java:243) at org.nuxeo.ecm.webapp.action.ImportActions.importDocumentsThroughBatchManager(ImportActions.java:293) at org.nuxeo.ecm.webapp.action.ImportActions.importDocuments(ImportActions.java:245)
I can provide the files to try and reproduce.
- is required by
-
NXP-18247 A few improvements for the batch upload in chunks
- Open