{"action":"created","issue":{"url":"https://api.github.com/repos/edwardkort/WWIDesigner/issues/51","repository_url":"https://api.github.com/repos/edwardkort/WWIDesigner","labels_url":"https://api.github.com/repos/edwardkort/WWIDesigner/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/edwardkort/WWIDesigner/issues/51/comments","events_url":"https://api.github.com/repos/edwardkort/WWIDesigner/issues/51/events","html_url":"https://github.com/edwardkort/WWIDesigner/issues/51","id":170985416,"number":51,"title":"Exception in a StudyView Activity can hang application","user":{"login":"bhp1","id":1645842,"avatar_url":"https://avatars.githubusercontent.com/u/1645842?v=3","gravatar_id":"","url":"https://api.github.com/users/bhp1","html_url":"https://github.com/bhp1","followers_url":"https://api.github.com/users/bhp1/followers","following_url":"https://api.github.com/users/bhp1/following{/other_user}","gists_url":"https://api.github.com/users/bhp1/gists{/gist_id}","starred_url":"https://api.github.com/users/bhp1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhp1/subscriptions","organizations_url":"https://api.github.com/users/bhp1/orgs","repos_url":"https://api.github.com/users/bhp1/repos","events_url":"https://api.github.com/users/bhp1/events{/privacy}","received_events_url":"https://api.github.com/users/bhp1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/edwardkort/WWIDesigner/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-13T01:09:10Z","updated_at":"2016-08-14T18:50:02Z","closed_at":null,"body":"At times an exception thrown in a StudyView Activity, or some other premature return without presenting a new JFrame, can cause the application to hang; the BlockingProgressListener is presented, but cannot be closed.  Application must be killed from operating system.\r\n\r\nFor example: open an instrument and tuning, select the tuning tab, then select Window->Toggle data view then Tool->Graph note tuning.  This should provoke a null pointer exception because no fingering is available; usually StudyView handles the exception, but sometimes this results in the hang described above."},"comment":{"url":"https://api.github.com/repos/edwardkort/WWIDesigner/issues/comments/239689591","html_url":"https://github.com/edwardkort/WWIDesigner/issues/51#issuecomment-239689591","issue_url":"https://api.github.com/repos/edwardkort/WWIDesigner/issues/51","id":239689591,"user":{"login":"edwardkort","id":1641844,"avatar_url":"https://avatars.githubusercontent.com/u/1641844?v=3","gravatar_id":"","url":"https://api.github.com/users/edwardkort","html_url":"https://github.com/edwardkort","followers_url":"https://api.github.com/users/edwardkort/followers","following_url":"https://api.github.com/users/edwardkort/following{/other_user}","gists_url":"https://api.github.com/users/edwardkort/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardkort/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardkort/subscriptions","organizations_url":"https://api.github.com/users/edwardkort/orgs","repos_url":"https://api.github.com/users/edwardkort/repos","events_url":"https://api.github.com/users/edwardkort/events{/privacy}","received_events_url":"https://api.github.com/users/edwardkort/received_events","type":"User","site_admin":false},"created_at":"2016-08-14T18:50:02Z","updated_at":"2016-08-14T18:50:02Z","body":"I don't know what is different about the graphNote action that requires a thrown exceptions from its activity unlike the other actions. But the fix, which explicitly rethrows the exception from studyview.graphNote seems to do the trick (although it does pollute the console with the stack trace).\r\n\r\nYou might consider doing some work on the updateActions integration for the graphNote action: maybe fire it after clicking the change-view button. For your original scenario, after getting the exception with the XML tuning view, you must change the view back, click on another tab in the editor pane, and then click back on the tuning tab in order to activate the graph note action."}}
{"actor":{"display_login":"edwardkort"}}