Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gemoc-dev] Errors on Gemoc for the debug execution (Gemoc : V3.0.0rc1)
  • From: Hugo Bantignies <bantignieshugo@xxxxxxxxxx>
  • Date: Wed, 26 May 2021 12:37:12 +0000
  • Accept-language: fr-FR, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fGf9yPaeDqtad5IraywmxOfiofW/K5QaV4QxTYC+qQQ=; b=LZ83kvGaax9ARfOZOEBbD7TBIY/pB9IweZeFOGhWgMBUulYA8EaYDLy4SFqLmr6pzKpn+kInh473N+6wrNckqdCTTp93xUThWNUUkugH+wpdG5rlsmXWosM3aARQSaRmINsJgNKAMybXrQTlW17VRcBsGd1q789JGSglQb9Rk3tcDQijD3Qr38Hy4Y1CvFvksS5dd0EgWPGrdDn0SKUAkNsdh2an/3cuEc36Ez1/z2D0oNhWZ78pY8b+GaC300Qua3vEzx7NNjL6AbKuzPVKcszkS67Wkh6O7j9kI5dCOJv0FaWM/3rl/1K3sDUIJSUe2h4cGYB0flcpGkUA+lXR8A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ak+rmqigSmVJeB4qGfuqFnMN64nI8pI7jxkI4M1b4JaS3rVBEb9SxNOTTAMGZzs7Gk2oJLPqqkVAt3zJW0Lntw8SEif9Dp6malrpjV8NXY/lTJTRI9b2L3IpqNGGGpN8GCRbSLjMOLnNnDPeemm0LrOOv4du3LDczl85zQXEXpVoc+BhPqaJ1E469tCBkV3Wiv/ytpBmLXDUs9i4db1yOq/CVJulnabTJNwlkMyUE820QUfFnvqmHbZNTNouu61J0itelXK1V5PP/FDTxj9gBLO3JTo355cC8WEHpCxFQs2mugxZLPuwgdvmIOFnN3+ke9+3l1vjUjQ4oWF4N8/p7w==
  • Delivered-to: gemoc-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/gemoc-dev/>
  • List-help: <mailto:gemoc-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/gemoc-dev>, <mailto:gemoc-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/gemoc-dev>, <mailto:gemoc-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHXTkdEuKcEjRxENkyYmmBKoxKQCqrz7PQAgAHLkPc=
  • Thread-topic: [gemoc-dev] Errors on Gemoc for the debug execution (Gemoc : V3.0.0rc1)

Hi,

I was using the Gemoc Studio : V3.0.0rc1 because it was the only one that I was able to launch. But now, I do not know why, the latest version (3.2) works. So now I tried with this version, and it solved the third problem (melange problem).  So my current version now is : V3.2.0 - 2020/06/16

However, I still have the two main problems.

About the first one, I have a more detailed error after opening error logs. Actually, I have 2 errors regarding the argument of the InitializeModel, but I do not get it.

Here the errors :

1st error


2nd error


And I really do no know why these errors occur, and what the 1st one means. Because as the example, my initializeMethod is : def void initializeModel(EList<String> args)

So why it asks a second argument ? 

Sorry to ask again for this kind of error but I really do not understand.

Best,

Hugo. 



De : gemoc-dev <gemoc-dev-bounces@xxxxxxxxxxx> de la part de Didier Vojtisek <didier.vojtisek@xxxxxxxx>
Envoyé : mardi 25 mai 2021 11:02
À : gemoc-dev@xxxxxxxxxxx <gemoc-dev@xxxxxxxxxxx>
Objet : Re: [gemoc-dev] Errors on Gemoc for the debug execution (Gemoc : V3.0.0rc1)
 
Hi
inlined comment :

On 21/05/2021 15:57, Hugo Bantignies wrote:
Hi,

I have several errors using Gemoc Studio for the execution and I do not know how to solve them. 
I am currently on the Gemoc Studio : V3.0.0rc1.
This is a rather old version (2018 !?) : is there any reason to not use 3.2.0 or the nightly build ?


1st error : ​Incorrect parameters for InitializeModel

I have this function in my aspects file : 

@Step
@InitializeModel
/*Set the activeCapsule */
def public void initializeModel(EList<String> args){
     _self.activeCapsule = _self.getTop();
     _self.inputMessage.setContent(args.get(0))
}

And when I want to execute a model, I get :



2nd error : IllegalArgument

Now, when I remove the initilizationModel function, to test without it, I have this error :






For both 1 an 2: You may have to recreate the launchconfiguration in order to fully update its content according to your changes in the language (ie. make sure that the declared main method correspond to the correct "root" model element , same for initialize method...)
tips: you can see the launchconfig content is you specify a "shared file" in the "common" tab, you'll be able to open the .launch file with an text editor in order to see what is wrong

3rd error : Impossible to launch the FSM example, when I generated my own language.



Maybe I forgot some details about the Language Workbench, but I do not know why I get those errors. 
If you want more details about my work, do not hesitate.

more log and errors are availables to analyze the issue:
- in the differents "console"  (in the console view, the menu allows to select the console, messages can be in spead in several of them: the defaul messaging console or a dedicated one)
- in the "error view"

best regards
Didier

Best,

Hugo. 


_______________________________________________
gemoc-dev mailing list
gemoc-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/gemoc-dev

-- 
Didier Vojtisek
SED Rennes - DiverSE Team - LogicA Team
Inria, Univ Rennes, CNRS, IRISA
Campus de beaulieu
35042 Rennes
02 99 84 75 07

Back to the top