{"action":"created","issue":{"url":"https://api.github.com/repos/clulab/processors/issues/43","repository_url":"https://api.github.com/repos/clulab/processors","labels_url":"https://api.github.com/repos/clulab/processors/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/clulab/processors/issues/43/comments","events_url":"https://api.github.com/repos/clulab/processors/issues/43/events","html_url":"https://github.com/clulab/processors/issues/43","id":137676470,"number":43,"title":"Recursion error in DependecyUtils","user":{"login":"bsharpataz","id":5384073,"avatar_url":"https://avatars.githubusercontent.com/u/5384073?v=3","gravatar_id":"","url":"https://api.github.com/users/bsharpataz","html_url":"https://github.com/bsharpataz","followers_url":"https://api.github.com/users/bsharpataz/followers","following_url":"https://api.github.com/users/bsharpataz/following{/other_user}","gists_url":"https://api.github.com/users/bsharpataz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsharpataz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsharpataz/subscriptions","organizations_url":"https://api.github.com/users/bsharpataz/orgs","repos_url":"https://api.github.com/users/bsharpataz/repos","events_url":"https://api.github.com/users/bsharpataz/events{/privacy}","received_events_url":"https://api.github.com/users/bsharpataz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-01T20:22:04Z","updated_at":"2016-03-02T20:22:52Z","closed_at":null,"body":"I found an error when using the DependencyUtils.  It seems like it's getting stuck in a loop in the dependency graph and the recursion blows the stack.  This is a snippet of the stack trace:\r\n\r\n```\r\nCaused by: java.lang.StackOverflowError\r\n    at scala.runtime.BoxesRunTime.boxToInteger(BoxesRunTime.java:69)\r\n    at edu.arizona.sista.processors.Sentence.dependencies(Document.scala:73)\r\n    at edu.arizona.sista.utils.DependencyUtils$.getIncoming$2(DependencyUtils.scala:129)\r\n    at edu.arizona.sista.utils.DependencyUtils$.followTrailOut$2(DependencyUtils.scala:145)\r\n    at edu.arizona.sista.utils.DependencyUtils$.edu$arizona$sista$utils$DependencyUtils$$followTrail$3(DependencyUtils.scala:138)\r\n    at edu.arizona.sista.utils.DependencyUtils$.followTrailOut$2(DependencyUtils.scala:150)\r\n```"},"comment":{"url":"https://api.github.com/repos/clulab/processors/issues/comments/191412242","html_url":"https://github.com/clulab/processors/issues/43#issuecomment-191412242","issue_url":"https://api.github.com/repos/clulab/processors/issues/43","id":191412242,"user":{"login":"bsharpataz","id":5384073,"avatar_url":"https://avatars.githubusercontent.com/u/5384073?v=3","gravatar_id":"","url":"https://api.github.com/users/bsharpataz","html_url":"https://github.com/bsharpataz","followers_url":"https://api.github.com/users/bsharpataz/followers","following_url":"https://api.github.com/users/bsharpataz/following{/other_user}","gists_url":"https://api.github.com/users/bsharpataz/gists{/gist_id}","starred_url":"https://api.github.com/users/bsharpataz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsharpataz/subscriptions","organizations_url":"https://api.github.com/users/bsharpataz/orgs","repos_url":"https://api.github.com/users/bsharpataz/repos","events_url":"https://api.github.com/users/bsharpataz/events{/privacy}","received_events_url":"https://api.github.com/users/bsharpataz/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T20:22:52Z","updated_at":"2016-03-02T20:22:52Z","body":"ps - if you are waiting for me to do more (i.e. make a test) please let me know and I'll try to figure out how to do that"}}