{"action":"created","issue":{"url":"https://api.github.com/repos/JabRef/jabref/issues/1632","repository_url":"https://api.github.com/repos/JabRef/jabref","labels_url":"https://api.github.com/repos/JabRef/jabref/issues/1632/labels{/name}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/1632/comments","events_url":"https://api.github.com/repos/JabRef/jabref/issues/1632/events","html_url":"https://github.com/JabRef/jabref/issues/1632","id":167811514,"number":1632,"title":"Unrobust reading of bad @Comment","user":{"login":"oscargus","id":8114497,"avatar_url":"https://avatars.githubusercontent.com/u/8114497?v=3","gravatar_id":"","url":"https://api.github.com/users/oscargus","html_url":"https://github.com/oscargus","followers_url":"https://api.github.com/users/oscargus/followers","following_url":"https://api.github.com/users/oscargus/following{/other_user}","gists_url":"https://api.github.com/users/oscargus/gists{/gist_id}","starred_url":"https://api.github.com/users/oscargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscargus/subscriptions","organizations_url":"https://api.github.com/users/oscargus/orgs","repos_url":"https://api.github.com/users/oscargus/repos","events_url":"https://api.github.com/users/oscargus/events{/privacy}","received_events_url":"https://api.github.com/users/oscargus/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JabRef/jabref/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-27T09:35:04Z","updated_at":"2016-07-27T10:05:59Z","closed_at":null,"body":"JabRef version <Latest master>\r\n\r\nI got a BIB file from a comment to clean up and it couldn't be read. The \"Error opening file\" gave the informative message \"null\".\r\n\r\nThe reasons seems to be this line:\r\n\r\n```\r\n@Comment Any references\r\n```\r\n\r\nas the log message says (the line above is line 5):\r\n\r\n```\r\n11:28:12.979 [JabRef CachedThreadPool] ERROR net.sf.jabref.importer.OpenDatabaseAction - Error loading database C:\\Users\\Oscar\\Documents\\bibl.bib\r\njava.io.IOException: Error in line 5: Expected { but received  \r\n\tat net.sf.jabref.importer.fileformat.BibtexParser.consume(BibtexParser.java:915) ~[bin/:?]\r\n\tat net.sf.jabref.importer.fileformat.BibtexParser.parseBracketedTextExactly(BibtexParser.java:856) ~[bin/:?]\r\n```\r\n\r\nNot sure what I expect to happen, but maybe that the error message \"Error in line 5: Expected { but received   \" is shown. Not sure if it is worthwhile to support this somehow understandable interpretation of @Comment though..."},"comment":{"url":"https://api.github.com/repos/JabRef/jabref/issues/comments/235543286","html_url":"https://github.com/JabRef/jabref/issues/1632#issuecomment-235543286","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/1632","id":235543286,"user":{"login":"Siedlerchr","id":320228,"avatar_url":"https://avatars.githubusercontent.com/u/320228?v=3","gravatar_id":"","url":"https://api.github.com/users/Siedlerchr","html_url":"https://github.com/Siedlerchr","followers_url":"https://api.github.com/users/Siedlerchr/followers","following_url":"https://api.github.com/users/Siedlerchr/following{/other_user}","gists_url":"https://api.github.com/users/Siedlerchr/gists{/gist_id}","starred_url":"https://api.github.com/users/Siedlerchr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Siedlerchr/subscriptions","organizations_url":"https://api.github.com/users/Siedlerchr/orgs","repos_url":"https://api.github.com/users/Siedlerchr/repos","events_url":"https://api.github.com/users/Siedlerchr/events{/privacy}","received_events_url":"https://api.github.com/users/Siedlerchr/received_events","type":"User","site_admin":false},"created_at":"2016-07-27T10:05:59Z","updated_at":"2016-07-27T10:05:59Z","body":"The `@Comment` is a legal way of commenting out sth. The line should be ignored by the parser.\r\nI found some more details explaining this:\r\nhttp://maverick.inria.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#comment"}}
{"actor":{"display_login":"Siedlerchr"}}