You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/12/04 01:18:11 UTC

[jira] Created: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Fri, 3 Dec 2004 7:17 PM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Manfred Moser
    Created: Fri, 21 Jan 2005 5:45 PM
       Body:
Oh .. and before I forget. It affects version 1.0.9 from Maven 1.0.2 as well.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_29158

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Fri, 21 Jan 2005 5:45 PM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Manfred Moser
    Created: Fri, 21 Jan 2005 6:25 PM
       Body:
I found that there is a bug for this path problem on jcoverage bugzilla

http://bugzilla.jcoverage.com/show_bug.cgi?id=16

which includes a fix. That might be helpful.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_29160

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Fri, 21 Jan 2005 6:25 PM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Geoffrey
    Created: Wed, 29 Dec 2004 4:11 AM
       Body:
I also got that exception, but I got one earlier in the build process too:

 [instrument] [ERROR] java.io.IOException: CreateProcess: C:\develop\build\j2sdk1.4.2_05\... <over 8 lines of 125 characters> ... com\domain\mypacka?

When using a smaller directory path, I get the same error, but more of the path is shown, again ending with the ? somewhere in the middle.

It seems like the command line is to short, yet I am using Windows XP and I 've tested an echo of a much longer command line succesfully.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_28388

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Wed, 29 Dec 2004 4:11 AM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Manfred Moser
    Created: Fri, 21 Jan 2005 5:36 PM
       Body:
I have just refactored my project with many classes deeper down the package hierarchy so the path has gotten longer. Now I get the same failure of my maven build. 

All the maven build before jcoverage runs fine.
...

Then jcoverage starts.. 

[exec] jcoverage is licensed under the GNU General Public License
[exec] jcoverage comes with ABSOLUTELY NO WARRANTY
[exec] instrumenting 568 classes to C:\javadev\latitude\target\jcoverage\classes
[exec] jcoverage:on:
[exec]     [instrument] [ERROR] java.io.IOException: CreateProcess: C:\j2sdk1.4.2_04\jre\bin\java.exe -classpath "C:\Documents and Settings\manfred\.maven\repository\jcoverage\jars\jcoverage-1.0.5.jar;C:\Documents and Settings\manfred\.maven\repository\bcel\jars\bcel-5.1.jar;C:\Documents and Settings\manfred\.maven\repository\urbanophile\jars\java-getopt-1.0.9.jar;C:\Documents and Settings\manfred\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Documents and Settings\manfred\.maven\repository\oro\jars\oro-2.0.7.jar;C:\Documents and Settings\manfred\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Documents and Settings\manfred\.maven\repository\xerces\jars\xercesImpl-2.4.0.jar;C:\Documents and Settings\manfred\.maven\repository\xerces\jars\xmlParserAPIs-2.2.1.jar" com.jcoverage.coverage.Instrument -d c:\javadev\latitude\target\jcoverage\classes -basedir C:\javadev\latitude\target\classes com\cardiocomm\chart\ecg\Segments.class com\cardiocomm\
globalcardio\db\vo\MedicationVO.class com\cardiocomm\globalcardio\db\dao\HeartRa
teVariabilityDAO.class com\cardiocomm\glob?


The path is just being cut off here... I am pretty sure that lots more should come here.

It then continues....

[exec] java:jar-resources:
[exec] test:prepare-filesystem:
[exec] test:test-resources:
[exec] test:compile:
[exec] test:test:
[exec]     [junit] Running com.cardiocomm.build.EnumTest
[exec]     [junit] Tests run: 4, Failures: 0, Errors: 4, Time elapsed: 1.67
2 sec
  [exec]     [junit] [ERROR] TEST com.cardiocomm.build.EnumTest FAILED

and all the test start failing.

I have noticed that NO class files can be found in target/jcoverage/classes. The class hierarchy is established and all the directories are there. 

Is there any workaround this?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_29157

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Fri, 21 Jan 2005 5:36 PM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Brett Porter
    Created: Fri, 3 Dec 2004 7:19 PM
       Body:
look earlier in the output - something probably went wrong in the execution of the tests (or the tests were never run), so jcoverage.ser was not created.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_27417

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Fri, 3 Dec 2004 7:19 PM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Havard Bjastad
    Created: Mon, 6 Dec 2004 7:07 AM
       Body:
Your explanation sounds reasonable, however here is the output:

test:test:
    [junit] Running com.tracetracker.gtn.service.ServiceInterfaceTester
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.398 sec

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
Generate report for /home/havard/workspace/HEAD/gtn-common-interface-java/target/jcoverage/coverage.xml file.
OutputDir = /home/havard/workspace/HEAD/gtn-common-interface-java/target/docs/jcoverage
java.io.FileNotFoundException: /home/havard/workspace/HEAD/gtn-common-interface-java/target/docs/jcoverage/com/tracetracker/gtn/service/package-frame.html (No such file or directory)


As you can see, the two tests seem to have been run successfully. I have tried running 'maven -X jcoverage' , but it made me no wiser. Do you have any suggestions for how to proceed?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_27539

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Mon, 6 Dec 2004 7:07 AM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Havard Bjastad
    Created: Mon, 24 Jan 2005 3:09 AM
       Body:
After further investigation, we've realized that the problem was that there were no classes (only interfaces) in the module. Once we added a dummy class for JCoverage, it went fine.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_29200

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Mon, 24 Jan 2005 3:09 AM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPJCOVERAGE-21) Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Ted Sanne
    Created: Wed, 5 Jan 2005 6:58 AM
       Body:
The reason Havard gets this problem is that the project in question only contains interfaces, and no classes. No jcoverage.ser file was produced and this caused the report to fail since it could not find it.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21?page=comments#action_28629

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-21
    Summary: Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin
   Versions:
             1.0.7

   Assignee: Emmanuel Venisse
   Reporter: Håvard Bjåstad

    Created: Fri, 3 Dec 2004 7:17 PM
    Updated: Wed, 5 Jan 2005 6:58 AM

Description:
We have several projects that run fine, but with two of our projects we get the following output:

jcoverage:html-report:
    [echo] Copying 2 source directories into one for jcoverage
jcoverage 1.0.5 copyright (c)2003 jcoverage ltd. http://jcoverage.com/
jcoverage is licensed under the GNU General Public License
jcoverage comes with ABSOLUTELY NO WARRANTY
    [report] Exception in thread "main" java.io.FileNotFoundException: jcoverage.ser (No such file or directory)
    [report]    at java.io.FileInputStream.open(Native Method)
    [report]    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    [report]    at com.jcoverage.coverage.reporting.xml.Main.main(Main.java:106)
org.apache.commons.jelly.JellyTagException: /home/havard/.maven/cache/maven-jcoverage-plugin-1.0.7/plugin.jelly:193:91: <report> org.apache.tools.ant.BuildException

Maybe the problem is that these projects have two source directories, and jcoverage can't handle that?


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org