huybuidac20593 / yakindu

Automatically exported from code.google.com/p/yakindu
0 stars 0 forks source link

Generation of code fails with error message #74

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Run the code generator using the attached files 

What is the expected output? What do you see instead?

The expected output is the generated code. Instead an error message pops up 
stating 

>>Problem Occurred: 'Execute SCT Genmodel LinkEditor.sgen' has encountered a 
problem. An internal error occurred during: "Execute SCT Genmodel 
LinkEditor.sgen".<< 

The error message dialog has two buttons "Details>>" and OK. None of them can 
be clicked, because at the time the error message pops up, eclipse is no longer 
responding to user imput. The eclipse process needs to be killed. An error 
report that popped up after the crash is attached. After restarting, eclipse 
starts to generate code from the state chart and fails again.

What version of the product are you using? On what operating system?

SCT version 2.4.0.201410311341 on Mac OS X. For details on OS/Hardware/etc, see 
attached error report.

Please provide any additional information below.

Code generation succeeds when turning off the "inline choices" feature in the 
sgen model. 

A probable cause for the error is that the generator runs out of memory, 
because the state chart from which code should be generated has too many 
choices (maybe the issue cannot be reproduced on a more powerful machine or 
another OS/JVM with other memory settings). 

Original issue reported on code.google.com by p...@itemis.de on 17 Nov 2014 at 4:19

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by A.Muel...@googlemail.com on 18 Nov 2014 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by A.Muel...@googlemail.com on 18 Nov 2014 at 10:52

GoogleCodeExporter commented 9 years ago

Original comment by AxelTerfloth on 5 Jan 2015 at 1:24

GoogleCodeExporter commented 9 years ago

Original comment by A.Muel...@googlemail.com on 9 Jan 2015 at 1:50

GoogleCodeExporter commented 9 years ago

Original comment by A.Muel...@googlemail.com on 9 Jan 2015 at 3:14