Error when setting a process contract from a data model

Hi,

Sorry for this double post as my question posted in French did not receive much inspiration.
(http://community.bonitasoft.com/questions-and-answers/une-erreur-sest-produite-lors-de-la-génération-du-contrat-à-partir-dune-donnée).

While using the Bonita (7.1.5) IDE, I’m getting an error when trying to generate a process contract from data in the model after I picked the relevant fields :“Une erreur s’est produite lors de la génération du contrat à partir d’une donnée.”

I’m benching Bonita to check if it’s appropriate for our enterprise processes and thus using aggregations within the data model to match the objects used in some of our processes

Some of these aggregated objects are to be populated in some subsequent tasks.

Can I get some support on this matter, please ?

Many thanks in advance (answer may be in French :wink: ).

Cheers,
R de la Houplière

Hi,

Looking a the stack trace, this could be a bug.
Could you please open a ticket on our community bug tracker:
https://bonita.atlassian.net

Please include the relevant logs and if possible your process .bos file so that we can reproduce the issue.

Thanks,

Here’s a copy of the stacktrace

Une erreur s’est produite lors de la génération du contrat à partir d’une donnée.
org.bonitasoft.studio.contract.core.mapping.RootContractInputGenerator.build(RootContractInputGenerator.java:87)
org.bonitasoft.studio.contract.core.mapping.RootContractInputGenerator.build(RootContractInputGenerator.java:63)
org.bonitasoft.studio.contract.ui.wizard.ContractInputGenerationWizard.performFinish(ContractInputGenerationWizard.java:141)
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
org.bonitasoft.studio.common.jface.dialog.FinishAndAddCustomWizardDialog.buttonPressed(FinishAndAddCustomWizardDialog.java:70)
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
org.eclipse.jface.window.Window.open(Window.java:808)
org.bonitasoft.studio.contract.ui.property.ContractPropertySection.openAddInputWizardDialog(ContractPropertySection.java:258)
org.bonitasoft.studio.contract.ui.property.ContractPropertySection$1.widgetSelected(ContractPropertySection.java:242)
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
org.bonitasoft.studio.application.BonitaStudioApplication.createAndRunWorkbench(BonitaStudioApplication.java:93)
org.bonitasoft.studio.application.BonitaStudioApplication.start(BonitaStudioApplication.java:88)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
org.eclipse.equinox.launcher.Main.run(Main.java:1465)
org.eclipse.equinox.launcher.Main.main(Main.java:1438)

Hi Philippe,

Thanks for the answer. Bug opened with reference BBPMC-357 - https://bonita.atlassian.net/browse/BBPMC-357

Many thanks in advance

Cheers,
Roland

PS patched jars are welcome in case it were possible not to reinstall entire BPM Studio :wink: