Anonymous | Login | 2022-06-26 03:07 UTC | ![]() |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000073 | OMNeT++ | IDE / documentation generator | public | 2009-06-04 14:53 | 2009-06-08 11:09 | ||||
Reporter | andras | ||||||||
Assigned To | levy | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | 4.1 | |||||||
Summary | 0000073: neddoc crash if comment starts with //@titlepage | ||||||||
Description | If a file comment starts with //@titlepage (i.e. no blank "//" before it), neddoc crashes with StringIndexOutOfBoundsException. Log: [...] Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(Unknown Source) at org.omnetpp.neddoc.DocumentationGenerator$15.run(DocumentationGenerator.java:1001) at org.omnetpp.neddoc.DocumentationGenerator.withGeneratingNavigationMenuContainer(DocumentationGenerator.java:895) at org.omnetpp.neddoc.DocumentationGenerator.generateSelectedTopics(DocumentationGenerator.java:936) at org.omnetpp.neddoc.DocumentationGenerator$13.run(DocumentationGenerator.java:839) at org.omnetpp.neddoc.DocumentationGenerator.withGeneratingHTMLFile(DocumentationGenerator.java:2025) at org.omnetpp.neddoc.DocumentationGenerator.generateNavigationTree(DocumentationGenerator.java:834) at org.omnetpp.neddoc.DocumentationGenerator$1.run(DocumentationGenerator.java:258) ... 1 more Workaround: add a "//" line at the top of the comment | ||||||||
Steps To Reproduce | 1. 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. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|||
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 |