OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000073OMNeT++IDE / documentation generatorpublic2009-06-04 14:532009-06-08 11:09
Assigned Tolevy 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version4.1 
Summary0000073: neddoc crash if comment starts with //@titlepage
DescriptionIf a file comment starts with //@titlepage (i.e. no blank "//" before it), neddoc crashes with StringIndexOutOfBoundsException.

[...] Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
    at java.lang.String.charAt(Unknown Source)
    at org.omnetpp.neddoc.DocumentationGenerator$
    at org.omnetpp.neddoc.DocumentationGenerator.withGeneratingNavigationMenuContainer(
    at org.omnetpp.neddoc.DocumentationGenerator.generateSelectedTopics(
    at org.omnetpp.neddoc.DocumentationGenerator$
    at org.omnetpp.neddoc.DocumentationGenerator.withGeneratingHTMLFile(
    at org.omnetpp.neddoc.DocumentationGenerator.generateNavigationTree(
    at org.omnetpp.neddoc.DocumentationGenerator$
    ... 1 more

Workaround: add a "//" line at the top of the comment
Steps To Reproduce1. Create New OMNeT++ Project, TicToc with src and simulations folders
2. Edit src/package.ned: insert the following at the top of the file:

// @titlepage
// blah blah


3. Project -> Generate NED documentation --> error.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2009-06-04 14:53 andras New Issue
2009-06-08 11:03 levy Assigned To => levy
2009-06-08 11:09 levy Status new => resolved
2009-06-08 11:09 levy Fixed in Version => 4.1
2009-06-08 11:09 levy Resolution open => fixed

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker