{"issue":{"milestone":null,"user":{"id":157358,"login":"tommycli","url":"https://api.github.com/users/tommycli","avatar_url":"https://secure.gravatar.com/avatar/90988d4d0b8845de32a662b6778cc068?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"90988d4d0b8845de32a662b6778cc068"},"title":"Exceptions swallowed by scala-swing","created_at":"2011-12-16T23:47:52Z","updated_at":"2011-12-17T22:44:15Z","labels":[],"state":"closed","id":2586364,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/ingoem/scala-swing/issues/14","closed_at":"2011-12-17T09:22:15Z","body":"I encountered an issue with exceptions and scala-swing here:\r\nhttp://groups.google.com/group/liftweb/browse_thread/thread/a30235375b426bd3/f7e89f917dcf6135?lnk=gst&q=tommycli#f7e89f917dcf6135\r\n\r\nSummary: RuntimeExceptions produce stack trace correctly, while regular Exceptions never show the stack trace.\r\n\r\nThought someone here might be able to shed some light.","number":14,"url":"https://api.github.com/repos/ingoem/scala-swing/issues/14","comments":6,"assignee":null},"comment":{"user":{"id":186377,"login":"ingoem","url":"https://api.github.com/users/ingoem","avatar_url":"https://secure.gravatar.com/avatar/a4348d92b278534efd6ec8b9cff4054d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a4348d92b278534efd6ec8b9cff4054d"},"created_at":"2011-12-17T22:44:15Z","updated_at":"2011-12-17T22:44:15Z","id":3191971,"body":"Can you add a line ```println(System.getProperty(\"sun.awt.exception.handler\"))``` and see whether an exception handler is set? If one is set, maybe you can find the source code and see what it does. You probably noticed the guard ```if (!handleException(e))``` in EventDispatchThread.processException(). This is where the handler kicks in, and on Mac OS X the default handler seems to log RuntimeExceptions. Of course, you can also specify your own handler. Google for \"sun.awt.exception.handler\" for details. Cheers.","url":"https://api.github.com/repos/ingoem/scala-swing/issues/comments/3191971"},"action":"created"}