Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » DAWN Codegen tutorial
DAWN Codegen tutorial [message #781864] Sun, 22 January 2012 14:50 Go to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I was following the DAWN Codegen Tutorial. I faced problem in installing GMFTooling. When I tried to install it, I got the following Details, I could not move further.
Can anyone help me?


Your original request has been modified.
"Third-Party Components for GMF Runtime" will be ignored because a newer version is already installed.
Cannot complete the install because of a conflicting dependency.
Software being installed: Graphical Modeling Framework (Experimental) Tests 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL (org.eclipse.gmf.tests.experimental.feature.group 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL)
Software currently installed: Graphical Modeling Framework (GMF) Runtime SDK 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y (org.eclipse.gmf.runtime.sdk.feature.group 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y)
Only one of the following can be installed at once:
Third-Party Components for GMF Runtime 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221 (org.eclipse.gmf.runtime.thirdparty.feature.jar 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221)
Third-Party Components for GMF Runtime 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16 (org.eclipse.gmf.runtime.thirdparty.feature.jar 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16)
Cannot satisfy dependency:
From: Graphical Modeling Framework (GMF) Runtime 1.5.0.v20110607-1200-7d9Q7HFYnmMEynz0X0qrbsDiK281 (org.eclipse.gmf.feature.group 1.5.0.v20110607-1200-7d9Q7HFYnmMEynz0X0qrbsDiK281)
To: org.eclipse.gmf.runtime.thirdparty.feature.group
Cannot satisfy dependency:
From: Graphical Modeling Framework (GMF) Runtime SDK 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y (org.eclipse.gmf.runtime.sdk.feature.group 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y)
To: org.eclipse.gmf.feature.group
Cannot satisfy dependency:
From: Third-Party Components for GMF Runtime 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16 (org.eclipse.gmf.runtime.thirdparty.feature.group 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16)
To: org.eclipse.gmf.runtime.thirdparty.feature.jar
Cannot satisfy dependency:
From: Third-Party Components for GMF Runtime 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221 (org.eclipse.gmf.runtime.thirdparty.feature.group 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221)
To: org.eclipse.gmf.runtime.thirdparty.feature.jar
Cannot satisfy dependency:
From: GMF Experimental SDK 1.1.1.v20100421-2359-7A78EpF7RZHMqKpQtAYujy08Q9X7 (org.eclipse.gmf.sdk.experimental.feature.group 1.1.1.v20100421-2359-7A78EpF7RZHMqKpQtAYujy08Q9X7)
To: org.eclipse.gmf.runtime.thirdparty.feature.group [1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16]
Cannot satisfy dependency:
From: Graphical Modeling Framework (Experimental) Tests 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL (org.eclipse.gmf.tests.experimental.feature.group 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL)
To: org.eclipse.gmf.sdk.experimental.feature.group [1.0.0.qualifier,2.0.0)
Re: DAWN Codegen tutorial [message #782088 is a reply to message #781864] Mon, 23 January 2012 05:43 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
What happens if you start from scratch (new IDE, new workspace, empty target platform), import the p2 bookmarks from
http://download.eclipse.org/modeling/emf/cdo/drops/M20120120-0413/bookmarks.xml and install CDO/Dawn from
http://download.eclipse.org/modeling/emf/cdo/drops/M20120120-0413 ?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 22.01.2012 15:50, schrieb UmaShankarSubramani Mising name:
> I was following the DAWN Codegen Tutorial. I faced problem in installing GMFTooling. When I tried to install it, I
> got the following Details, I could not move further.
> Can anyone help me?
>
>
> Your original request has been modified.
> "Third-Party Components for GMF Runtime" will be ignored because a newer version is already installed. Cannot
> complete the install because of a conflicting dependency.
> Software being installed: Graphical Modeling Framework (Experimental) Tests 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL
> (org.eclipse.gmf.tests.experimental.feature.group 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL)
> Software currently installed: Graphical Modeling Framework (GMF) Runtime SDK
> 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y (org.eclipse.gmf.runtime.sdk.feature.group
> 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y)
> Only one of the following can be installed at once: Third-Party Components for GMF Runtime
> 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221 (org.eclipse.gmf.runtime.thirdparty.feature.jar
> 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221)
> Third-Party Components for GMF Runtime 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16
> (org.eclipse.gmf.runtime.thirdparty.feature.jar 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16)
> Cannot satisfy dependency:
> From: Graphical Modeling Framework (GMF) Runtime 1.5.0.v20110607-1200-7d9Q7HFYnmMEynz0X0qrbsDiK281
> (org.eclipse.gmf.feature.group 1.5.0.v20110607-1200-7d9Q7HFYnmMEynz0X0qrbsDiK281)
> To: org.eclipse.gmf.runtime.thirdparty.feature.group Cannot satisfy dependency:
> From: Graphical Modeling Framework (GMF) Runtime SDK 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y
> (org.eclipse.gmf.runtime.sdk.feature.group 1.5.0.v20110607-1200-67N09E9QnChoWswz-3wf_rz0kQ8Y)
> To: org.eclipse.gmf.feature.group Cannot satisfy dependency:
> From: Third-Party Components for GMF Runtime 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16
> (org.eclipse.gmf.runtime.thirdparty.feature.group 1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16)
> To: org.eclipse.gmf.runtime.thirdparty.feature.jar Cannot satisfy dependency:
> From: Third-Party Components for GMF Runtime 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221
> (org.eclipse.gmf.runtime.thirdparty.feature.group 1.5.0.v20110607-1200-7P8W6FHV2CYnrDgDtz-JNaw31221)
> To: org.eclipse.gmf.runtime.thirdparty.feature.jar Cannot satisfy dependency:
> From: GMF Experimental SDK 1.1.1.v20100421-2359-7A78EpF7RZHMqKpQtAYujy08Q9X7
> (org.eclipse.gmf.sdk.experimental.feature.group 1.1.1.v20100421-2359-7A78EpF7RZHMqKpQtAYujy08Q9X7)
> To: org.eclipse.gmf.runtime.thirdparty.feature.group [1.5.0.v20101215-1202-7P8W6FHV2CYms9gAtyKPaw311A16]
> Cannot satisfy dependency:
> From: Graphical Modeling Framework (Experimental) Tests 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL
> (org.eclipse.gmf.tests.experimental.feature.group 1.0.0.v20100421-2359-7A4Eo8s73533B5C179DL)
> To: org.eclipse.gmf.sdk.experimental.feature.group [1.0.0.qualifier,2.0.0)


Re: DAWN Codegen tutorial [message #782284 is a reply to message #782088] Mon, 23 January 2012 13:06 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I get the same problem as before:


validatePage
!SESSION 2012-01-23 13:58:43.535 -----------------------------------------------
eclipse.buildId=M20110909-1335
java.version=1.6.0_29
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.sdk.ide
Command-line arguments: -product org.eclipse.sdk.ide -data C:\Users\Uma\workspace\IWS/../runtime-EclipseApplication -dev file:C:/Users/Uma/workspace/IWS/.metadata/.plugins/org.eclipse.pde.core/Eclipse Application/dev.properties -os win32 -ws win32 -arch x86 -consoleLog

!ENTRY org.eclipse.ui 4 4 2012-01-23 13:59:27.813
!MESSAGE Unable to create editor contributor: EMFProject.presentation.DawnCollegeEditorID

!ENTRY org.eclipse.equinox.registry 4 1 2012-01-23 13:59:27.818
!MESSAGE Plug-in EMFProject.editor was unable to load class EMFProject.presentation.CollegeActionBarContributor.
!STACK 0
java.lang.ClassNotFoundException: EMFProject.presentation.CollegeActionBarContributor
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
at org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260)
at org.eclipse.ui.internal.registry.EditorDescriptor.createActionBarContributor(EditorDescriptor.java:197)
at org.eclipse.ui.internal.EditorManager.createEditorActionBars(EditorManager.java:338)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:820)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1245)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1198)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1597)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:493)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:479)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2756)
at EMFProject.presentation.DawnCollegeModelWizard.openEditor(DawnCollegeModelWizard.java:117)
at EMFProject.presentation.DawnCollegeModelWizard.performFinish(DawnCollegeModelWizard.java:103)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.ui.workbench 4 2 2012-01-23 13:59:28.013
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at college.presentation.CollegeEditor$1MyContentOutlinePage.setActionBars(CollegeEditor.java:1357)
at org.eclipse.ui.part.PageBookView.preparePage(PageBookView.java:438)
at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:411)
at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:751)
at org.eclipse.ui.views.contentoutline.ContentOutline.partBroughtToTop(ContentOutline.java:212)
at org.eclipse.ui.part.PageBookView$4.partBroughtToTop(PageBookView.java:1018)
at org.eclipse.ui.internal.PartListenerList2$2.run(PartListenerList2.java:85)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
at org.eclipse.ui.internal.PartListenerList2.firePartBroughtToTop(PartListenerList2.java:83)
at org.eclipse.ui.internal.PartService.firePartBroughtToTop(PartService.java:212)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartBroughtToTop(WorkbenchPagePartList.java:76)
at org.eclipse.ui.internal.WorkbenchPagePartList.fireActiveEditorChanged(WorkbenchPagePartList.java:52)
at org.eclipse.ui.internal.PartList.setActiveEditor(PartList.java:162)
at org.eclipse.ui.internal.WorkbenchPage.makeActiveEditor(WorkbenchPage.java:1355)
at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1300)
at org.eclipse.ui.internal.WorkbenchPage.partAdded(WorkbenchPage.java:1780)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:217)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:808)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:707)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:666)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2942)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2756)
at EMFProject.presentation.DawnCollegeModelWizard.openEditor(DawnCollegeModelWizard.java:117)
at EMFProject.presentation.DawnCollegeModelWizard.performFinish(DawnCollegeModelWizard.java:103)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.ui.workbench 4 2 2012-01-23 13:59:28.087
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at college.presentation.CollegeEditor.getActionBars(CollegeEditor.java:1765)
at college.presentation.CollegeEditor.setStatusLineManager(CollegeEditor.java:1693)
at college.presentation.CollegeEditor.setSelection(CollegeEditor.java:1683)
at college.presentation.CollegeEditor.handleActivate(CollegeEditor.java:545)
at college.presentation.CollegeEditor$1.partActivated(CollegeEditor.java:345)
at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)
at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:187)
at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:306)
at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:57)
at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3636)
at org.eclipse.ui.internal.WorkbenchPage.internalActivate(WorkbenchPage.java:691)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:663)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2957)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2756)
at EMFProject.presentation.DawnCollegeModelWizard.openEditor(DawnCollegeModelWizard.java:117)
at EMFProject.presentation.DawnCollegeModelWizard.performFinish(DawnCollegeModelWizard.java:103)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:827)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.ui 4 0 2012-01-23 13:59:28.141
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at college.presentation.CollegeEditor.getActionBars(CollegeEditor.java:1765)
at college.presentation.CollegeEditor.setStatusLineManager(CollegeEditor.java:1693)
at college.presentation.CollegeEditor.setSelection(CollegeEditor.java:1683)
at college.presentation.CollegeEditor.setCurrentViewer(CollegeEditor.java:897)
at college.presentation.CollegeEditor.setCurrentViewerPane(CollegeEditor.java:852)
at college.presentation.CollegeEditor$7.requestActivation(CollegeEditor.java:1021)
at org.eclipse.emf.common.ui.ViewerPane.handleEvent(ViewerPane.java:219)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1447)
at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2836)
at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:2403)
at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:5152)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4598)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
at org.eclipse.swt.widgets.Control.forceFocus(Control.java:1098)
at org.eclipse.swt.widgets.Control.setSavedFocus(Control.java:3599)
at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:821)
at org.eclipse.swt.widgets.Decorations.WM_ACTIVATE(Decorations.java:1651)
at org.eclipse.swt.widgets.Shell.WM_ACTIVATE(Shell.java:2137)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4525)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DestroyWindow(Native Method)
at org.eclipse.swt.widgets.Control.destroyWidget(Control.java:780)
at org.eclipse.swt.widgets.Shell.destroyWidget(Shell.java:698)
at org.eclipse.swt.widgets.Widget.release(Widget.java:818)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:446)
at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:447)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:715)
at org.eclipse.jface.window.Window.close(Window.java:335)
at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:979)
at org.eclipse.jface.dialogs.TrayDialog.close(TrayDialog.java:221)
at org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog.java:892)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:835)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:432)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHandler(WizardHandler.java:257)
at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:277)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.jface 4 2 2012-01-23 13:59:28.165
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at college.presentation.CollegeEditor.getActionBars(CollegeEditor.java:1765)
at college.presentation.CollegeEditor.setStatusLineManager(CollegeEditor.java:1693)
at college.presentation.CollegeEditor.setSelection(CollegeEditor.java:1683)
at college.presentation.CollegeEditor$6.selectionChanged(CollegeEditor.java:874)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:164)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:162)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2188)
at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1725)
at org.eclipse.jface.viewers.TreeViewer.setSelection(TreeViewer.java:1139)
at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:394)
at college.presentation.CollegeEditor.handleContentOutlineSelection(CollegeEditor.java:1431)
at college.presentation.CollegeEditor.pageChange(CollegeEditor.java:1287)
at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1067)
at college.presentation.CollegeEditor.access$1(CollegeEditor.java:1)
at college.presentation.CollegeEditor$13.run(CollegeEditor.java:1211)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.emf.common.ui 2 0 2012-01-23 13:59:28.198
!MESSAGE org.eclipse.emf.cdo.dawn.ui.DawnEditorInput
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.emf.cdo.dawn.ui.DawnEditorInput
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)
at org.eclipse.emf.common.ui.URIEditorInput.create(URIEditorInput.java:174)
at org.eclipse.emf.common.ui.URIEditorInputFactory.createElement(URIEditorInputFactory.java:39)
at org.eclipse.ui.internal.NavigationHistoryEditorInfo.restoreEditor(NavigationHistoryEditorInfo.java:79)
at org.eclipse.ui.internal.NavigationHistory.addEntry(NavigationHistory.java:371)
at org.eclipse.ui.internal.NavigationHistory.access$10(NavigationHistory.java:355)
at org.eclipse.ui.internal.NavigationHistory$2.run(NavigationHistory.java:202)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.ui.workbench 4 2 2012-01-23 13:59:36.692
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.part.PageBookView.removePage(PageBookView.java:839)
at org.eclipse.ui.part.PageBookView.partClosed(PageBookView.java:784)
at org.eclipse.ui.part.PageBookView$4.partClosed(PageBookView.java:1022)
at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:100)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:888)
at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:98)
at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:227)
at org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:39)
at org.eclipse.ui.internal.PartList.partClosed(PartList.java:274)
at org.eclipse.ui.internal.PartList.removePart(PartList.java:186)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1796)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1501)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1485)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1459)
at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1262)
at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1846)
at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:887)
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1722)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858)
at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1109)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1106)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1277)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1249)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:727)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1677)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4530)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

