Labels with spaces cause a crash in the converter.
From case 00369890, dump files are on warp:/warp/cases/00369890
Conversion has no problems until we enable the "exclude.map", which throws this exception:
03 Dez 2018 11:31:25,356 ERROR com.perforce.common.process.ProcessChange ... Caught exception on exit
java.lang.ArrayIndexOutOfBoundsException: 2
at com.perforce.p4java.impl.generic.core.MapEntry.parseViewMappingString(MapEntry.java:279)
at com.perforce.p4java.impl.generic.core.MapEntry.<init>(MapEntry.java:74)
at com.perforce.p4java.impl.generic.core.Label$LabelMapping.<init>(Label.java:117)
at com.perforce.common.label.LabelImport.buildViewMap(LabelImport.java:183)
at com.perforce.common.label.LabelImport.submit(LabelImport.java:170)
at com.perforce.common.process.ProcessLabel.submit(ProcessLabel.java:143)
at com.perforce.common.process.ProcessChange.submit(ProcessChange.java:195)
at com.perforce.svn.process.SvnProcessChange.processChange(SvnProcessChange.java:187)
at com.perforce.common.process.ProcessChange.call(ProcessChange.java:59)
at com.perforce.common.process.ProcessChange.call(ProcessChange.java:21)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
03 Dez 2018 11:31:25,366 INFO com.perforce.common.process.ProcessChange ... Caught EXIT shutting down ...
I am able to reproduce this, in the debugger the crash happens in com.perforce.p4java.impl.generic.core.MapEntry.parseViewMappingString(MapEntry.java:279)
which seems to get confused by spaces in the client entry.