Issue Details (XML | Word | Printable)

Key: BATCH-196
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dave Syer
Reporter: Konstantin Shaposhnikov
Votes: 0
Watchers: 0
Operations

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

NullPointerException in ResourceLineReader if the last line is comment

Created: 12/Nov/07 11:08 AM   Updated: 07/Aug/08 10:06 AM
Component/s: Infrastructure
Affects Version/s: 1.0-m2
Fix Version/s: 1.0-m3
Security Level: Public (Public Issues)

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

File Attachments: 1. Text File fix-npe.patch (1 kB)

Environment: spring-batch-1.0-m3-SNAPSHOT


 Description  « Hide
If the last line in the file is comment then NullPointerException is thrown by ResourceLineReader.

Attached patch fixes this problem.

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Konstantin Shaposhnikov added a comment - 12/Nov/07 11:09 AM
Patch to fix described problem.

Dave Syer added a comment - 13/Nov/07 09:55 AM
Patch applied, thanks!

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