Hi all!
I've configured a data based job repository and I've defined a simple job with one tasklet step.
I execute it and all seems to run ok, but the job repository "serialized_context" field (from job_execution_context table) is not filled, so is null.
When I try to restart the job, a nullpointer is produced beacuse of:
This code is from JdbcExecutionContextDAO class.Code:String serializedContext = rs.getString("SERIALIZED_CONTEXT"); if (serializedContext == null) { serializedContext = rs.getString("SHORT_CONTEXT"); } Map<String, Object> map = serializer.deserialize(serializedContext);
Have i configured anything wrong? Any help?
Thanks!


Reply With Quote