[oXygen-user] Non-checked exception in a plugin: silently ignored

Florent Georges
Mon Jan 24 12:46:26 CST 2011


  Hi,

  I just got a hard time with a problem with a plugin.  This is a
workspace plugin which installs a button in its own toolbar.
After some changes, it started behaving like it was not properly
fired when clicking on it.  It turned out, after some debugging,
it was because a null pointer exception was thrown, but silently
ignored, regardless the level of logging.

  Maybe it would be nice to log such errors, or to provide an
option to increase such checks if they have some cost, or to
provide an oXygen-specific Swing action which does such checks and
reporting.

  Regards,

-- 
Florent Georges
http://fgeorges.org/




      



More information about the oXygen-user mailing list