Petals Studio

EIP SUs are not loaded correctly in the form editor

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.3.2
  • Fix Version/s: 1.3.3
  • Component/s: Petals Tools
  • Security Level: Public
  • Description:

    Create an EIP SU through the croquis wizard.
    Use a router EIP with several conditions. Generate Petals Maven projects and open the router's jbi.xml.

    An exception is logged.

  • Environment:
    Linux Ubuntu

Activity

Vincent Zurczak made changes - Mon, 10 Sep 2012 - 10:09:09 +0200
Field Original Value New Value
Comment [ {quote}
!ENTRY com.ebmwebsourcing.petals.services 4 0 2012-09-10 10:06:19.367
!MESSAGE A model feature could not be initialized. Type = java.lang.String
!STACK 0
java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Collection
at org.eclipse.emf.ecore.util.BasicFeatureMap.set(BasicFeatureMap.java:1161)
at org.eclipse.emf.ecore.util.FeatureMapUtil$FeatureFeatureMap.set(FeatureMapUtil.java:1259)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eOpenSet(BasicEObjectImpl.java:1151)
at org.eclipse.emf.ecore.impl.BasicEObjectImpl.eSet(BasicEObjectImpl.java:1085)
at com.ebmwebsourcing.petals.services.su.editor.extensibility.InitializeModelExtensionCommand.execute(InitializeModelExtensionCommand.java:211)
at org.eclipse.emf.common.command.CompoundCommand.execute(CompoundCommand.java:267)
at org.eclipse.emf.common.command.BasicCommandStack.execute(BasicCommandStack.java:84)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.basicExecute(AbstractTransactionalCommandStack.java:241)
at org.eclipse.emf.transaction.impl.TransactionalCommandStackImpl.doExecute(TransactionalCommandStackImpl.java:63)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:165)
at org.eclipse.emf.transaction.impl.AbstractTransactionalCommandStack.execute(AbstractTransactionalCommandStack.java:219)
at com.ebmwebsourcing.petals.services.su.editor.SuEditionComposite.initModel(SuEditionComposite.java:218)
at com.ebmwebsourcing.petals.services.su.editor.SuEditionComposite.<init>(SuEditionComposite.java:130)
at com.ebmwebsourcing.petals.services.su.editor.SuPersonality.createControl(SuPersonality.java:116)
at com.ebmwebsourcing.petals.common.internal.formeditor.JbiFormEditor.createPartControl(JbiFormEditor.java:554)
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.EditorReference.getEditor(EditorReference.java:289)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)
at org.eclipse.ui.actions.RetargetAction.run(RetargetAction.java:221)
at org.eclipse.ui.navigator.CommonNavigatorManager$3.open(CommonNavigatorManager.java:185)
at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:866)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:864)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1152)
at org.eclipse.ui.navigator.CommonViewer.handleOpen(CommonViewer.java:462)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1256)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:275)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:269)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:309)
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:4165)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
{quote} ]
Vincent Zurczak made changes - Fri, 5 Oct 2012 - 15:58:02 +0200
Summary EIP SUs are not validated correctly EIP SUs are not loaded correctly in the form editor
Priority Blocker [ 1 ]
Description The JBI builder indicates that the target component (EIP) does not support provides and consumes modes. Create an EIP SU through the croquis wizard.
Use a router EIP with several conditions. Generate Petals Maven projects and open the router's jbi.xml.

An exception is logged.
Vincent Zurczak made changes - Fri, 5 Oct 2012 - 16:26:25 +0200
Priority Blocker [ 1 ] Major [ 3 ]
Vincent Zurczak made changes - Fri, 5 Oct 2012 - 17:01:51 +0200
Status New [ 10000 ] Open [ 10002 ]
Vincent Zurczak made changes - Fri, 5 Oct 2012 - 17:01:53 +0200
Status Open [ 10002 ] In Progress [ 10003 ]
Vincent Zurczak made changes - Fri, 5 Oct 2012 - 17:02:02 +0200
Status In Progress [ 10003 ] Resolved [ 10004 ]
Fix Version/s 1.3.3 [ 10367 ]
Resolution Fixed [ 1 ]
Vincent Zurczak made changes - Fri, 5 Oct 2012 - 17:02:07 +0200
Status Resolved [ 10004 ] Closed [ 10005 ]

People

Dates

  • Created:
    Fri, 17 Aug 2012 - 15:06:58 +0200
    Updated:
    Fri, 5 Oct 2012 - 17:02:07 +0200
    Resolved:
    Fri, 5 Oct 2012 - 17:02:02 +0200