{"action":"closed","issue":{"url":"https://api.github.com/repos/idio/json-wikipedia/issues/14","labels_url":"https://api.github.com/repos/idio/json-wikipedia/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/idio/json-wikipedia/issues/14/comments","events_url":"https://api.github.com/repos/idio/json-wikipedia/issues/14/events","html_url":"https://github.com/idio/json-wikipedia/issues/14","id":103075158,"number":14,"title":"Incorrect handling of empty text","user":{"login":"keynmol","id":1052965,"avatar_url":"https://avatars.githubusercontent.com/u/1052965?v=3","gravatar_id":"","url":"https://api.github.com/users/keynmol","html_url":"https://github.com/keynmol","followers_url":"https://api.github.com/users/keynmol/followers","following_url":"https://api.github.com/users/keynmol/following{/other_user}","gists_url":"https://api.github.com/users/keynmol/gists{/gist_id}","starred_url":"https://api.github.com/users/keynmol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keynmol/subscriptions","organizations_url":"https://api.github.com/users/keynmol/orgs","repos_url":"https://api.github.com/users/keynmol/repos","events_url":"https://api.github.com/users/keynmol/events{/privacy}","received_events_url":"https://api.github.com/users/keynmol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/idio/json-wikipedia/labels/bug","name":"bug","color":"F97A75"},{"url":"https://api.github.com/repos/idio/json-wikipedia/labels/review","name":"review","color":"bfdadc"}],"state":"closed","locked":false,"assignee":{"login":"keynmol","id":1052965,"avatar_url":"https://avatars.githubusercontent.com/u/1052965?v=3","gravatar_id":"","url":"https://api.github.com/users/keynmol","html_url":"https://github.com/keynmol","followers_url":"https://api.github.com/users/keynmol/followers","following_url":"https://api.github.com/users/keynmol/following{/other_user}","gists_url":"https://api.github.com/users/keynmol/gists{/gist_id}","starred_url":"https://api.github.com/users/keynmol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keynmol/subscriptions","organizations_url":"https://api.github.com/users/keynmol/orgs","repos_url":"https://api.github.com/users/keynmol/repos","events_url":"https://api.github.com/users/keynmol/events{/privacy}","received_events_url":"https://api.github.com/users/keynmol/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-08-25T17:18:28Z","updated_at":"2015-08-26T09:37:33Z","closed_at":"2015-08-26T09:37:33Z","body":"Draft pages can contain empty text tags, like [this page](https://gist.github.com/keynmol/c633bc075e26b7f2dfd4)\n\n```\njava.lang.NullPointerException\n\tat it.cnr.isti.hpc.wikipedia.parser.ArticleParser.removeTemplates(ArticleParser.java:134)\n\tat it.cnr.isti.hpc.wikipedia.parser.ArticleParser.parse(ArticleParser.java:79)\n\tat it.cnr.isti.hpc.wikipedia.reader.WikipediaArticleReader$JsonConverter.process(WikipediaArticleReader.java:175)\n\tat info.bliki.wiki.dump.WikiXMLParser.endElement(WikiXMLParser.java:185)\n\tat org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)\n\tat org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)\n\tat org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)\n\tat org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)\n\tat org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)\n\tat org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)\n\tat org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)\n\tat org.apache.xerces.parsers.XMLParser.parse(Unknown Source)\n\tat org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)\n\tat info.bliki.wiki.dump.WikiXMLParser.parse(WikiXMLParser.java:218)\n\tat it.cnr.isti.hpc.wikipedia.reader.WikipediaArticleReader.start(WikipediaArticleReader.java:136)\n\tat it.cnr.isti.hpc.wikipedia.cli.MediawikiToJsonCLI.main(MediawikiToJsonCLI.java:137)\n```\n\nThis should be a warning, because it's a legitimate situation where we can't do anything."}}