[ http://jira.codehaus.org/browse/MPJCOVERAGE-31?page=comments#action_43471 ]
Erik Forkalsrud commented on MPJCOVERAGE-31: -------------------------------------------- I have a patch for this at http://forkalsrud.org/~erik/JCoveragePatch2.txt > 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: 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]
