{"id":17,"date":"2012-11-27T15:32:19","date_gmt":"2012-11-27T13:32:19","guid":{"rendered":"http:\/\/www.descher.at\/descher-vu\/?p=17"},"modified":"2013-01-07T17:40:50","modified_gmt":"2013-01-07T15:40:50","slug":"388402-swt-os-x-list-bug","status":"publish","type":"post","link":"http:\/\/www.descher.at\/descher-vu\/2012\/11\/388402-swt-os-x-list-bug\/","title":{"rendered":"[388402] SWT OS X List bug"},"content":{"rendered":"<p><a href=\"http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2012\/11\/NPE.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-18 alignleft\" title=\"NPE\" alt=\"Null Pointer Exception\" src=\"http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2012\/11\/NPE-150x150.jpg\" width=\"120\" height=\"120\" srcset=\"http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2012\/11\/NPE-150x150.jpg 150w, http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2012\/11\/NPE-300x300.jpg 300w, http:\/\/www.descher.at\/descher-vu\/wp-content\/uploads\/2012\/11\/NPE.jpg 400w\" sizes=\"(max-width: 120px) 100vw, 120px\" \/><\/a>During several innacuretaly determinable situations we had sudden crashes of <a title=\"Elexis\" href=\"http:\/\/www.elexis.ch\">Elexis<\/a> during work. These however were only occuring on OS X.<\/p>\n<p>After some research I found out that the bug is caused by a NPE in the SWT List element every time one removed the last element of the list. I filed a respective bug on the <a title=\"Bug 388402\" href=\"https:\/\/bugs.eclipse.org\/bugs\/show_bug.cgi?id=388402\" target=\"_blank\">Eclipse Bugtracker<\/a><\/p>\n<p>Now I found the reason for this stuff to happen and it is entirely due to the MouseDown on the MenuItem entry not being followed by a MouseUp event. If you are interested in a sample application to demostrate the bug take a look at <a href=\"https:\/\/github.com\/col-panic\/generic-stuff\">https:\/\/github.com\/col-panic\/generic-stuff<\/a><\/p>\n<p>The bug was finally tracked down, and a patch was created according to my findings from Silenio Quarti &#8211; NICE!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During several innacuretaly determinable situations we had sudden crashes of Elexis during work. These however were only occuring on OS X. After some research I found out that the bug is caused by a NPE in the SWT List element every time one removed the last element of the list. I filed a respective bug &hellip; <a href=\"http:\/\/www.descher.at\/descher-vu\/2012\/11\/388402-swt-os-x-list-bug\/\" class=\"more-link\"><span class=\"screen-reader-text\">[388402] SWT OS X List bug<\/span> weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[],"_links":{"self":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts\/17"}],"collection":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/comments?post=17"}],"version-history":[{"count":13,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":122,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/posts\/17\/revisions\/122"}],"wp:attachment":[{"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/media?parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/categories?post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.descher.at\/descher-vu\/wp-json\/wp\/v2\/tags?post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}