|
Re: Error exporting a papyrus plugin from svn [message #699367 is a reply to message #698901] |
Thu, 21 July 2011 12:36 |
Cedric Dumoulin Messages: 51 Registered: July 2009 |
Member |
|
|
Hi,
The PageIdentifier is used by the sashWindowsContainer to know which
diagram editor should be used to open your diagram. If the identifier is
not found, or is wrong, the sashWindowsContainer can't open the diagram.
It can happen when there is some errors in the .di file.
Have you try to create your sequence diagram in a new Papyrus model ?
Does this work ? If yes, you certainly have an error in the .di file.
Does the model explorer success to open ? If yes, try to close the
diagram, and reopen it from the model explorer.
Hope this help,
Cedric
Miriam a écrit :
> Hi,
> I used to check out the org.eclipse.papyrus.diagram.sequence from the
> svn, do some changes and then export the plugin and put the .jar in the
> folder plugin of eclipse replacing the "original" .jar of papyrus. I
> could do some changes, but since 2 or 3 weeks (I think after an update)
> everytime I do this, I have this error log, and I never can display my
> diagrams. I even tried to export the plugin from the svn, and export it
> without changing anything in the code, the result is the same error log.
> Can I have some help, or explanation??
> Thanks
>
> Miriam
>
>
>
>
> java.lang.IllegalArgumentException: No Part found for the model
> mailto:'org.eclipse.papyrus.sashwindows.di.impl.PageRefImpl@1e58f4d4
> (objectPageIdentifier: null)'
> at
> org.eclipse.papyrus.sasheditor.internal.SashWindowsContainer.createPagePart(SashWindowsContainer.java:271)
>
> at
> org.eclipse.papyrus.sasheditor.internal.TabFolderPart.createChildPart(TabFolderPart.java:899)
>
> at
> org.eclipse.papyrus.sasheditor.internal.TabFolderPart.createTabItem(TabFolderPart.java:828)
>
> at
> org.eclipse.papyrus.sasheditor.internal.TabFolderPart.synchronize2(TabFolderPart.java:743)
>
> at
> org.eclipse.papyrus.sasheditor.internal.RootPart.synchronize2(RootPart.java:139)
>
> at
> org.eclipse.papyrus.sasheditor.internal.SashWindowsContainer.refreshTabsInternal(SashWindowsContainer.java:386)
>
> at
> org.eclipse.papyrus.sasheditor.internal.SashWindowsContainer.refreshTabs(SashWindowsContainer.java:339)
>
> at
> org.eclipse.papyrus.sasheditor.internal.SashWindowsContainer.createPartControl(SashWindowsContainer.java:169)
>
> at
> org.eclipse.papyrus.sasheditor.editor.AbstractMultiPageSashEditor.createPartControl(AbstractMultiPageSashEditor.java:130)
>
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
>
> 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.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:271)
>
> at
> org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1429)
>
> at
> org.eclipse.ui.internal.EditorManager$5.runWithException(EditorManager.java:942)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286)
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
>
> at
> org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
>
> 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:369)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
>
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04196 seconds