{"action":"created","issue":{"url":"https://api.github.com/repos/dkt-projekt/e-NLP/issues/7","repository_url":"https://api.github.com/repos/dkt-projekt/e-NLP","labels_url":"https://api.github.com/repos/dkt-projekt/e-NLP/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/dkt-projekt/e-NLP/issues/7/comments","events_url":"https://api.github.com/repos/dkt-projekt/e-NLP/issues/7/events","html_url":"https://github.com/dkt-projekt/e-NLP/issues/7","id":168828372,"number":7,"title":"NullPointerExcpetion when parameters are wrong","user":{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dkt-projekt/e-NLP/labels/bug","name":"bug","color":"ee0701"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T08:32:35Z","updated_at":"2016-08-02T09:05:58Z","closed_at":"2016-08-02T09:05:58Z","body":"I tried to integrate e-NLP in an example pipeline while working on dkt-projekt/DktBrokerStandalone#5 . This API request\r\n\r\n```\r\ncurl -X POST -H \"Cache-Control: no-cache\" -H \"Postman-Token: e3a20750-8dd5-8b72-4cff-c8cdedb7b26b\" -d 'This summer there is the Zomerbar in Antwerp, one of the most beautiful cities in Belgium.' \"http://dev.digitale-kuratierung.de/api/e-nlp/namedEntityRecognition?language=en&analysis=ner-wikinerEn_LOC&informat=text\"\r\n```\r\n\r\nfails with\r\n\r\n```\r\n{\r\n  \"exception\": \"java.lang.NullPointerException\",\r\n  \"path\": \"/e-nlp/namedEntityRecognition\",\r\n  \"error\": \"Internal Server Error\",\r\n  \"status\": 500,\r\n  \"timestamp\": 1470126523407\r\n}\r\n```\r\n\r\nI think the problem is that I did not specify a model and I did specify an invalid value for analysis. However this should lead to error 400 - Bad Request and not this error."},"comment":{"url":"https://api.github.com/repos/dkt-projekt/e-NLP/issues/comments/236847100","html_url":"https://github.com/dkt-projekt/e-NLP/issues/7#issuecomment-236847100","issue_url":"https://api.github.com/repos/dkt-projekt/e-NLP/issues/7","id":236847100,"user":{"login":"jnehring","id":10537540,"avatar_url":"https://avatars.githubusercontent.com/u/10537540?v=3","gravatar_id":"","url":"https://api.github.com/users/jnehring","html_url":"https://github.com/jnehring","followers_url":"https://api.github.com/users/jnehring/followers","following_url":"https://api.github.com/users/jnehring/following{/other_user}","gists_url":"https://api.github.com/users/jnehring/gists{/gist_id}","starred_url":"https://api.github.com/users/jnehring/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnehring/subscriptions","organizations_url":"https://api.github.com/users/jnehring/orgs","repos_url":"https://api.github.com/users/jnehring/repos","events_url":"https://api.github.com/users/jnehring/events{/privacy}","received_events_url":"https://api.github.com/users/jnehring/received_events","type":"User","site_admin":false},"created_at":"2016-08-02T09:05:58Z","updated_at":"2016-08-02T09:05:58Z","body":"Fixed! That was a quick bugfixing :)"}}
{"actor":{"display_login":"jnehring"}}