Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365584 - unable to generate code out of room file
Summary: unable to generate code out of room file
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 08:33 EST by Herward Ahlheit CLA
Modified: 2011-12-16 02:48 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Herward Ahlheit CLA 2011-12-05 08:33:35 EST
Build Identifier: 0.1.0.M201111181326

I created a new and empty eTrice project und did "cut and paste" the blinky-tutorial-room-file. I changed the names and afterwards I tried to generate code. But there was the following output on the console:

Info: -- reading models
Info: Loading file://C:/Dokus/EclipseWorkspace/FirstTest/model/FirstTest.room
Info: -- validating models
Error: ERROR:Error executing EValidator ( line : null)
Error: ERROR:Error executing EValidator ( line : null)
Info: validation finished with 2 errors and 0 warnings
Error: -- terminating


Reproducible: Always

Steps to Reproduce:
1. Create a new eTrice project
2. Copy the blinky tutorial into the file and adapt the appropriate names 
3. Generate code
Comment 1 Henrik Rentz-Reichert CLA 2011-12-05 08:43:01 EST
Herwad,

the problem with your model is that EntyPoint tp0 of state blinking is not connected outside of blinking.
This means that tr0 of blinking is unreachable which yields a validation error.

Unfortunately there was also a minor bug in the validation code which led to the essentially empty error message.

Fixed this with
b77fc8d1345fb406aeb2152338f5446638a509da
Comment 2 Henrik Rentz-Reichert CLA 2011-12-16 02:45:25 EST
closed resolved bug
Comment 3 Henrik Rentz-Reichert CLA 2011-12-16 02:48:07 EST
tagged as version 0.1.0