!ENTRY org.eclipse.ui.workbench 4 0 2012-01-23 13:59:36.728
!MESSAGE An unexpected exception was thrown.
!STACK 0
java.lang.NullPointerException
at college.presentation.CollegeEditor.dispose(CollegeEditor.java:1792)
at EMFProject.presentation.DawnCollegeEditor.dispose(DawnCollegeEditor.java:130)
at org.eclipse.ui.internal.WorkbenchPartReference.doDisposePart(WorkbenchPartReference.java:737)
at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:327)
at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:684)
at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1797)
at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1501)
at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1485)
at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1459)
at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1262)
at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1846)
at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:887)
at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1722)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:730)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858)
at org.eclipse.jface.window.WindowManager.close(WindowManager.java:109)
at org.eclipse.ui.internal.Workbench$18.run(Workbench.java:1109)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:1106)
at org.eclipse.ui.internal.Workbench.access$15(Workbench.java:1035)
at org.eclipse.ui.internal.Workbench$25.run(Workbench.java:1279)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1277)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1249)
at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:727)
at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:715)
at org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindow.java:860)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:858)
at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741)
at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:98)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1677)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4530)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2526)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:498)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Re: DAWN Codegen tutorial [message #782384 is a reply to message #782284] Mon, 23 January 2012 16:28 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
I could not create any of the Dawn Editors. Even the wizards for editor creation cannot be opened:

This is from the runtime instance:

The selected wizard could not be started.
Plug-in "EMFProject.editor" was unable to instantiate class "EMFProject.presentation.DawnCollegeModelWizard".
java.lang.ArrayIndexOutOfBoundsException: 127

This is from the original instance:

org.eclipse.net4j.signal.RemoteException: java.lang.ArrayIndexOutOfBoundsException: 127
at org.eclipse.net4j.signal.RequestWithConfirmation.getRemoteException(RequestWithConfirmation.java:139)
at org.eclipse.net4j.signal.RequestWithConfirmation.setRemoteException(RequestWithConfirmation.java:128)
at org.eclipse.net4j.signal.SignalProtocol.handleRemoteException(SignalProtocol.java:446)
at org.eclipse.net4j.signal.RemoteExceptionIndication.indicating(RemoteExceptionIndication.java:63)
at org.eclipse.net4j.signal.Indication.doExtendedInput(Indication.java:55)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
at org.eclipse.net4j.signal.Indication.execute(Indication.java:49)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 127
at org.eclipse.net4j.util.io.ExtendedIOUtil.readEnum(ExtendedIOUtil.java:240)
at org.eclipse.net4j.util.io.ExtendedDataInputStream.readEnum(ExtendedDataInputStream.java:49)
at org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readEnum(ExtendedDataInput.java:143)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.OpenSessionIndication.indicating(OpenSessionIndication.java:84)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
at org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
... 5 more


[Updated on: Mon, 23 January 2012 16:30]

Report message to a moderator

Re: DAWN Codegen tutorial [message #782447 is a reply to message #782384] Mon, 23 January 2012 18:00 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Am 23.01.2012 17:28, schrieb UmaShankarSubramani Mising name:
> I could not create any of the Dawn Editors. Even the wizards for editor
> creation cannot be opened:
>
> The selected wizard could not be started.
> Plug-in "EMFProject.editor" was unable to instantiate class
> "EMFProject.presentation.DawnCollegeModelWizard".
> java.lang.ArrayIndexOutOfBoundsException: 127

Is the Dawn code generated correctly, does it compile? Does the class
DawnCollegeModelWizard exist?

Cheers,

Martin
Re: DAWN Codegen tutorial [message #782488 is a reply to message #782447] Mon, 23 January 2012 20:16 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Martin,

The Dawn code is generated correctly and compiles fine. Yes DawnCollegeModelWizard exist. I wonder the same thing works for Acore model, but not for ecore model.
Re: DAWN Codegen tutorial [message #782496 is a reply to message #782488] Mon, 23 January 2012 20:33 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike and Martin,

I would like to end this argument on problem with Ecore model, since it works for Acore model. If you find a solution to this in the future, please kindly let me know.

Now I am gonna work(or atleast give a try) to add additional fuctionality to this Acore editor. I would like to try to implement the locking and un-locking functionality by working on the generated org.eclipse.emf.cdo.dawn.examples.acore.editor.dawn fragment. Because it is the mandatory feature in my thesis work. Could you please give me a small hint, how to start doing this?


Also an optional requirement is to synchronize every single changes(i.e To make all the client editors updated all the time). Is it possible with dawn? I guess, this piece is related to doing such task. But it doesn't!!!

dawnEditorSupport.getView().options().addChangeSubscriptionPolicy(CDOAdapterPolicy.ALL);

I am sorry for troubling you both, everyday. But I have no one to question about CDO and DAWN. But I thank you both for your nice response.

[Updated on: Mon, 23 January 2012 21:14]

Report message to a moderator

Re: DAWN Codegen tutorial [message #782719 is a reply to message #782496] Tue, 24 January 2012 09:46 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
> Now I am gonna work(or atleast give a try) to add additional fuctionality to this
> Acore editor.

Note that there is also a fragment to extend the Ecore editor and another for the Diagram editor from the Ecore Tools Project. They should also work.

> I would like to try to implement the locking and un-locking
> functionality by working on the generated
> org.eclipse.emf.cdo.dawn.examples.acore.editor.dawn fragment. Because it is the
> mandatory feature in my thesis work. Could you please give me a small hint, how to
> start doing this?

Well, the API already supports locking, altough the implementation is not yet 100% finished. Have look at IDawnEditingSupport.lockObject() and related methods. But check out the newest sources.

http://wiki.eclipse.org/CDO_Source_Installation


> Also an optional requirement is to synchronize every single changes(i.e To make
> all the client editors updated all the time). Is it possible with dawn?

It is and it should work. Which changes are not reflected in the editor?

> dawnEditorSupport.getView().options().addChangeSubscriptionPolicy(CDOAdapterPolicy.ALL);

> I am sorry for troubling you both, everyday. But I have no one to question about
> CDO and DAWN. But I thank you both for your nice response.

No problem. Ask as much as you need Wink

Cheers,

Martin
Re: DAWN Codegen tutorial [message #782743 is a reply to message #782719] Tue, 24 January 2012 10:40 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Martin,
Thanks for your support. It is good to hear that there in an API which exists already. My thesis title is "Concurrent Modeling Support in Eclipse using CDO". For that, I have to atleast implement some plugins myself for supporting Concurrent modeling. But you have developed everything and I have no work to do. Even though I spent more than three months in learning CDO and DAWN, I have not written any code myself. So, I need to develop some functionalities myself, in order to get my thesis approved. Could you please tell how can I enhance DAWN by writing my own code??

About Synchronization: Consider two client DAWN editors A and B sharing a same model. In order to make the changes made in A reflected in B, we should save A right? Otherwise, B will not reflect the changes made in A. So, B should be updated automatically whithout a need to save A. How can I do it in DAWN?

Okay, you developed an API for LockObject, but I cannot see that action in the DAWNEditor. The action is not made visible yet?

[Updated on: Tue, 24 January 2012 10:41]

Report message to a moderator

Re: DAWN Codegen tutorial [message #782936 is a reply to message #782743] Tue, 24 January 2012 19:08 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Am 24.01.2012 11:40, schrieb UmaShankarSubramani Mising name:
> Hi Martin,
> Thanks for your support. It is good to hear that there in an API
> which exists already. My thesis title is "Concurrent Modeling Support
> in Eclipse using CDO". For that, I have to atleast implement some
> plugins myself for supporting Concurrent modeling. But you have
> developed everything and I have no work to do.

I am really sorry ;)


> Even though I spent more
> than three months in learning DO and DAWN, I have not written any code
> myself. So, I need to develop some functionalities myself, in order to
> get my thesis approved. Could you please tell how can I enhance DAWN by
> writing my own code??

Well, although the API is there, it does not mean that everything works
fine. You can lock/unlock element, but currently the UI does not prevent
local modification. E.g. you can change the attributes of an locked
object. But you cannot commit this change.

You could try implementing some functionality which prevents local
changes on locked objects. But that is not trivial.


>
> About Synchronization: Consider two client DAWN editors A and B
> sharing a same model. In order to make the changes made in A reflected
> in B, we should save A right? Otherwise, B will not reflect the changes
> made in A. So, B should be updated automatically whithout a need to
> save A. How can I do it in DAWN?

CDO has listeners to trigger modifications. Currently only an event is
fired when an object is changed. What you want is to reacted after an
object has changed. Have a look at DawnGMFHandler.modifyingObject() how
it is solved there. If you can react on these events you perform a
commit on the resource and changes should be reflected on every change.
This is one way, but not the best as e.g moving a node performs several
changes.

I think it is better to listen to the command stack of the editing
domain and perform a commit on certain commands.

Which way the better is certainly depends on your use case.


>
> Okay, you developed an API for LockObject, but I cannot see that
> action in the DAWNEditor. The action is not made visible yet?


Is should be there, if you are using Dawn 2.0. Check the context menu in
the editor pane. It is close to the locking sub-menu.
Re: DAWN Codegen tutorial [message #782990 is a reply to message #782936] Tue, 24 January 2012 21:53 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Martin,

I agree with your point, changes should be made only affter a commit.

Dawn 2.0 has been released? I guess, it is not on the most recent build
http://download.eclipse.org/modeling/emf/cdo/drops/M20120120-0413/

[Updated on: Tue, 24 January 2012 22:08]

Report message to a moderator

Re: DAWN Codegen tutorial [message #783410 is a reply to message #782990] Wed, 25 January 2012 17:06 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Am 24.01.2012 22:53, schrieb UmaShankarSubramani Mising name:
> Hi Martin,
>
> Dawn 2.0 has been released? I guess, it is not on the most recent
> build http://download.eclipse.org/modeling/emf/cdo/drops/M20120120-0413/

No. As I said before, you need to install the sources.

http://wiki.eclipse.org/CDO_Source_Installation

Cheers,

Martin

>
Re: DAWN Codegen tutorial [message #783652 is a reply to message #782743] Thu, 26 January 2012 07:12 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 24.01.2012 11:40, schrieb UmaShankarSubramani Mising name:
<blockquote cite="mid:jfm1r8$4k9$1@news.eclipse.org" type="cite">Hi
Martin,
<br>
    Thanks for your support.  It is good to hear that there in an
API which exists already.  My thesis title is "Concurrent Modeling
Support in Eclipse using CDO".  For that, I have to atleast
implement some plugins myself for supporting Concurrent modeling. 
But you have developed everything and I have no work to do. </blockquote>
We take that as a compliment ;-)<br>
<br>
<blockquote cite="mid:jfm1r8$4k9$1@news.eclipse.org" type="cite">Even
though I spent more than three months in learning DO and DAWN, </blockquote>
That's surprising. Most people I've talked to had their first
repository and application up and running after one day.<br>
<br>
Maybe you should write a public tutorial in a way that you find
suitable so that it can help the next visitors.<br>
<br>
<blockquote cite="mid:jfm1r8$4k9$1@news.eclipse.org" type="cite">I
have not written any code myself.  So, I need to develop some
functionalities myself, in order to get my thesis approved.  Could
you please tell how can I enhance DAWN by writing my own code??
<br>
</blockquote>
As you've found out CDO already covers a lot of what's needed for
collaborative modeling. There are lots of open feature requests,
though:<br>
<br>
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&amp;short_desc=&amp;product=EMF&amp;component=cdo.core&amp;component=cdo.dawn&amp;component=cdo.db&amp;component=cdo.docs&amp;component=cdo.hibernate&amp;component=cdo.net4j&amp;component=cdo.net4j.db&amp;component=cdo.net4j.ui&amp;component=cdo.objy&amp;component=cdo.releng&amp;component=cdo.ui&amp;version=4.1&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;bug_severity=enhancement&amp;ref_platform=All&amp;order=Importance">https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&amp;short_desc=&amp;product=EMF&amp;component=cdo.core&amp;component=cdo.dawn&amp;component=cdo.db&amp;component=cdo.docs&amp;component=cdo.hibernate&amp;component=cdo.net4j&amp;component=cdo.net4j.db&amp;component=cdo.net4j.ui&amp;component=cdo.objy&amp;component=cdo.releng&
amp;component=cdo.ui&amp;version=4.1&amp;long_desc_type=allwordssubstr&amp;long_desc=&amp;bug_status=UNCONFIRMED&amp;bug_status=NEW&amp;bug_status=ASSIGNED&amp;bug_status=REOPENED&amp;bug_severity=enhancement&amp;ref_platform=All&amp;order=Importance</a><br>
<br>
<blockquote cite="mid:jfm1r8$4k9$1@news.eclipse.org" type="cite">
<br>
    About Synchronization: Consider two client DAWN editors A and
B sharing a same model.  In order to make the changes made in A
reflected in B, we should save A right?  Otherwise, B will not
reflect the changes made in A.  So, B should be updated
automatically whithout a need to save A.  How can I do it in DAWN?
<br>
</blockquote>
That's not a declared intent of CDO. Collaboration happens *on* the
persisted state, so committing local changes is a natural and
accepted precondition for them to appear elsewhere. You could
simulate your workflow by automatically saving smaller changes. With
the CDOPostEventTransactionHandler that I've just committed to CDO
4.1 it becomes as easy as this:<br>
<br>
<title></title>
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = -->
<!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3"
cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code>
<font color="#ffffff">    </font><font color="#000000">transaction.addTransactionHandler</font><font
color="#000000">(</font><font color="#7f0055"><b>new </b></font><font
color="#000000">CDOPostEventTransactionHandler.Default</font><font
color="#000000">()</font><br>
<font color="#ffffff">    </font><font color="#000000">{</font><br>
<font color="#ffffff">      </font><font color="#646464">@Override</font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>public </b></font><font
color="#7f0055"><b>void </b></font><font
color="#000000">modifiedObject</font><font
color="#000000">(</font><font color="#000000">CDOTransaction transaction, CDOObject object, Notification msg</font><font
color="#000000">)</font><br>
<font color="#ffffff">      </font><font color="#000000">{</font><br>
<font color="#ffffff">        </font><font
color="#7f0055"><b>try</b></font><br>
<font color="#ffffff">        </font><font
color="#000000">{</font><br>
<font color="#ffffff">          </font><font
color="#000000">transaction.commit</font><font
color="#000000">()</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">}</font><br>
<font color="#ffffff">        </font><font
color="#7f0055"><b>catch </b></font><font
color="#000000">(</font><font color="#000000">CommitException ex</font><font
color="#000000">)</font><br>
<font color="#ffffff">        </font><font
color="#000000">{</font><br>
<font color="#ffffff">          </font><font
color="#000000">ex.printStackTrace</font><font
color="#000000">()</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">}</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font><br>
<font color="#ffffff">    </font><font color="#000000">})</font><font
color="#000000">;</font></code> </td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== -->
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
See also bug 312186: Support post event handling for
CDOTransactionHandler<br>
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=312186">https://bugs.eclipse.org/bugs/show_bug.cgi?id=312186</a><br>
<br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a><br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
<br>
</body>
</html>


Re: DAWN Codegen tutorial [message #783771 is a reply to message #782936] Thu, 26 January 2012 12:31 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 24.01.2012 20:08, schrieb Martin Flügge:
<blockquote cite="mid:jfmvjg$oi$1@news.eclipse.org" type="cite">
You could try implementing some functionality which prevents local
changes on locked objects. But that is not trivial.
</blockquote>
Well, it's not complicated, either:<br>
<br>
<title></title>
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = -->
<!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3"
cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code>
<font color="#ffffff">    </font><font color="#000000">transaction.addTransactionHandler</font><font
color="#000000">(</font><font color="#7f0055"><b>new </b></font><font
color="#000000">CDODefaultTransactionHandler1</font><font
color="#000000">()</font><br>
<font color="#ffffff">    </font><font color="#000000">{</font><br>
<font color="#ffffff">      </font><font color="#646464">@Override</font><br>
<font color="#ffffff">      </font><font color="#7f0055"><b>public </b></font><font
color="#7f0055"><b>void </b></font><font
color="#000000">modifyingObject</font><font
color="#000000">(</font><font color="#000000">CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange</font><font
color="#000000">)</font><br>
<font color="#ffffff">      </font><font color="#000000">{</font><br>
<font color="#ffffff">        </font><font
color="#7f0055"><b>try</b></font><br>
<font color="#ffffff">        </font><font
color="#000000">{</font><br>
<font color="#ffffff">          </font><font
color="#000000">object.cdoWriteLock</font><font
color="#000000">()</font><font color="#000000">.lock</font><font
color="#000000">(</font><font color="#990000">100L</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">}</font><br>
<font color="#ffffff">        </font><font
color="#7f0055"><b>catch </b></font><font
color="#000000">(</font><font color="#000000">Exception ex</font><font
color="#000000">)</font><br>
<font color="#ffffff">        </font><font
color="#000000">{</font><br>
<font color="#ffffff">          </font><font
color="#000000">MessageBox messageBox = </font><font
color="#7f0055"><b>new </b></font><font
color="#000000">MessageBox</font><font color="#000000">(</font><font
color="#000000">getShell</font><font color="#000000">())</font><font
color="#000000">;</font><br>
<font color="#ffffff">          </font><font
color="#000000">messageBox.setMessage</font><font
color="#000000">(</font><font color="#2a00ff">"Could not lock " </font><font
color="#000000">+ object</font><font color="#000000">)</font><font
color="#000000">;</font><br>
<font color="#ffffff">          </font><font
color="#000000">messageBox.open</font><font
color="#000000">()</font><font color="#000000">;</font><br>
<br>
<font color="#ffffff">          </font><font
color="#7f0055"><b>throw </b></font><font
color="#000000">WrappedException.wrap</font><font
color="#000000">(</font><font color="#000000">ex</font><font
color="#000000">)</font><font color="#000000">;</font><br>
<font color="#ffffff">        </font><font
color="#000000">}</font><br>
<font color="#ffffff">      </font><font color="#000000">}</font><br>
<font color="#ffffff">    </font><font color="#000000">})</font><font
color="#000000">;</font></code> </td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --> <br>
<blockquote cite="mid:jfmvjg$oi$1@news.eclipse.org" type="cite">
<pre wrap="">CDO has listeners to trigger modifications. Currently only an event is
fired when an object is changed. What you want is to reacted after an
object has changed. </pre>
</blockquote>
Martin, I've finally committed our CDOPostEventTransactionHandler
implementation.<br>
<br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a><br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
</body>
</html>


Re: DAWN Codegen tutorial [message #783898 is a reply to message #783771] Thu, 26 January 2012 17:22 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Am 26.01.2012 13:31, schrieb Eike Stepper:
> Am 24.01.2012 20:08, schrieb Martin Flügge:
>> You could try implementing some functionality which prevents local changes on
>> locked objects. But that is not trivial.
> Well, it's not complicated, either:
>
> |transaction.addTransactionHandler(*new *CDODefaultTransactionHandler1()
> {
> @Override
> *public **void
> *modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
> {
> *try*
> {
> object.cdoWriteLock().lock(100L);
> }
> *catch *(Exception ex)
> {
> MessageBox messageBox = *new *MessageBox(getShell());
> messageBox.setMessage("Could not lock " + object);
> messageBox.open();
>
> *throw *WrappedException.wrap(ex);
> }
> }
> });|


Nice idea, but I do not think that this will work with legacy objects as
all CDO handling is done after the objects has changed. E.g. for the GMF
notational objects this results in nodes that can be moved or similar.

>
>
>> CDO has listeners to trigger modifications. Currently only an event is
>> fired when an object is changed. What you want is to reacted after an
>> object has changed.
> Martin, I've finally committed our CDOPostEventTransactionHandler implementation.
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
Re: DAWN Codegen tutorial [message #783902 is a reply to message #783898] Thu, 26 January 2012 17:35 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 26.01.2012 18:22, schrieb Martin Flügge:
> Am 26.01.2012 13:31, schrieb Eike Stepper:
>> Am 24.01.2012 20:08, schrieb Martin Flügge:
>>> You could try implementing some functionality which prevents local changes on
>>> locked objects. But that is not trivial.
>> Well, it's not complicated, either:
>>
>> |transaction.addTransactionHandler(*new *CDODefaultTransactionHandler1()
>> {
>> @Override
>> *public **void
>> *modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
>> {
>> *try*
>> {
>> object.cdoWriteLock().lock(100L);
>> }
>> *catch *(Exception ex)
>> {
>> MessageBox messageBox = *new *MessageBox(getShell());
>> messageBox.setMessage("Could not lock " + object);
>> messageBox.open();
>>
>> *throw *WrappedException.wrap(ex);
>> }
>> }
>> });|
>
> Nice idea, but I do not think that this will work with legacy objects as
> all CDO handling is done after the objects has changed. E.g. for the GMF
> notational objects this results in nodes that can be moved or similar.
You're right. That we'd need this zilla for:

247130: Provide vetoable notification for read and write access
https://bugs.eclipse.org/bugs/show_bug.cgi?id=247130

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: DAWN Codegen tutorial [message #785932 is a reply to message #783902] Sun, 29 January 2012 19:03 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike and Martin,

I have just followed these instructions http://wiki.eclipse.org/CDO_Source_Installation and installed the CDO Workspace.
I used fresh eclipse and fresh workspace, but I got some installation errors and it is shown in the image below.
I dont know, where is the source(which has dawn 2.0) to import!!!
Could you please help?

(I had 12~13 coffees while my Buckminster was resolving all the dependencies Wink)

[Updated on: Mon, 30 January 2012 08:49]

Report message to a moderator

Re: DAWN Codegen tutorial [message #787522 is a reply to message #785932] Tue, 31 January 2012 17:16 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Am 29.01.2012 20:03, schrieb UmaShankar Subramani:
> Hi Eike and Martin,
>
> I have just followed these instructions http://wiki.eclipse.org/CDO_Source_Installation and installed the CDO Workspace.
> I used fresh eclipse and fresh workspace, but I got some errors and it is shown in the image below.
> I dont know, where is the source(which has dawn 2.0) to import!!!

I really can't help you with this exception. May you can try to run the
buckminster import again.
Re: DAWN Codegen tutorial [message #788459 is a reply to message #787522] Wed, 01 February 2012 21:05 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
HI Eike and Martin,

I have created the CDO workspace successfully. But, I don't know how to work with this created CDO Workspace. I have not worked with Buckminster before.
Could you please give me some tips regarding how to work with this? I could see the Component Explorer View, where
all the Workspace Components and Target Platform Components are Displayed. But, I could not see the source code of
these components. I also see that the runtime-instance does not have CDO/DAWN. If I want to see how DAWN 2.0 works,
How can I do it? Could you please help?

[Updated on: Wed, 01 February 2012 21:08]

Report message to a moderator

Re: DAWN Codegen tutorial [message #789265 is a reply to message #788459] Thu, 02 February 2012 19:47 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Am 01.02.2012 22:05, schrieb UmaShankar Subramani:
> HI Eike and Martin,
>
> I don't know how to work with this created CDO Workspace. I have
> not worked with Buckminster before.
> Could you please give me some tips regarding how to work with this? I
> could see the Component Explorer View, where
> all the Workspace Components and Target Platform Components are
> Displayed. But, I could not see the source code of
> these components. I also see that the runtime-instance does not have
> CDO/DAWN. If I want to see how DAWN 2.0 works, How can I do it? Could
> you please help?

Does the exception occur when you are trying the materialize the
workspace in the step called "Materialize the Sources and the Target
Platform " in the given tutorial?
Re: DAWN Codegen tutorial [message #790484 is a reply to message #789265] Sat, 04 February 2012 10:04 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Martin,

Yes. It happend when I was trying to materialize the workspace. But I can launch the workspace without any problem. I just need to know,how to use this workspace. If I want to use CDO/DAW from this workspace, how can I do it. I see that this workspace does not have CDO/DAWN support.

Could you please help?

[Updated on: Sat, 04 February 2012 10:12]

Report message to a moderator

Re: DAWN Codegen tutorial [message #791062 is a reply to message #790484] Sun, 05 February 2012 07:47 Go to previous messageGo to next message
Martin Fluegge is currently offline Martin FlueggeFriend
Messages: 141
Registered: July 2009
Senior Member
Am 04.02.2012 11:04, schrieb UmaShankar Subramani:
> Hi Martin,
>
> Yes. It happend when I was trying to materialize the workspace.

The screenshot you attached some posts before showed an empty workspace.
This means that you do not have the source correctly materialized. So
you do not have the sources.


> But I
> can launch the workspace without any problem.

If materializing fails you actually should not be able to start a
runtime instance as it is likely that your target platform is not
installed properly and the CDO/Dawn source will not compile. Did you set
the target platform correctly? May you forgot this step.
Re: DAWN Codegen tutorial [message #791551 is a reply to message #791062] Mon, 06 February 2012 01:03 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Martin,

>The screenshot you attached some posts before showed an empty workspace.
>This means that you do not have the source correctly materialized. So
>you do not have the sources.

Okay. But I could see some sources in the Component Explorer view. What are they?

>If materializing fails you actually should not be able to start a
>runtime instance as it is likely that your target platform is not
>installed properly and the CDO/Dawn source will not compile. Did you set
>the target platform correctly? May you forgot this step.

I set the target platform as mentioned in the tutorial.

During Installation, in Eclipse 3.8 the detail of the installation error is given below:

Plug-in "org.eclipse.buckminster.pde" was unable to instantiate class "org.eclipse.buckminster.pde.internal.PDETargetPlatform".
org/eclipse/pde/internal/core/target/provisional/ITargetHandle

and there is not components shown in the Component Explorer View "No Components Found"

In Eclipse 3.7 I got some error related to "Heap Space" but there are components displayed in the Component Explorer View



[Updated on: Mon, 06 February 2012 15:57]

Report message to a moderator

Re: DAWN Codegen tutorial [message #900232 is a reply to message #791551] Sun, 05 August 2012 22:12 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Martin and Eike,

I am still in need of installing CDO Source. I am still facing problem in "Materalizing".
So far, I have tried it more than 50 times with 50 fresh eclipse and 50 fresh workspaces.

Materialization fails all the time. I do not know what to do!! Could you please help??
Re: DAWN Codegen tutorial [message #900316 is a reply to message #900232] Mon, 06 August 2012 13:03 Go to previous messageGo to next message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi all,

Problem solved!!!

Source successfully installed!!
Re: DAWN Codegen tutorial [message #935887 is a reply to message #900316] Sun, 07 October 2012 12:29 Go to previous message
UmaShankar Subramani is currently offline UmaShankar SubramaniFriend
Messages: 194
Registered: December 2011
Location: SWEDEN
Senior Member
Hi Eike and Martin,

I made the DawnAcoreEditor synchronous(which is discussed in this post). What I did is, I just modified the DawnAcoreEditor class.
So that, the method "setInputWithNotify" now looks like the following:

@Override
protected void setInputWithNotify(IEditorInput input)
{
super.setInput(input);
if (input instanceof DawnEditorInput)
{
CDOResource resource = ((DawnEditorInput)input).getResource();
URI uri = URI.createURI(((DawnEditorInput)input).getURI().toString());

if (resource == null || resource.cdoView() == null)
{
ResourceSet resourceSet = getEditingDomain().getResourceSet();
final CDOTransaction transaction = CDOConnectionUtil.instance.openCurrentTransaction(resourceSet,
uri.toString());

resource = (CDOResource)resourceSet.getResource(uri, true);

if (resource == null || resource.cdoView() == null)
{
resource = transaction.getOrCreateResource(uri.toString());
}

transaction.options().setStaleReferencePolicy(CDOStaleReferencePolicy.PROXY);
transaction.options().setInvalidationPolicy(CDOInvalidationPolicy.RELAXED);
transaction.options().addChangeSubscriptionPolicy(CDOAdapterPolicy.ALL);
transaction.addTransactionHandler(new CDOPostEventTransactionHandler.Default()
{
@Override
protected void modifiedObject(CDOTransaction tx, CDOObject object, Notification msg)
{
try
{
transaction.commit();
}
catch (Exception e)
{
System.out.println("Commit problem. Conflicts: " + transaction.getConflicts()); //$NON-NLS-1$
transaction.rollback();
}
}
});
}

((DawnEditorInput)input).setResource(resource);
dawnEditorSupport.setView(((DawnEditorInput)input).getView());
dawnEditorSupport.registerListeners();
// dawnEditorSupport.refresh();
}
}

It works fine as expected. But I need to do the same for "DawnAcoreDiagramEditor".
But, in this Editor, the metod "setInputWithNotify" does not exist. So I created
a new method with the same name. But it does not work synchronous now. How do I
do it?
Previous Topic:RCP Build Failed - Could not create feature
Next Topic:Help with upgrade
Goto Forum:
  


Current Time: Fri Apr 19 14:54:44 GMT 2024

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

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

Back to the top