[ http://jira.codehaus.org/browse/MPJAVADOC-61?page=comments#action_53200 ]
Jeff Jensen commented on MPJAVADOC-61: -------------------------------------- The error in that package.html file is this line: [EMAIL PROTECTED] us.state.vantage.hm.batch.ar.policy.premiumcreator. PremiumCreatorStrategyCredit} It errantly has the class name on the next line, causing a space before the class name. >From a quick review, I see we have other package.html files with other errors. package.html is a special file for Javadoc. Placed in a Java source package, it becomes the "main page" displayed for a selected package in the generated Javadoc. It's a straight HTML file, plus any Javadoc tags, such as @link. So it sounds like this error is an unsupported use case? Here are a couple more of those messages as samples: [javadoc] C:\devroot\customers\dhs\perforce\healthmatchbatch\main\src\java\us\state\vantage\hm\batch\ar\policy\premiumduedate\package.html: warning - Tag @link: reference not found: us.state.vantage.hm.batch.ar.policy.PremiumDueDateCalculatorReplacement [javadoc] C:\devroot\customers\dhs\perforce\healthmatchbatch\main\src\java\us\state\vantage\hm\batch\ar\sql\package.html: warning - Tag @inheritDoc cannot be used in package documentation. It can only be used in the following types of documentation: method, inline text. (this one is deliberately there as part of sample code - so need to find a way to "escape it".) No NFE in sight. Actually, I get: Caught exception evaluating: [EMAIL PROTECTED] Reason: java.lang.StringIndexOutOfBoundsException: String index out of range: -64 > StringIndexOutOfBoundsException on parsing the files > ---------------------------------------------------- > > Key: MPJAVADOC-61 > URL: http://jira.codehaus.org/browse/MPJAVADOC-61 > Project: maven-javadoc-plugin > Type: Bug > Versions: 1.7 > Environment: Maven 1.1b1 and b2, Windows 2K > Reporter: Jeff Jensen > Attachments: TestcaseProject.zip, stacktrace.log > > > Happens on 1.1 b1 and b2. > While parsing, throws: > Caught exception evaluating: [EMAIL PROTECTED] Reason: > java.lang.StringIndexOutOfBoundsException: String index out of range: -60 > java.lang.StringIndexOutOfBoundsException: String index out of range: -60 > at java.lang.String.substring(String.java:1444) > at java.lang.String.substring(String.java:1411) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:268) > [snip] > This causes a rather empty Javadoc Warnings report (but Javadoc Report is > good): > JavaDoc Warnings > The following document contains JavaDoc warnings. > Summary > Files Errors > 24 0 > Files > Files Errors > I am not sure what info to provide - please ask! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]