Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EMG built in operations fail(Cannot use random data generation facilities.)
EMG built in operations fail [message #1856264] Wed, 30 November 2022 06:13 Go to next message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

After one successful execution of the boilerplace example code EMG now fails with the stack below, This behaviour survives Eclipse restarts. I can use a fix string and the assignment works.

Method 'nextCamelCaseWords' not found
	at (/home/jg/git/learn-state/implementation/traversal/models/makeSequence.emg@8:16-8:58)
	at (/home/jg/git/learn-state/implementation/traversal/models/makeSequence.emg@8:4-8:59)
	at (/home/jg/git/learn-state/implementation/traversal/models/makeSequence.emg@7:25-9:1)
	at (/home/jg/git/learn-state/implementation/traversal/models/makeSequence.emg@1:0-9:1)


pre {
    var num_p = 10;
}

$instances 1
@list net
operation Logic create() {
    self.Name = nextCamelCaseWords("LETTER_LOWER", 15, 10);
}
Re: EMG built in operations fail [message #1856265 is a reply to message #1856264] Wed, 30 November 2022 06:30 Go to previous message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

Error in the doco. This works: Refer IEmgRandomGenerator for code truth.

$instances 1
@list net
operation Logic create() {
    self.Name = nextCamelCaseString(15, 10);
}


Previous Topic:Using import directive in interpreter view
Next Topic:Run EMG in workflow
Goto Forum:
  


Current Time: Fri Apr 26 19:13:46 GMT 2024

Powered by FUDForum. Page generated in 0.03201 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top