Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Assertion failed exception on double-clicking GEF view
Assertion failed exception on double-clicking GEF view [message #239948] Fri, 23 November 2007 03:31
Eclipse UserFriend
Originally posted by: hina.shah.gatech.edu

Hi All,
I am pretty new to GEF and I have been trying to create a simple
views using the GEF's MVC model. However, whenever I double click on my
views it throws an exception as given below. I have just implemented the
basics (model, editparts, views, editpartfactory). I haven't implemented
anything for editdomain...


Could someone give me some directions for debugging this problem?

Any help will be appreciated greatly.


org.eclipse.core.runtime.AssertionFailedException: assertion failed: The
application has not been initialized.
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:109)
at
org.eclipse.core.internal.runtime.InternalPlatform.assertIni tialized(InternalPlatform.java:174)
at
org.eclipse.core.internal.runtime.InternalPlatform.getAdapte rManager(InternalPlatform.java:202)
at org.eclipse.core.runtime.Platform.getAdapterManager(Platform .java:579)
at
org.eclipse.gef.editparts.AbstractEditPart.getAdapter(Abstra ctEditPart.java:435)
at
org.eclipse.gef.editparts.AbstractGraphicalEditPart.getAdapt er(AbstractGraphicalEditPart.java:409)
at
org.eclipse.gef.ui.parts.GraphicalViewerImpl.reveal(Graphica lViewerImpl.java:287)
at
org.eclipse.gef.ui.parts.ScrollingGraphicalViewer.reveal(Scr ollingGraphicalViewer.java:83)
at
org.eclipse.gef.tools.SelectEditPartTracker.handleButtonUp(S electEditPartTracker.java:115)
at
org.eclipse.gef.tools.DragEditPartsTracker.handleButtonUp(Dr agEditPartsTracker.java:336)
at org.eclipse.gef.tools.AbstractTool.mouseUp(AbstractTool.java :1053)
at org.eclipse.gef.tools.SelectionTool.mouseUp(SelectionTool.ja va:544)
at org.eclipse.gef.EditDomain.mouseUp(EditDomain.java:259)
at
org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouse Released(DomainEventDispatcher.java:374)
at
org.eclipse.draw2d.LightweightSystem$EventHandler.mouseUp(Li ghtweightSystem.java:538)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:137)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at SemanticZoomMain.open(SemanticZoomMain.java:194)
at SemanticZoomMain.main(SemanticZoomMain.java:38)



Regards,
Hina
Previous Topic:Editable GEF TreeViewer
Next Topic:Re: zoom in/out and polylineconnection
Goto Forum:
  


Current Time: Sat May 04 17:00:31 GMT 2024

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

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

Back to the top