Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Error "Unable to convolve src image"

+1 vote

The error dialog pops up and shows the following error message:  "java.awt.image.ImagingOpException: Unable to convolve src image".

If I try to close the error dialog, the dialog keeps re-appearing. Please help me.

The beginning of the stacktrace is:

stacktrace: java.awt.image.ImagingOpException: Unable to convolve src image
	at java.awt.image.ConvolveOp.filter(Unknown Source)
	at y.I.VA.ā(Unknown Source)
	at y.I.VA.ā(Unknown Source)
	at y.I.TA.ĕ(Unknown Source)
	at y.I.TA.ā(Unknown Source)
	at B.A.A.V.C$A.ā(Unknown Source)
	at y.I.F.Ă(Unknown Source)
	at y.I.F.Ă(Unknown Source)
	at y.I.PA.paint(Unknown Source)
	at y.I.Y.ă(Unknown Source)
	at y.I.Y.ā(Unknown Source)
	at y.I.Y.ā(Unknown Source)
	at y.I.DA.Ą(Unknown Source)
	at y.I.DA.paintComponent(Unknown Source)
asked Jun 20, 2013 in Help by anonymous

2 Answers

0 votes

This is a problem with the most recent version of Java (version 7 Update 25). Unfortunately, there is nothing you can do in yEd to prevent this error. We're currently working on a fix for this problem and will release a new version as soon as possible.

In the mean-time, the only solution is to avoid Java 7 Update 25. On Windows and Linux, simply use the installer with bundled Java. It contains an older version without the problem. Note that installing this version is no security problem since the bundled Java can only be used by yEd: yEd Downloads

 

answered Jun 20, 2013 by michael [yWorks] (26,530 points)
0 votes
This problem is fixed as of version 3.11 (released June 24th, 2013).
answered Jun 24, 2013 by thomas.behr [yWorks] (116,850 points)
With version 3.11 and JRE 7 u25 I get the following exception (I get the same with Java 7 u40):
java.awt.image.ImagingOpException: Unable to transform src image
    at java.awt.image.AffineTransformOp.filter(AffineTransformOp.java:284)
    at org.apache.batik.ext.awt.image.rendered.AffineRed.genRect(Unknown Source)
    at org.apache.batik.ext.awt.image.rendered.AffineRed.copyData(Unknown Source)
    at org.apache.batik.ext.awt.image.rendered.Any2sRGBRed.copyData(Unknown Source)
    at org.apache.batik.ext.awt.image.rendered.AbstractRed.getData(Unknown Source)
    at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(Unknown Source)
    at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(Unknown Source)
    at org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(Unknown Source)
    at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(Unknown Source)
    at org.apache.batik.ext.awt.image.renderable.PadRable8Bit.paintRable(Unknown Source)
    at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(Unknown Source)
    at org.apache.batik.ext.awt.image.renderable.FilterChainRable8Bit.paintRable(Unknown Source)
    at org.apache.batik.ext.awt.image.GraphicsUtil.drawImage(Unknown Source)
    at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
    at org.apache.batik.gvt.ShapeNode.paint(Unknown Source)
    at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
    at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
    at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
    at org.apache.batik.gvt.CanvasGraphicsNode.primitivePaint(Unknown Source)
    at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
    at org.apache.batik.gvt.CompositeGraphicsNode.primitivePaint(Unknown Source)
    at org.apache.batik.gvt.AbstractGraphicsNode.paint(Unknown Source)
    at C.A.A.E.ā(Unknown Source)
    at C.A.A.F.paintNode(Unknown Source)
    at y.I.LA.paint(Unknown Source)
    at B.A.A.B.S.L.paintIcon(Unknown Source)
    at javax.swing.plaf.basic.BasicLabelUI.paint(BasicLabelUI.java:167)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
    at javax.swing.JComponent.paintComponent(JComponent.java:778)
    at B.A.A.A.N$1.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(JComponent.java:1054)
    at javax.swing.CellRendererPane.paintComponent(CellRendererPane.java:151)
    at javax.swing.plaf.basic.BasicListUI.paintCell(BasicListUI.java:227)
    at javax.swing.plaf.basic.BasicListUI.paintImpl(BasicListUI.java:317)
    at javax.swing.plaf.basic.BasicListUI.paint(BasicListUI.java:240)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:161)
    at javax.swing.JComponent.paintComponent(JComponent.java:778)
    at javax.swing.JComponent.paint(JComponent.java:1054)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JViewport.paint(JViewport.java:731)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JLayeredPane.paint(JLayeredPane.java:585)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintChildren(JComponent.java:887)
    at javax.swing.JComponent.paint(JComponent.java:1063)
    at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219)
    at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295)
    at javax.swing.RepaintManager.paint(RepaintManager.java:1249)
    at javax.swing.JComponent._paintImmediately(JComponent.java:5167)
    at javax.swing.JComponent.paintImmediately(JComponent.java:4978)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:808)
    at javax.swing.RepaintManager$3.run(RepaintManager.java:796)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:796)
    at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:769)
    at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:718)
    at javax.swing.RepaintManager.access$1100(RepaintManager.java:62)
    at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1677)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)


Is it the same bug?
It is related but not the same. The problem you are experiencing is caused by a bug in Java 7u25 when displaying SVG nodes. Unlike the original poster's problem, there does not seem to exist a real fix for the SVG problem. Nevertheless, the next version of yEd will no longer crash due to this issue. However, as a consequence SVG nodes that trigger the error might not be displayed correctly.
As it stands, the only way to ensure correct SVG display is to stick to Java 7u21 (or earlier).
Your best option is to use the yEd version that comes with an embedded Java runtime environment, as that is guaranteed to work (and is installed in such a way that you are not affected by possible Java browser plugin vulnerabilities of the embedded JRE).
Imprint | Privacy Policy