cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in Designer 5.14

anfi
Champ in-the-making
Champ in-the-making
Hello,

I'm trying to insert Form Properties for a User Task. When I try to edit or remove a Property, it does not open edit dialog and I get the following exception which didn't happen in 5.12 :

java.lang.IllegalArgumentException: Index out of bounds
   at org.eclipse.swt.SWT.error(SWT.java:4378)
   at org.eclipse.swt.SWT.error(SWT.java:4312)
   at org.eclipse.swt.SWT.error(SWT.java:4283)
   at org.eclipse.swt.widgets.Widget.error(Widget.java:472)
   at org.eclipse.swt.widgets.Table.getItem(Table.java:2496)
   at org.activiti.designer.property.ui.TableFieldEditor.editPressed(TableFieldEditor.java:488)
   at org.activiti.designer.property.ui.TableFieldEditor.access$3(TableFieldEditor.java:485)
   at org.activiti.designer.property.ui.TableFieldEditor$1.widgetSelected(TableFieldEditor.java:265)
   at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
   at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
   at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
   at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
   at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
   at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
   at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
   at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
   at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
   at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
   at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
   at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
   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:354)
   at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
   at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
   at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
3 REPLIES 3

mariusz_cwikla
Champ in-the-making
Champ in-the-making
I have similar issue, the same error in logs.
When I first open Properties dialog, then I'm able to edit/add property, but after that when I'm trying to select an item to edit, the item gets deselected.

frederikherema1
Star Contributor
Star Contributor
Mariusz, I'm seeing the same behaviour in the form-properties dialog (in eclipse JUNO). I'm looking into this right now to see what has gone wrong. This is most likely the same issue as anfi is experiencing.

frederikherema1
Star Contributor
Star Contributor
The issue was introduced when a major refactor was done to unify the model-update and undo-support for all property-windows in the designer. I fixed this issue in https://github.com/Activiti/Activiti-Designer/commit/7905f0f244654ebd69fcc0b95005470ec314e915 (http://jira.codehaus.org/browse/ACT-1897).