Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Error opening diagram files
Error opening diagram files [message #210421] Wed, 05 November 2008 11:52 Go to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
Hi ,

I face one strange problem sometime when I open the diagram files . I get
null pointer exception and file didn't open . In error it says :

!MESSAGE Unable to create editor ID
applicationDiagramEditorID: An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException
at
org.eclipse.gmf.runtime.draw2d.ui.render.figures.ScalableIma geFigure.getRenderedImage(ScalableImageFigure.java:307)
at
org.eclipse.gmf.runtime.draw2d.ui.render.figures.ScalableIma geFigure.setBounds(ScalableImageFigure.java:281)
at org.eclipse.draw2d.StackLayout.layout(StackLayout.java:89)
at org.eclipse.draw2d.Figure.layout(Figure.java:1029)
at org.eclipse.draw2d.Figure.validate(Figure.java:1739)
at org.eclipse.draw2d.Figure.validate(Figure.java:1741)
at org.eclipse.draw2d.Figure.validate(Figure.java:1741)
at
org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsAwareF reeFormLayer.validate(BorderItemsAwareFreeFormLayer.java:169 )
at
org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart $1.validate(DiagramEditPart.java:157)
at org.eclipse.draw2d.Figure.validate(Figure.java:1741)





I am using gmf version 2.0 . I have different file for diagram and model.

Can some one help me is this a bug?

Thanks in Advance .
Vikas Goyal
Re: Error opening diagram files [message #210455 is a reply to message #210421] Wed, 05 November 2008 15:25 Go to previous message
Linda Damus is currently offline Linda DamusFriend
Messages: 85
Registered: July 2009
Member
Vikas,

This looks like it might already have been fixed by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=222619 in v2.1.

Regards,
Linda


Vikas Goyal wrote:
> Hi ,
>
> I face one strange problem sometime when I open the diagram files . I
> get null pointer exception and file didn't open . In error it says :
>
> !MESSAGE Unable to create editor ID applicationDiagramEditorID: An
> unexpected exception was thrown.
> !STACK 0
> java.lang.NullPointerException
> at
> org.eclipse.gmf.runtime.draw2d.ui.render.figures.ScalableIma geFigure.getRenderedImage(ScalableImageFigure.java:307)
>
> at
> org.eclipse.gmf.runtime.draw2d.ui.render.figures.ScalableIma geFigure.setBounds(ScalableImageFigure.java:281)
>
> at org.eclipse.draw2d.StackLayout.layout(StackLayout.java:89)
> at org.eclipse.draw2d.Figure.layout(Figure.java:1029)
> at org.eclipse.draw2d.Figure.validate(Figure.java:1739)
> at org.eclipse.draw2d.Figure.validate(Figure.java:1741)
> at org.eclipse.draw2d.Figure.validate(Figure.java:1741)
> at
> org.eclipse.gmf.runtime.diagram.ui.figures.BorderItemsAwareF reeFormLayer.validate(BorderItemsAwareFreeFormLayer.java:169 )
>
> at
> org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart $1.validate(DiagramEditPart.java:157)
>
> at org.eclipse.draw2d.Figure.validate(Figure.java:1741)
>
>
>
>
>
> I am using gmf version 2.0 . I have different file for diagram and model.
>
> Can some one help me is this a bug?
>
> Thanks in Advance .
> Vikas Goyal
>
>
>
>
>
>
Previous Topic:Cannot Move connections and links
Next Topic:adding action to editparts
Goto Forum:
  


Current Time: Thu Jan 28 14:34:13 GMT 2021

Powered by FUDForum. Page generated in 0.01521 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top