Issue #151

Use case relationships sometimes cannot be added

Added by WGH WGH almost 7 years ago. Updated over 6 years ago.

Status:ClosedStart date:08 November 2013
Priority:MediumDue date:
Assignee:-% Done:


Target version:Modelio 3.1.1


Sometimes when you add inclusion/extension relationship between use cases, it doesn’t work. Modelio displays the following error:

org.modelio.vcore.session.impl.transactions.smAction.AddActionNoActiveTransactionException: No transaction is open.

The bug manifests randomly. Restarting Modelio helps, but not always. Anyway, attaching project probably won’t help you.

Unfortunately, I don’t have a reliable reproduction yet. It certainly can appear in clean project, though (e.g. just created).

Modelio build 201309241706. (565 KB) WGH WGH, 08 November 2013 17:46


#1 Updated by WGH WGH almost 7 years ago

OK, I have a reproduction. Sequence of actions looks odd, it is probably redundant, but it works. I can assure you that such peculiar actions are not required for this bug to manifest.

  1. Start Modelio
  2. Import attached project
  3. Open it
  4. Open the use case diagram
  5. Try to add inclusion/extension relationship between the use cases
  6. (You won’t get an error at this point)
  7. Close project (File –> Close) without saving changes, but don’t close Modelio
  8. Open project again
  9. Open the diagram and try to add relationship again
  10. You will get the error

Steps confirmed on two different platforms:

  • Windows 7 64-bit running 64-bit Java build 1.7.0_07-b11
  • Gentoo Linux 64 bit running 64-bit IcedTea7 2.3.2

Here is traceback obtained on Linux machine:

2013-11-08 20:48:27,606 WARN: Transaction 'null' not committed, auto-rollbacking.
2013-11-08 20:48:27,607 WARN: java.lang.Throwable: Transaction 'null' not committed, auto-rollbacking.
    at org.modelio.vcore.session.impl.transactions.Transaction.close(
    at org.modelio.diagram.editor.DiagramCommandStack.execute(
    at org.eclipse.gef.EditDomain.mouseDown(
    at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(
    at org.eclipse.swt.widgets.TypedListener.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Display.runDeferredEvents(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
    at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(
    at org.eclipse.equinox.launcher.Main.main(

#2 Updated by Christophe Demeulemeester over 6 years ago

  • Status changed from New to Closed
  • Target version set to Modelio 3.1.1
  • % Done changed from 0 to 100

Validated with Modelio 3.1.1 – 201402210039 64-bit on Windows 8.1 64-bit.

Also available in: Atom PDF