OMNeT++/OMNEST Bug Tracker - OMNeT++
View Issue Details
0000545OMNeT++IDE / sequence chartpublic2012-02-29 21:072012-03-13 10:30
andras 
rhornig 
normalmajoralways
resolvedfixed 
4.2.1 
4.2.2 
0000545: freshly generated elog cannot be opened: "Missing mandatory token"
The attached elog file was generated with a fresh copy of OMNeT++ 4.2.1, using INET a7a8dda47377633d408840, examples/bgpv4/BGPOpen.

When opening it in the IDE, the following error occurs:

java.lang.RuntimeException: Missing mandatory token n in line BS id 13 tid 13 eid 13 etid 13 c 33 d "t=100G\nrcv:1 snt:0;q=txQueue;p=80,80;i=block/rxtx"

    at org.omnetpp.eventlog.engine.EventLogEngineJNI.new_EventLog(Native Method)
    at org.omnetpp.eventlog.engine.EventLog.<init>(EventLog.java:37)
    at org.omnetpp.common.eventlog.EventLogEditor.init(EventLogEditor.java:118)
    at org.omnetpp.sequencechart.editors.SequenceChartEditor.init(SequenceChartEditor.java:67)
    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)
    at ...

Note that the line quoted in the message doesn't exist in the file; it appears to be a mixture of two or more separate lines.
No tags attached.
? config1-0.elog (88,138) 2012-02-29 21:07
https://dev.omnetpp.org/bugs/file_download.php?file_id=90&type=bug
Issue History
2012-02-29 21:07andrasNew Issue
2012-02-29 21:07andrasFile Added: config1-0.elog
2012-02-29 21:35andrasSeverityminor => major
2012-03-12 14:32rhornigNote Added: 0000732
2012-03-12 14:32rhornigStatusnew => resolved
2012-03-12 14:32rhornigFixed in Version => 4.2.2
2012-03-12 14:32rhornigResolutionopen => fixed
2012-03-12 14:32rhornigAssigned To => rhornig
2012-03-13 10:30andrasNote Added: 0000736

Notes
(0000732)
rhornig   
2012-03-12 14:32   
Resolved with the 9cb212c commit. The file seek API was incorrectly used. YOu should never mismatch fileno and FILE* based API calls.
(0000736)
andras   
2012-03-13 10:30   
Same cause as 0000547