OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000941OMNeT++IDE / INI editorpublic2015-11-10 15:562017-03-02 14:28
Assigned Toandras 
Platformx86OSGNU/LinuxOS Version?
Product Version4.6 
Target VersionFixed in Version5.1 
Summary0000941: Recursively including ini file makes OMNeT workspace unusable
DescriptionDoing some renaming/copy/paste work with ini files, I accidentally created a condition where an ini file would include itself.

Expected behavior:
OMNeT would catch this condition, ignore it, and notify the user (e.g. warning label in the file).

Actual behavior:
The IDE crashes, and refuses to start again until the condition is resolved (e.g. with an external editor).
Steps To Reproduce1) Create an ini file called test.ini, and add 'include test.ini' to this file.
2) A popup shows an "Unhandled event loop exception"
3) Another popup shows an "Internal Error", and suggests to close the workbench and to look at the .log file

4) Restarting OMNeT fails, the splash screen is shown and works, but the IDE is never shown
5) Delete the test.ini file from the file system
6) Restart OMNeT again, this time it works as always

TagsNo tags attached.
Attached Filespng file icon Problem Occurred _192.png [^] (17,580 bytes) 2015-11-10 15:57

png file icon Internal Error _193.png [^] (16,746 bytes) 2015-11-10 15:57

txt file icon log1.txt [^] (183,449 bytes) 2015-11-10 15:58 [Show Content]
txt file icon log2.txt [^] (315,433 bytes) 2015-11-10 15:58

- Relationships

-  Notes
woife (reporter)
2015-11-10 15:59

Attached to the bug report are screenshots of the popups and 2 log files:

log1.txt: the .log file created when the error condition was created
log2.txt: a restart attempt while the error condition was true
andras (administrator)
2017-03-02 14:28

Fixed. Thank for reporting!

- Issue History
Date Modified Username Field Change
2015-11-10 15:56 woife New Issue
2015-11-10 15:57 woife File Added: Problem Occurred _192.png
2015-11-10 15:57 woife File Added: Internal Error _193.png
2015-11-10 15:58 woife File Added: log1.txt
2015-11-10 15:58 woife File Added: log2.txt
2015-11-10 15:59 woife Note Added: 0001154
2017-03-02 14:28 andras Note Added: 0001334
2017-03-02 14:28 andras Status new => resolved
2017-03-02 14:28 andras Fixed in Version => 5.1
2017-03-02 14:28 andras Resolution open => fixed
2017-03-02 14:28 andras Assigned To => andras

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker