{"action":"created","issue":{"url":"https://api.github.com/repos/EasyBatch/easybatch-framework/issues/177","repository_url":"https://api.github.com/repos/EasyBatch/easybatch-framework","labels_url":"https://api.github.com/repos/EasyBatch/easybatch-framework/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/EasyBatch/easybatch-framework/issues/177/comments","events_url":"https://api.github.com/repos/EasyBatch/easybatch-framework/issues/177/events","html_url":"https://github.com/EasyBatch/easybatch-framework/issues/177","id":136718336,"number":177,"title":"easybatch-flatfile bug reading file","user":{"login":"arnauldSerge","id":17497303,"avatar_url":"https://avatars.githubusercontent.com/u/17497303?v=3","gravatar_id":"","url":"https://api.github.com/users/arnauldSerge","html_url":"https://github.com/arnauldSerge","followers_url":"https://api.github.com/users/arnauldSerge/followers","following_url":"https://api.github.com/users/arnauldSerge/following{/other_user}","gists_url":"https://api.github.com/users/arnauldSerge/gists{/gist_id}","starred_url":"https://api.github.com/users/arnauldSerge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnauldSerge/subscriptions","organizations_url":"https://api.github.com/users/arnauldSerge/orgs","repos_url":"https://api.github.com/users/arnauldSerge/repos","events_url":"https://api.github.com/users/arnauldSerge/events{/privacy}","received_events_url":"https://api.github.com/users/arnauldSerge/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-26T14:51:46Z","updated_at":"2016-03-14T14:56:34Z","closed_at":null,"body":"Hello, \r\n\r\ni try to read csv file(with 5000 lines). \r\n i use flatfile reader.  \r\ni get a correct total number but he did'nt process any line . \r\nin Engine.caller the hasnext() method get false even we are on the firt line. \r\nhowever, when i use a file with only 300 lines i didn't get this bug. \r\n\r\nThank for this useful framework. \r\n\r\nI use the 3.0.0 version\r\n"},"comment":{"url":"https://api.github.com/repos/EasyBatch/easybatch-framework/issues/comments/196350504","html_url":"https://github.com/EasyBatch/easybatch-framework/issues/177#issuecomment-196350504","issue_url":"https://api.github.com/repos/EasyBatch/easybatch-framework/issues/177","id":196350504,"user":{"login":"arnauldSerge","id":17497303,"avatar_url":"https://avatars.githubusercontent.com/u/17497303?v=3","gravatar_id":"","url":"https://api.github.com/users/arnauldSerge","html_url":"https://github.com/arnauldSerge","followers_url":"https://api.github.com/users/arnauldSerge/followers","following_url":"https://api.github.com/users/arnauldSerge/following{/other_user}","gists_url":"https://api.github.com/users/arnauldSerge/gists{/gist_id}","starred_url":"https://api.github.com/users/arnauldSerge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arnauldSerge/subscriptions","organizations_url":"https://api.github.com/users/arnauldSerge/orgs","repos_url":"https://api.github.com/users/arnauldSerge/repos","events_url":"https://api.github.com/users/arnauldSerge/events{/privacy}","received_events_url":"https://api.github.com/users/arnauldSerge/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T14:56:34Z","updated_at":"2016-03-14T14:56:34Z","body":"Hi, \r\nthank for your attention on my issue, \r\nil still looking for the issu.  so you can find my code below\r\n\r\n\r\n\r\n\r\n\t\t\t\tfinal EngineBuilder builder = new EngineBuilder().reader(flatFileRecordReader)//\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .mapper(delimiter)//\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .validator(validatorHandler)//\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .processor(new ReferentielProcessor(parameters))//\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .errorRecordHandler(errorHandler)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .recordProcessorEventListener(new TransactionUnitProcessingEventListener(parameters))//\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .batchProcessEventListener(new TransactionBlockProcessingEventListener(parameters, validatorHandler,errorHandler))\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .ignoredRecordHandler(ignoreRecordHandler)\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t .strictMode(false);\r\n\t\t\t\t\r\n\t\t\t\tif (parameters.getIgnoreFirstLine()) {\r\n\t\t\t\t\tbuilder.filter(new HeaderRecordFilter());\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tbuilder.filter(new StartWithStringRecordFilter(\"#\"));\r\n\t\t\t\tEngine engine = builder.build();\r\n\t\t\t\treport = engine.call();"}}