I’ve been working on a plot (18 pages), and all of a sudden, whenever I try to change an icon using the “Change icon” button, it does nothing at all.

Here is an extract from the log file:

[2014-03-20 17:10:33,724] [AWT-EventQueue-0] [ERROR] Image loading failed, current retry=0


at com.easynth.foreui.util.ImageUtil.getFreeScaledImage(Unknown Source)

at Source)

at Source)

at com.easynth.foreui.widget.plot_area.oOOO.super(Unknown Source)

at com.easynth.foreui.widget.plot_area.oOOO.?00000(Unknown Source)

at com.easynth.foreui.widget.plot_area.oOOO$29.actionPerformed(Unknown Source)

at javax.swing.AbstractButton.fireActionPerformed(

at javax.swing.AbstractButton$Handler.actionPerformed(

at javax.swing.DefaultButtonModel.fireActionPerformed(

at javax.swing.DefaultButtonModel.setPressed(

at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(

at java.awt.AWTEventMulticaster.mouseReleased(

at java.awt.Component.processMouseEvent(

at javax.swing.JComponent.processMouseEvent(

at java.awt.Component.processEvent(

at java.awt.Container.processEvent(

at java.awt.Component.dispatchEventImpl(

at java.awt.Container.dispatchEventImpl(

at java.awt.Component.dispatchEvent(

at java.awt.LightweightDispatcher.retargetMouseEvent(

at java.awt.LightweightDispatcher.processMouseEvent(

at java.awt.LightweightDispatcher.dispatchEvent(

at java.awt.Container.dispatchEventImpl(

at java.awt.Window.dispatchEventImpl(

at java.awt.Component.dispatchEvent(

at java.awt.EventQueue.dispatchEventImpl(

at java.awt.EventQueue.access$400(

at java.awt.EventQueue$

at java.awt.EventQueue$

at Method)



at java.awt.EventQueue$

at java.awt.EventQueue$

at Method)


at java.awt.EventQueue.dispatchEvent(

at java.awt.EventDispatchThread.pumpOneEventForFilters(

at java.awt.EventDispatchThread.pumpEventsForFilter(

at java.awt.EventDispatchThread.pumpEventsForHierarchy(

at java.awt.EventDispatchThread.pumpEvents(

at java.awt.EventDispatchThread.pumpEvents(


[2014-03-20 17:10:33,725] [AWT-EventQueue-0] [INFO] Exception in thread “AWT-EventQueue-0”

[2014-03-20 17:10:33,725] [AWT-EventQueue-0] [INFO] java.lang.NullPointerException

[2014-03-20 17:10:33,725] [AWT-EventQueue-0] [INFO] at javax.swing.ImageIcon.(

[2014-03-20 17:10:33,725] [AWT-EventQueue-0] [INFO] at com.easynth.foreui.widget.plot_area.oOOO.super(Unknown Source)

[2014-03-20 17:10:33,725] [AWT-EventQueue-0] [INFO] at com.easynth.foreui.widget.plot_area.oOOO.?00000(Unknown Source)

[2014-03-20 17:10:33,725] [AWT-EventQueue-0] [INFO] at com.easynth.foreui.widget.plot_area.oOOO$29.actionPerformed(Unknown Source)

[2014-03-20 17:10:33,725] [AWT-EventQueue-0] [INFO] at javax.swing.AbstractButton.fireActionPerformed(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at javax.swing.AbstractButton$Handler.actionPerformed(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at javax.swing.DefaultButtonModel.fireActionPerformed(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at javax.swing.DefaultButtonModel.setPressed(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at java.awt.AWTEventMulticaster.mouseReleased(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at java.awt.Component.processMouseEvent(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at javax.swing.JComponent.processMouseEvent(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at java.awt.Component.processEvent(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at java.awt.Container.processEvent(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at java.awt.Component.dispatchEventImpl(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at java.awt.Container.dispatchEventImpl(

[2014-03-20 17:10:33,726] [AWT-EventQueue-0] [INFO] at java.awt.Component.dispatchEvent(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.LightweightDispatcher.retargetMouseEvent(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.LightweightDispatcher.processMouseEvent(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.LightweightDispatcher.dispatchEvent(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.Container.dispatchEventImpl(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.Window.dispatchEventImpl(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.Component.dispatchEvent(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.EventQueue.dispatchEventImpl(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.EventQueue.access$400(

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.EventQueue$

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at java.awt.EventQueue$

[2014-03-20 17:10:33,727] [AWT-EventQueue-0] [INFO] at Method)

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at$1.doIntersectionPrivilege(

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at$1.doIntersectionPrivilege(

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at java.awt.EventQueue$

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at java.awt.EventQueue$

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at Method)

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at$1.doIntersectionPrivilege(

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at java.awt.EventQueue.dispatchEvent(

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at java.awt.EventDispatchThread.pumpOneEventForFilters(

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at java.awt.EventDispatchThread.pumpEventsForFilter(

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at java.awt.EventDispatchThread.pumpEventsForHierarchy(

[2014-03-20 17:10:33,728] [AWT-EventQueue-0] [INFO] at java.awt.EventDispatchThread.pumpEvents(

[2014-03-20 17:10:33,729] [AWT-EventQueue-0] [INFO] at java.awt.EventDispatchThread.pumpEvents(

[2014-03-20 17:10:33,729] [AWT-EventQueue-0] [INFO] at

It works fine with a blank plot open in the same window.

Anything that can be done?

2 answers

It seems the plot declares it has an image file, but ForeUI could not load and display it. This could be caused by one of the following reasons:

1) The image file is extracted from the plot file when you open it, but it was then removed (by user or other software) or the disk can not be accessed anymore (removable disk or network drive)

2) The plot keeps a record of file that does not actually exists. This could be caused by ForeUI bug.

You could try to close and re-open the plot to see if the issue still persist. If it persists you can turn on the “Cache Image Data in Memory” option in the “Misc” tab of settings window, and re-open the plot to see if that helps.

If none of those help, maybe it is reason 2) and you can try to “Save As..” your plot to a new one, and that should be able to remove the record of image file that does not actually exist.

Please let us know how things goes.


Thank you for your reply.

None of the options worked, but I managed to work the problem out.

The plot had a bunch of images with a length of 0 bytes (they appeared as blank images in the Image Panel). So I deleted those images and ForeUI magically began to work as expected.


  1. Glad to know it works for you. Do you still remember where are those 0 byte images from?
  2. If I remember well, I copied a group of elements from another plot, and these images were amongst those elements.

This question is now closed