Welcome, Guest
Username Password: Remember me

Unable to Add Note to element
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Unable to Add Note to element

Re: Unable to Add Note to element 10 months, 2 weeks ago #978

  • cde
  • OFFLINE
  • Moderator
  • Posts: 43
Hi Steve,

This is very strange...

Can you try to relaunch Modelio with the -consoleLog option ? (Just create a shortcut on modelio.exe and add the '-consoleLog' option)
Then post the full content of the console, after having created a project and tried to install the missing modules manually...

Also, can you check that you obtain the same behaviour as describe in these screenshots :

Project creation wizard :
CreateProject-1.png


CreateProject-2.png


CreateProject-3.png


Activate/Deactivate modules window :
Activate-deactivate-modules.png


Best regards,

P.S: You don't need to have Eclipse installed on your machine...

Re: Unable to Add Note to element 10 months, 2 weeks ago #980

  • sandrews
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Ok. We have something. When I create a new project, I see the same screens as the ones you posted. And if I proceed to create a new State Diagram, I can instantiate States *and* attach notes. Indeed, I see the Extension Modules are installed for the new Project.

When I close this new project and open my original project (both are now in my modelio workspace), I have no extensions installed and I cannot add Notes to State entities.

I tried to copy the .ofpx file from my original project to the user\modelio\workspace location and rename it 'Project1.ofpx'. I relaunched modelio and opened Project1. It had no extensions installed.

So I conclude something's wrong with my original .ofpx file.

Is there anyway to extract the State Diagram from the original .ofpx file and apply it to the Project1.ofpx file -- so I don't have to completely redo the State Diagram I'm working on?

Here's that log associated with trying to add the extensions to my original project (BTW, I'm running Windows 7):

!SESSION 2012-07-12 10:38:56.814 -----------------------------------------------

eclipse.buildId=unknown
java.version=1.7.0_04
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY org.modelio.core 1 0 2012-07-12 10:38:57.718
!MESSAGE Loading LibModelio.

!ENTRY org.modelio.core 1 0 2012-07-12 10:38:57.734
!MESSAGE LibModelio loaded successfully.

!ENTRY org.modelio.core 1 0 2012-07-12 10:38:57.828
!MESSAGE Modelio core successfully started.
- 10:38:57,828 INFO org.modelio.core:Modelio core successfully started.

!ENTRY org.eclipse.ui 4 4 2012-07-12 10:38:57.952
!MESSAGE Unable to create menu item "com.modeliosoft.modelio.app.OpenStoreID", c
ommand "com.modeliosoft.modelio.app.enterprise.OpenStoreID" not defined
Modelio/ModelerModule 7.1.06 - Copyright 2008-2012 Modeliosoft

!ENTRY org.modelio.mda.infra 4 0 2012-07-12 10:40:29.353
!MESSAGE Aborting 'ModelerModule' module deployment because of:
- 10:40:29,353 ERROR org.modelio.mda.infra:Aborting 'ModelerModule' module deplo
yment because of:

!ENTRY org.modelio.mda.infra 4 0 2012-07-12 10:40:29.353
!MESSAGE The 'Deploy ModelerModule' transaction is invalid. The transaction has
been cancelled.
!STACK 0
com.modeliosoft.modelio.core.transaction.InvalidTransactionException: The 'Deplo
y ModelerModule' transaction is invalid. The transaction has been cancelled.
at com.modeliosoft.modelio.core.ModelingSession.commit(ModelingSession.j
ava:191)
at com.modeliosoft.modelio.mdainfra.mdacs.deployment.MdacDeployer.module
FirstInstall(MdacDeployer.java:353)
at com.modeliosoft.modelio.mdainfra.mdacs.deployment.MdacDeployer.deploy
Module(MdacDeployer.java:177)
at com.modeliosoft.modelio.mdainfra.mdacs.deployment.MdacDeployer.deploy
Mdacs(MdacDeployer.java:861)
at com.modeliosoft.modelio.app.modules.handlers.DeployMdacHandler$1.run(
DeployMdacHandler.java:86)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalCont
ext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDi
alog.java:507)
at com.modeliosoft.modelio.app.modules.handlers.DeployMdacHandler.execut
e(DeployMdacHandler.java:82)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.ja
va:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)

at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Para
meterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(Handle
rService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(S
laveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(Co
mmandContributionItem.java:829)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContrib
utionItem.java:815)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandCon
tributionItem.java:805)
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:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.modeliosoft.modelio.app.intro.Application.start(Application.java:
78)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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)
- 10:40:29,353 ERROR org.modelio.mda.infra:The 'Deploy ModelerModule' transactio
n is invalid. The transaction has been cancelled.
com.modeliosoft.modelio.core.transaction.InvalidTransactionException: The 'Deplo
y ModelerModule' transaction is invalid. The transaction has been cancelled.
at com.modeliosoft.modelio.core.ModelingSession.commit(ModelingSession.j
ava:191)
at com.modeliosoft.modelio.mdainfra.mdacs.deployment.MdacDeployer.module
FirstInstall(MdacDeployer.java:353)
at com.modeliosoft.modelio.mdainfra.mdacs.deployment.MdacDeployer.deploy
Module(MdacDeployer.java:177)
at com.modeliosoft.modelio.mdainfra.mdacs.deployment.MdacDeployer.deploy
Mdacs(MdacDeployer.java:861)
at com.modeliosoft.modelio.app.modules.handlers.DeployMdacHandler$1.run(
DeployMdacHandler.java:86)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalCont
ext.java:464)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDi
alog.java:507)
at com.modeliosoft.modelio.app.modules.handlers.DeployMdacHandler.execut
e(DeployMdacHandler.java:82)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.ja
va:293)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)

at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Para
meterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(Handle
rService.java:169)
at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(S
laveHandlerService.java:241)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(Co
mmandContributionItem.java:829)
at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContrib
utionItem.java:815)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandCon
tributionItem.java:805)
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:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.ja
va:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav
a:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.modeliosoft.modelio.app.intro.Application.start(Application.java:
78)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl
e.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli
cation(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec
lipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja
va:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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)

Re: Unable to Add Note to element 10 months, 2 weeks ago #986

  • ebr
  • OFFLINE
  • Moderator
  • Posts: 177
Hi sandrews,

In order to "extract" your State Diagram and import it in a "correct" project (having Modeler Module correctly deployed), you can use the "import model" command as shown in may attachment.

Best Regards,

EBR
Attachments:
Last Edit: 10 months, 2 weeks ago by ebr.
  • Page:
  • 1
  • 2
Moderators: tma, aab, cde, ebr
Time to create page: 0.29 seconds