function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Cannot parse empty string


We updated our data loader from version 20 to 34 yesterday and since we made the change a few of our batch jobs have stopped working - most of them are fine but 2 of the batch jobs (via windows batch file/command line) are receiving the error below.

FATAL [main] process.ProcessRunner topLevelError ( - Unable to run process extractBillingAgentGas
java.lang.RuntimeException: java.lang.IllegalArgumentException: Cannot parse empty string
 at com.salesforce.dataloader.process.ProcessRunner.main(
Caused by: java.lang.IllegalArgumentException: Cannot parse empty string
 at com.salesforce.dataloader.mapping.SOQLInfo.getTrimmed(
 at com.salesforce.dataloader.mapping.SOQLInfo.access$000(
 at com.salesforce.dataloader.mapping.SOQLInfo$SOQLFieldInfo.<init>(
 at com.salesforce.dataloader.mapping.SOQLInfo$SOQLFieldInfo.<init>(
 at com.salesforce.dataloader.mapping.SOQLMapper.putPropertyEntry(
 at com.salesforce.dataloader.mapping.Mapper.putPropertyFileMappings(
 at com.salesforce.dataloader.mapping.Mapper.putPropertyFileMappings(
 at com.salesforce.dataloader.mapping.Mapper.<init>(
 at com.salesforce.dataloader.mapping.SOQLMapper.<init>(
 at com.salesforce.dataloader.controller.Controller.createMapper(

I don't know how to fix this and I can't seem to find much information on the error message - has anyone come across this issue before?
Can anyone know how to fix this error message?

Any help is much appreciated.

Daniel BallingerDaniel Ballinger
You can see the source code for DataLoader on GitHub. In this case the IllegalArgumentException is being thrown by the getTrimmed() method (

The general indication from the error message is a problem with the SOQL query that is being run. In particular, there is a problem SOQL field.

Looking back through the stack trace it appears to be using a SOQLMapper to build up a SOQL query. I'd recheck your mapping.