Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365584

Summary: unable to generate code out of room file
Product: [Modeling] eTrice Reporter: Herward Ahlheit <herward.ahlheit>
Component: CoreAssignee: Project Inbox <etrice.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0

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