Issue Details (XML | Word | Printable)

Key: BATCH-560
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Dave Syer
Reporter: C.L. Chang
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring Batch

StepExecutionResourceProxy can not be used with FlatFileItemWriter

Created: 05/Apr/08 07:37 AM   Updated: 07/Aug/08 10:07 AM
Component/s: Infrastructure
Affects Version/s: 1.0.0
Fix Version/s: 1.0.1

Time Tracking:
Original Estimate: 0.06d
Original Estimate - 0.06d
Remaining Estimate: 0.06d
Remaining Estimate - 0.06d
Time Spent: Not Specified
Remaining Estimate - 0.06d

Environment: Windows XP sp2, tomcat 5.5.26


 Description  « Hide
StepExecutionResourceProxy can work with FlatFileItemReader, but FlatFileItemWriter. It seems FlatFileItemWriter try to get the real file during its afterPropertiesSet(), which means before StepExecutionResourceProxy.beforeStep() get called. Hence, the "The delegate resource has not been initialised..." exception always get thrown by StepExecutionResourceProxy.

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Dave Syer added a comment - 07/Apr/08 02:19 AM
Moved exists() and writable() tests to open().

Dave Syer added a comment - 07/Aug/08 10:07 AM
Assume closed as resolved and released