[ http://jira.codehaus.org/browse/MPJAVADOC-61?page=comments#action_53196 ] 

Lukas Theussl commented on MPJAVADOC-61:
----------------------------------------

This is a different issue - did you try with Girish's test project?

Inserting your line above into my report.txt file, I also get an exception with 
11b3. That's because the warning comes from a package.html file, not a java 
source file.  The parser expects the warning to be in the following format:

PATH_TO_JAVA_FILE:LINE_NUMBER: warning - WARNING_MESSAGE

Your line above doesn't contain a line number which leads to a 
NumberFormatException (I suppose this is the same you get).
Now I don't know why package.html shows up in your report, I thought that only 
java source files were scanned when generating the javadocs.
Any ideas?

> 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]

Reply via email to