Anonymous | Login | 2022-06-26 05:12 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 | ||||
0000672 | OMNeT++ | IDE / documentation generator | public | 2013-08-22 12:04 | 2013-08-26 13:43 | ||||
Reporter | andras | ||||||||
Assigned To | levy | ||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | Linux | OS | Ubuntu | OS Version | 12.10 | ||||
Product Version | 4.3 | ||||||||
Target Version | Fixed in Version | 4.3.1 | |||||||
Summary | 0000672: generating neddoc from INET fails | ||||||||
Description | Both OMNeT++ 4.2.2 and 4.3 stop with the following exception: An internal error occurred during: "Generating NED Documentation...". java.lang.IllegalArgumentException: Illegal group reference It chokes on the @include line in src/inet-doc.ned: // // <nohtml> // @include ../WHATSNEW // </nohtml> // Place of error in the code: DocumentationGenerator.java: private String processIncludes(String comment, Stack<File> parents) throws IOException { if (comment.contains("@include")) { Matcher matcher = includePattern.matcher(comment); StringBuffer buffer = new StringBuffer(); while (matcher.find()) { File dir = parents.peek().getParentFile(); File file = new File(dir, matcher.group(1)).getCanonicalFile(); String content = getFileContent(file, parents); matcher.appendReplacement(buffer, content); <----------- } matcher.appendTail(buffer); comment = buffer.toString(); } return comment; } The cause might be a JRE regression, because relevant parts of our code haven't changed since 2011. $ java -version java version "1.7.0_15" OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10.1) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
![]() |
|||
Date Modified | Username | Field | Change |
2013-08-22 12:04 | andras | New Issue | |
2013-08-26 13:43 | levy | Status | new => resolved |
2013-08-26 13:43 | levy | Fixed in Version | => 4.3.1 |
2013-08-26 13:43 | levy | Resolution | open => fixed |
2013-08-26 13:43 | levy | Assigned To | => levy |
Copyright © 2000 - 2022 MantisBT Team |