< prev index next >

src/java.desktop/share/classes/sun/awt/image/OffScreenImageSource.java

Print this page

        

*** 186,196 **** --- 186,201 ---- theConsumer.setProperties(properties); sendPixels(); theConsumer.imageComplete(ImageConsumer.SINGLEFRAMEDONE); theConsumer.imageComplete(ImageConsumer.STATICIMAGEDONE); } catch (NullPointerException e) { + e.printStackTrace(); + try { if (theConsumer != null) { theConsumer.imageComplete(ImageConsumer.IMAGEERROR); } + } catch (NullPointerException ex) { + ex.printStackTrace(); + } } } }
< prev index next >