{"action":"opened","issue":{"url":"https://api.github.com/repos/korpling/ANNIS/issues/431","labels_url":"https://api.github.com/repos/korpling/ANNIS/issues/431/labels{/name}","comments_url":"https://api.github.com/repos/korpling/ANNIS/issues/431/comments","events_url":"https://api.github.com/repos/korpling/ANNIS/issues/431/events","html_url":"https://github.com/korpling/ANNIS/issues/431","id":104247724,"number":431,"title":"Error in regular expression triggers exception","user":{"login":"thomaskrause","id":2168104,"avatar_url":"https://avatars.githubusercontent.com/u/2168104?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaskrause","html_url":"https://github.com/thomaskrause","followers_url":"https://api.github.com/users/thomaskrause/followers","following_url":"https://api.github.com/users/thomaskrause/following{/other_user}","gists_url":"https://api.github.com/users/thomaskrause/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaskrause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaskrause/subscriptions","organizations_url":"https://api.github.com/users/thomaskrause/orgs","repos_url":"https://api.github.com/users/thomaskrause/repos","events_url":"https://api.github.com/users/thomaskrause/events{/privacy}","received_events_url":"https://api.github.com/users/thomaskrause/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/korpling/ANNIS/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"thomaskrause","id":2168104,"avatar_url":"https://avatars.githubusercontent.com/u/2168104?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaskrause","html_url":"https://github.com/thomaskrause","followers_url":"https://api.github.com/users/thomaskrause/followers","following_url":"https://api.github.com/users/thomaskrause/following{/other_user}","gists_url":"https://api.github.com/users/thomaskrause/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaskrause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaskrause/subscriptions","organizations_url":"https://api.github.com/users/thomaskrause/orgs","repos_url":"https://api.github.com/users/thomaskrause/repos","events_url":"https://api.github.com/users/thomaskrause/events{/privacy}","received_events_url":"https://api.github.com/users/thomaskrause/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/korpling/ANNIS/milestones/29","html_url":"https://github.com/korpling/ANNIS/milestones/3.3.6","labels_url":"https://api.github.com/repos/korpling/ANNIS/milestones/29/labels","id":1271522,"number":29,"title":"3.3.6","description":"","creator":{"login":"thomaskrause","id":2168104,"avatar_url":"https://avatars.githubusercontent.com/u/2168104?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaskrause","html_url":"https://github.com/thomaskrause","followers_url":"https://api.github.com/users/thomaskrause/followers","following_url":"https://api.github.com/users/thomaskrause/following{/other_user}","gists_url":"https://api.github.com/users/thomaskrause/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaskrause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaskrause/subscriptions","organizations_url":"https://api.github.com/users/thomaskrause/orgs","repos_url":"https://api.github.com/users/thomaskrause/repos","events_url":"https://api.github.com/users/thomaskrause/events{/privacy}","received_events_url":"https://api.github.com/users/thomaskrause/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2015-08-25T13:39:48Z","updated_at":"2015-09-01T11:44:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-09-01T11:44:48Z","updated_at":"2015-09-01T11:44:48Z","closed_at":null,"body":"AQL: `pos=/ADJ.*/ _=_ norm=/{12}.*/`\r\nExample query link: https://korpling.german.hu-berlin.de/annis3/#_q=cG9zPS9BREouKi8gXz1fIG5vcm09L3sxMn0uKi8&_c=UklER0VTX0hlcmJvbG9neV9WZXJzaW9uNC4x&cl=5&cr=5&s=0&l=10&_seg=ZGlwbA\r\n\r\nThe above query causes an error in the service (HTTP status code 500) when it is attempted to be executed-\r\n\r\n![Error message](imap://thomaskrause%40posteo%2Ede@posteo.de:143/fetch%3EUID%3E.Problem%20Report%20ANNIS.Offen%3E72/;section=2?part=1.2&filename=screendump.png)\r\n\r\nInstead of this general error message there should be a parsing error before which is not triggered. There is a check if a certain regular expression as a Java Regex (not PostgreSQL) but this is not triggered in this case: https://github.com/korpling/ANNIS/blob/develop/annis-service/src/main/java/annis/ql/parser/QueryNodeListener.java#L251"}}