Symptom
When creating a task, the Java Scheduler displays the error:
"The task was not added due to:An exception has occured while persisting state of task <Task ID> Please analyse the stack trace and/or send it to SAP Support center"
Additionally, defaultTrace shows the exception:
...
An exception has ocurred while persisting state of task <Task ID> Please analyse the stack trace and/or send it to SAP Support center.
[EXCEPTION]
com.sap.sql.log.OpenSQLException: Failed to set the parameter 4 of the statement >>insert into BC_JOB_TASK_PARAM (TASK_ID, ARG_NAME, ARG_TYPE, ARG_VALUE, ARG_LONG_VALUE) values(?, ?, ?, ?, ?)<<: Cannot assign a blank-padded string to a parameter with JDBC type >>VARCHAR<<.
...
Caused by: com.sap.sql.check.ValueCheckerException: Cannot assign a blank-padded string to a parameter with JDBC type >>VARCHAR<<.
...
Read more...
Environment
SAP NetWeaver Application Server Java
Product
Keywords
Ariba, Ariba job, SAP Ariba ITK job, Task scheduler, Java scheduler, task, job, OpenSQLException, BC_JOB_TASK_PARAM, tasks, The task was not added due to, Please analyse the stack trace, ValueCheckerException, Cannot assign a blank-padded string, VARCHAR, Failed to set the parameter , KBA , BC-JAS-BTC , NetWeaver Scheduler (Java) , BC-JAS-PER-SQL , Relational Persistence: Open SQLJ, Open JDBC , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.