-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SYSML-38] Exception on Parametric Diagram #36
Comments
[author="cbrun", created="Tue, 12 Feb 2013 10:31:35 +0100"] I can't reproduce it neither. Could you describe how you installed SysML Designer, and in which host environment ? |
[author="cbrun", created="Tue, 12 Feb 2013 11:16:35 +0100"] That said, creating a new constraint in the parametric diagram included in alarm radio, I get a NPE : org.obeonetwork.dsl.sysml.design.services.SysMLServices.isProfileApplied(Package, String) It looks like it comes from a proxy profiles (which, has such, don't have any qualified name). It might come from a bad or incomplete migration of the alarmradio model.. |
[author="cbrun", created="Tue, 12 Feb 2013 11:24:49 +0100"] commit 581dd09 fix that potential NPE but not sure it would be related to the problem tracked here... |
[author="mbats", created="Wed, 13 Feb 2013 17:01:24 +0100"] To reproduce activate the 'Value Binding' layer on the parametric diagram of the alarm radio example, it throws an invalid thread access exception. |
[author="mbats", created="Tue, 9 Apr 2013 15:23:47 +0200"] See OD-676. |
Fixed during migration to sirius |
Valid for 4.0.0_M1 |
[reporter="fmadiot", created="Mon, 11 Feb 2013 11:54:21 +0100"]
There is an exception when un-applying the layer on the Parametric Diagram of the Alarm Radio example.
eclipse.buildId=unknown
java.version=1.6.0_39
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86
Error
Mon Feb 11 11:49:51 CET 2013
Uncaught exception during post-commit listener notifications
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4361)
at org.eclipse.swt.SWT.error(SWT.java:4276)
at org.eclipse.swt.SWT.error(SWT.java:4247)
at org.eclipse.swt.widgets.Display.error(Display.java:1258)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:764)
at org.eclipse.swt.widgets.Display.getHighContrast(Display.java:1862)
at org.eclipse.gmf.runtime.gef.ui.figures.NodeFigure.setGradientData(NodeFigure.java:365)
at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart.setBackgroundColor(ShapeNodeEditPart.java:289)
at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart.refreshBackgroundColor(ShapeNodeEditPart.java:260)
at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeEditPart.refreshVisuals(ShapeEditPart.java:206)
at fr.obeo.dsl.viewpoint.diagram.edit.api.part.AbstractDiagramBorderNodeEditPart.refreshVisuals(AbstractDiagramBorderNodeEditPart.java:476)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:725)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:644)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.access$3(GraphicalEditPart.java:1)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart$3.run(GraphicalEditPart.java:861)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.refresh(GraphicalEditPart.java:851)
at fr.obeo.dsl.viewpoint.diagram.edit.api.part.AbstractDiagramBorderNodeEditPart.refresh(AbstractDiagramBorderNodeEditPart.java:299)
at fr.obeo.dsl.viewpoint.diagram.edit.internal.part.listener.VisibilityPostCommitListener.forceNodeAndEdgeEditPartsRefresh(VisibilityPostCommitListener.java:106)
at fr.obeo.dsl.viewpoint.diagram.edit.internal.part.listener.VisibilityPostCommitListener.resourceSetChanged(VisibilityPostCommitListener.java:82)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl$1.run(TransactionalEditingDomainImpl.java:781)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.runExclusive(TransactionalEditingDomainImpl.java:328)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.postcommit(TransactionalEditingDomainImpl.java:771)
at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.deactivate(TransactionalEditingDomainImpl.java:543)
at org.eclipse.emf.transaction.impl.TransactionImpl.close(TransactionImpl.java:712)
at org.eclipse.emf.transaction.impl.TransactionImpl.commit(TransactionImpl.java:474)
at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:155)
at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:513)
at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208)
at fr.obeo.dsl.viewpoint.collab.api.editingdomain.NonDirtyingCapableWorkspaceCommandStack.doExecute(NonDirtyingCapableWorkspaceCommandStack.java:65)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at fr.obeo.dsl.viewpoint.diagram.tools.internal.editor.tabbar.actions.LayersActivationAction$1.run(LayersActivationAction.java:64)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
The text was updated successfully, but these errors were encountered: