Community
Participate
Working Groups
With the current VSM in the workspace, some evaluation errors leads to a situation where the viewpoint is deselected and can't be applied anymore. Each time I try to apply the viewpoint, there is this exception : java.lang.NullPointerException at org.eclipse.sirius.diagram.business.internal.dialect.DiagramDialectServices.updateRepresentationsExtendedBy(DiagramDialectServices.java:341) at org.eclipse.sirius.business.internal.dialect.DialectManagerImpl.updateRepresentationsExtendedBy(DialectManagerImpl.java:388) at org.eclipse.sirius.business.api.session.ViewpointSelector.selectViewpoint(ViewpointSelector.java:92) at org.eclipse.sirius.ui.business.api.viewpoint.ViewpointSelectionCallback.selectViewpoint(ViewpointSelectionCallback.java:40) at org.eclipse.sirius.ui.business.api.viewpoint.ViewpointSelection$Callback.selectViewpoint(ViewpointSelection.java:562) at org.eclipse.sirius.ui.business.internal.commands.ChangeViewpointSelectionCommand.doExecute(ChangeViewpointSelectionCommand.java:111) at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135) at org.eclipse.emf.workspace.EMFCommandOperation.doExecute(EMFCommandOperation.java:119) at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:150) at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:488) at org.eclipse.emf.workspace.impl.WorkspaceCommandStackImpl.doExecute(WorkspaceCommandStackImpl.java:208) at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165) at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219) at org.eclipse.sirius.ui.tools.internal.viewpoint.ViewpointHelper$1.run(ViewpointHelper.java:291) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119) java.version=1.8.0_151 In this situation, Eclipse must be restarted.
Can you provide a project and step for reproductions?