Save as image PDF Error [message #742475] |
Thu, 20 October 2011 10:25  |
Eclipse User |
|
|
|
Hi, i stumpled across a problem with the Save as image funtion in a
generated GMF Diagram. I know that there was a similar problem in
papyrus, a year ago, have someone suffert the same problem and is having
a solution for me?
When i try to save my diagram as a pdf, he throws me the following
exception:
java.lang.ClassCastException:
org.eclipse.gmf.runtime.draw2d.ui.render.internal.image.ImageRenderedImage
cannot be cast to
org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SVGImage
at
org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.saveToOutputStream(CopyToImageUtil.java:529)
at
org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.saveToFile(CopyToImageUtil.java:513)
at
org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.copyToImage(CopyToImageUtil.java:378)
at
org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.copyToImage(CopyToImageUtil.java:305)
at
org.eclipse.gmf.runtime.diagram.ui.render.actions.CopyToImageAction$1.run(CopyToImageAction.java:260)
at
|
|
|
|
|
Re: Save as image PDF Error [message #747691 is a reply to message #742475] |
Mon, 24 October 2011 04:17  |
Eclipse User |
|
|
|
Hi,
Please report this bug to https://bugs.eclipse.org/bugs/ . In the
category Modeling > GMP > GMF Runtime.
Thanks in advance.
On 20/10/2011 16:25, Kevin Barwich wrote:
> Hi, i stumpled across a problem with the Save as image funtion in a
> generated GMF Diagram. I know that there was a similar problem in
> papyrus, a year ago, have someone suffert the same problem and is having
> a solution for me?
>
> When i try to save my diagram as a pdf, he throws me the following
> exception:
>
> java.lang.ClassCastException:
> org.eclipse.gmf.runtime.draw2d.ui.render.internal.image.ImageRenderedImage
> cannot be cast to
> org.eclipse.gmf.runtime.draw2d.ui.render.awt.internal.svg.SVGImage
> at
> org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.saveToOutputStream(CopyToImageUtil.java:529)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.saveToFile(CopyToImageUtil.java:513)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.copyToImage(CopyToImageUtil.java:378)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.render.util.CopyToImageUtil.copyToImage(CopyToImageUtil.java:305)
>
> at
> org.eclipse.gmf.runtime.diagram.ui.render.actions.CopyToImageAction$1.run(CopyToImageAction.java:260)
>
> at
>
--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
|
|
|
Powered by
FUDForum. Page generated in 0.04326 seconds