AnsweredAssumed Answered

Desginer 5.6 Cannot create a new diagram in Eclipse 3.6.2

Question asked by cirerenat on Jun 6, 2011
Latest reply on Jun 7, 2011 by cirerenat
After upgrading the Designer 5.6 and Eclipse 3.6.2, I am getting an error in the error log when I try to create a new Diagram (I can edit the existing ones, just fine). I was using Eclipse 3.6.1 before. I just did upgrade it to 3.6.2 after the designer 5.6 upgrade. Everything else seems to be working well. The issue I am having is this. When I try to create a new Activiti Diagram (no matter which option I choose; "empty diagram" or "use a template"), it just doesn't respond, nothing is created, the wizard dialog stays open.
I cancel the dialog and in the Eclipse Error Log, there's an error,

Unhandled event loop exception

java.lang.IllegalArgumentException: The 'no null' constraint is violated
   at org.eclipse.emf.common.util.AbstractEList.validate(AbstractEList.java:101)
   at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:424)
   at org.eclipse.emf.common.notify.impl.NotifyingListImpl.doAddUnique(NotifyingListImpl.java:331)
   at org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUnique(NotifyingListImpl.java:288)
   at org.eclipse.emf.common.util.AbstractEList.add(AbstractEList.java:307)
   at org.activiti.designer.eclipse.common.FileService$1.doExecute(FileService.java:66)
   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:511)
   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.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:47)
   at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
   at org.eclipse.graphiti.ui.internal.editor.GFWorkspaceCommandStackImpl.execute(GFWorkspaceCommandStackImpl.java:39)
   at org.activiti.designer.eclipse.common.FileService.createEmfFileForDiagram(FileService.java:60)
   at org.activiti.designer.eclipse.ui.wizard.diagram.CreateDefaultActivitiDiagramWizard.performFinish(CreateDefaultActivitiDiagramWizard.java:168)
   at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:811)
   at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:430)
   at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
   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:4066)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
   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:254)
   at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:274)
   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:4066)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
   at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
   at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
   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)
   at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

eclipse.buildId=M20110210-1200
java.version=1.6.0_20
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64


Is anyone else experiencing this ?

Outcomes