[ http://jira.codehaus.org/browse/MPJCOVERAGE-31?page=all ]

Erik Forkalsrud updated MPJCOVERAGE-31:
---------------------------------------

    Attachment: JCoveragePatch2.txt

I guess I should attach  the patch to this issue rather than linking to it.


> StringIndexOutOfBoundsException in getShortFilename
> ---------------------------------------------------
>
>          Key: MPJCOVERAGE-31
>          URL: http://jira.codehaus.org/browse/MPJCOVERAGE-31
>      Project: maven-jcoverage-plugin
>         Type: Bug
>     Versions: 1.0.9
>     Reporter: Stephen Colebourne
>     Assignee: Emmanuel Venisse
>     Priority: Minor
>  Attachments: JCoveragePatch2.txt, UnmarshallerPatch.txt
>
>
> It is possible to get a StringIndexOutOfBoundsException in 
> CoverageReport.getShortFilename.
> It turns out that this is due to a filename of:
>   org/somewhere/null
> instead of
>   org/somewhere/file.java
> The exception comes from the missing dot.
> The root cause of the problem is a bad jcoverage.ser file. However, this 
> could be better handled, see attached patch. (No test case attached, as I've 
> no idea how the jcoverage.ser file got screwed)

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