{"action":"opened","issue":{"url":"https://api.github.com/repos/chochos/j8583/issues/64","labels_url":"https://api.github.com/repos/chochos/j8583/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/chochos/j8583/issues/64/comments","events_url":"https://api.github.com/repos/chochos/j8583/issues/64/events","html_url":"https://github.com/chochos/j8583/issues/64","id":115450533,"number":64,"title":"Parser Fails when no Default values to the template","user":{"login":"Arthanarisamy","id":5021926,"avatar_url":"https://avatars.githubusercontent.com/u/5021926?v=3","gravatar_id":"","url":"https://api.github.com/users/Arthanarisamy","html_url":"https://github.com/Arthanarisamy","followers_url":"https://api.github.com/users/Arthanarisamy/followers","following_url":"https://api.github.com/users/Arthanarisamy/following{/other_user}","gists_url":"https://api.github.com/users/Arthanarisamy/gists{/gist_id}","starred_url":"https://api.github.com/users/Arthanarisamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arthanarisamy/subscriptions","organizations_url":"https://api.github.com/users/Arthanarisamy/orgs","repos_url":"https://api.github.com/users/Arthanarisamy/repos","events_url":"https://api.github.com/users/Arthanarisamy/events{/privacy}","received_events_url":"https://api.github.com/users/Arthanarisamy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-06T07:05:05Z","updated_at":"2015-11-06T07:05:05Z","closed_at":null,"body":"I am using j8583 to build and parse ISO messages. I have my template and parse config.xml in place, but when there are no default values specified to template fields it fails with NullPointerException.\r\n\r\nBelow is the template which fails with NullPointerException.\r\n\r\nField 3 doesn't have any default value.\r\n\r\n        <template type=\"0200\">\r\n        <field num=\"3\" type=\"NUMERIC\" length=\"6\"></field>\r\n        <field num=\"32\" type=\"LLVAR\">456</field>\r\n        <field num=\"35\" type=\"LLVAR\">4591700012340000=</field>\r\n        <field num=\"43\" type=\"ALPHA\" length=\"40\">SOLABTEST             TEST-3       DF MX</field>\r\n        <field num=\"49\" type=\"ALPHA\" length=\"3\">484</field>\r\n        <field num=\"60\" type=\"LLLVAR\">B456PRO1+000</field>\r\n        <field num=\"61\" type=\"LLLVAR\">        1234P</field>\r\n        <field num=\"100\" type=\"LLVAR\">999</field>\r\n        <field num=\"102\" type=\"LLVAR\">ABCD</field>"}}