Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Problems comparing gmfgen files
Problems comparing gmfgen files [message #235421] Mon, 06 July 2009 12:29 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

I try to use Eclipse's compare functionality to compare two gmfgen files.

The special compare dialog (looks like "EMF compare") opens up, but then
the error log shows up many errors:

Problems occurred when invoking code from plug-in: "org.eclipse.jface".

With the stack trace below.

What might there be the problem? Is the compare dialog supposed to work?
Hauke


java.lang.NullPointerException
at
org.eclipse.emf.codegen.ecore.genmodel.impl.GenFeatureImpl.g etName(GenFeatureImpl.java:897)
at
org.eclipse.gmf.codegen.gmfgen.provider.FeatureLabelModelFac etItemProvider.getText(FeatureLabelModelFacetItemProvider.ja va:252)
at
org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider .getText(AdapterFactoryLabelProvider.java:380)
at
org.eclipse.jface.viewers.WrappedViewerLabelProvider.getText (WrappedViewerLabelProvider.java:108)
at
org.eclipse.jface.viewers.WrappedViewerLabelProvider.update( WrappedViewerLabelProvider.java:164)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn. java:145)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(Ab stractTreeViewer.java:932)
at
org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeR unnable.run(AbstractTreeViewer.java:102)
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.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at
org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(Ab stractTreeViewer.java:1012)
at
org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRun nable.run(StructuredViewer.java:481)
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.JFaceUtil$1.run(JFaceUtil.java:48)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:17 5)
at
org.eclipse.jface.viewers.StructuredViewer.updateItem(Struct uredViewer.java:2111)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem( AbstractTreeViewer.java:827)
at
org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractT reeViewer.java:802)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.jface.viewers.AbstractTreeViewer.createChildren( AbstractTreeViewer.java:776)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeView er.java:639)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandT oLevel(AbstractTreeViewer.java:1709)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandT oLevel(AbstractTreeViewer.java:1719)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandT oLevel(AbstractTreeViewer.java:1719)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandT oLevel(AbstractTreeViewer.java:1719)
at
org.eclipse.jface.viewers.AbstractTreeViewer.internalExpandT oLevel(AbstractTreeViewer.java:1719)
at
org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(A bstractTreeViewer.java:1054)
at
org.eclipse.jface.viewers.AbstractTreeViewer.expandToLevel(A bstractTreeViewer.java:1035)
at
org.eclipse.jface.viewers.AbstractTreeViewer.expandAll(Abstr actTreeViewer.java:1024)
at
org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelCon tentMergeDiffTab.inputChanged(ModelContentMergeDiffTab.java: 369)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274)
at
org.eclipse.jface.viewers.StructuredViewer.setInput(Structur edViewer.java:1634)
at
org.eclipse.emf.compare.ui.viewer.content.part.diff.ModelCon tentMergeDiffTab.setReflectiveInput(ModelContentMergeDiffTab .java:284)
at
org.eclipse.emf.compare.ui.viewer.content.part.ModelContentM ergeTabFolder.setInput(ModelContentMergeTabFolder.java:309)
at
org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeV iewer.updateContent(ModelContentMergeViewer.java:755)
at
org.eclipse.compare.contentmergeviewer.ContentMergeViewer.in ternalRefresh(ContentMergeViewer.java:783)
at
org.eclipse.compare.contentmergeviewer.ContentMergeViewer.in putChanged(ContentMergeViewer.java:683)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentView er.java:274)
at
org.eclipse.emf.compare.ui.viewer.content.ModelContentMergeV iewer.setInput(ModelContentMergeViewer.java:301)
at
org.eclipse.compare.CompareViewerSwitchingPane.setInput(Comp areViewerSwitchingPane.java:270)
at
org.eclipse.compare.internal.CompareContentViewerSwitchingPa ne.setInput(CompareContentViewerSwitchingPane.java:132)
at
org.eclipse.compare.CompareEditorInput.internalSetContentPan eInput(CompareEditorInput.java:812)
at
org.eclipse.compare.CompareEditorInput.access$7(CompareEdito rInput.java:810)
at
org.eclipse.compare.CompareEditorInput$10.run(CompareEditorI nput.java:750)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.compare.CompareEditorInput.feed1(CompareEditorIn put.java:744)
at
org.eclipse.compare.CompareEditorInput.feedInput(CompareEdit orInput.java:722)
at
org.eclipse.compare.CompareEditorInput.createContents(Compar eEditorInput.java:545)
at
org.eclipse.compare.internal.CompareEditor.createCompareCont rol(CompareEditor.java:449)
at
org.eclipse.compare.internal.CompareEditor.createPartControl (CompareEditor.java:408)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:662)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:286)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2857)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2762)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:2754)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.j ava:2705)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:70)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2701)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2685)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2676)
at
org.eclipse.compare.internal.CompareUIPlugin$1.run(CompareUI Plugin.java:518)
at
org.eclipse.compare.internal.CompareUIPlugin.syncExec(Compar eUIPlugin.java:1258)
at
org.eclipse.compare.internal.CompareUIPlugin.internalOpenEdi tor(CompareUIPlugin.java:529)
at
org.eclipse.compare.internal.CompareUIPlugin.openCompareEdit or(CompareUIPlugin.java:491)
at
org.eclipse.compare.CompareUI.openCompareEditorOnPage(Compar eUI.java:168)
at org.eclipse.compare.CompareUI.openCompareEditor(CompareUI.ja va:137)
at org.eclipse.compare.CompareUI.openCompareEditor(CompareUI.ja va:121)
at
org.eclipse.team.svn.ui.compare.ResourceCompareInput.openCom pareEditor(ResourceCompareInput.java:116)
at
org.eclipse.team.svn.ui.operation.CompareResourcesInternalOp eration$4$1.run(CompareResourcesInternalOperation.java:165)
at
org.eclipse.ui.internal.UILockListener.doPendingWork(UILockL istener.java:155)
at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer. java:158)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3404)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3101)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
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(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Re: Problems comparing gmfgen files [message #235431 is a reply to message #235421] Mon, 06 July 2009 12:42 Go to previous messageGo to next message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010606000409080802070806
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

what EMF Compare version do you use ?

it is a new feature of the latest 1.0 release :
http://wiki.eclipse.org/EMF_Compare_1.0.0_New_And_Noteworthy

Cheers,


Hauke Fuhrmann a
Re: Problems comparing gmfgen files [message #235503 is a reply to message #235431] Tue, 07 July 2009 12:05 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
St├ęphane Bouchet schrieb:
> what EMF Compare version do you use ?
>
> it is a new feature of the latest 1.0 release :
> http://wiki.eclipse.org/EMF_Compare_1.0.0_New_And_Noteworthy

Hi Stephane,

I have the official Galileo release. It shows:
EMF Compare: 1.0.0.v200906160908

Hauke
Re: Problems comparing gmfgen files [message #235510 is a reply to message #235503] Tue, 07 July 2009 12:20 Go to previous message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------010408020401020606050800
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

This is clearly an EMF Compare Bug, feel free to open a bugzilla under
emft/Compare component and attach the stacktrace you provides in the
first post.

thnks


Hauke Fuhrmann a
Previous Topic:Derive Classes/Objects Invisible: Why?
Next Topic:Lock appearance options
Goto Forum:
  


Current Time: Mon Apr 06 19:17:29 GMT 2020

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

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

Back to the top