{"action":"opened","issue":{"url":"https://api.github.com/repos/CompEvol/beast2/issues/421","labels_url":"https://api.github.com/repos/CompEvol/beast2/issues/421/labels{/name}","comments_url":"https://api.github.com/repos/CompEvol/beast2/issues/421/comments","events_url":"https://api.github.com/repos/CompEvol/beast2/issues/421/events","html_url":"https://github.com/CompEvol/beast2/issues/421","id":106695256,"number":421,"title":"XMLProducer fails when model contains a BEASTInterface object without an ID","user":{"login":"tgvaughan","id":512538,"avatar_url":"https://avatars.githubusercontent.com/u/512538?v=3","gravatar_id":"","url":"https://api.github.com/users/tgvaughan","html_url":"https://github.com/tgvaughan","followers_url":"https://api.github.com/users/tgvaughan/followers","following_url":"https://api.github.com/users/tgvaughan/following{/other_user}","gists_url":"https://api.github.com/users/tgvaughan/gists{/gist_id}","starred_url":"https://api.github.com/users/tgvaughan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tgvaughan/subscriptions","organizations_url":"https://api.github.com/users/tgvaughan/orgs","repos_url":"https://api.github.com/users/tgvaughan/repos","events_url":"https://api.github.com/users/tgvaughan/events{/privacy}","received_events_url":"https://api.github.com/users/tgvaughan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CompEvol/beast2/labels/MEDIUM%20priority","name":"MEDIUM priority","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-16T04:13:05Z","updated_at":"2015-09-16T04:13:05Z","closed_at":null,"body":"This means that logs, or anything that includes a fragment of the model XML in its output, can sometimes contain no output (or simply the word \"null\").\r\n\r\nMaybe this isn't often a problem in practice as BEAUti automatically gives objects IDs when they aren't explicitly provided, but it is very easy for this to happen in hand-crafted XML that otherwise seems perfectly fine.\r\n\r\nMaybe XMLParser itself should add dummy IDs to objects that don't have them?"}}