JCoverage IOException

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

JCoverage IOException

Jeff Jensen-3
Hi,

JCoverage fails with a number of errors, and the one below is the first.  I
think it is the root of some/all of the subsequent errors.

After this error occurs, it still runs the tests (at least it tries to!).
During the JUnit test runs there is a "NoClassDefFoundError"s on each test.  My
guess is due to the first error, which possibly is a truncated list of .class
files?

The final error is not finding the "jcoverage.ser" file.  My guess here is it
had nothing to create it from due to all of the previous errors!


I do not know how to resolve this error.  JCoverage seems to automatically
pickup files (which is nice!), but is the problem an exceeded command line
length?

Does anyone have any suggestions??


    [echo] Generating the JCoverage...
maven-jcoverage-plugin:report:
java:prepare-filesystem:

java:compile:
    [echo] Compiling to c:/devroot/builds/healthmatch/classes
    [echo] ==========================================================

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==========================================================


jcoverage:on:
    [mkdir] Created dir: C:\devroot\builds\healthmatch\docs\jcoverage
    [mkdir] Created dir: C:\devroot\builds\healthmatch\jcoverage\database
    [mkdir] Created dir: C:\devroot\builds\healthmatch\jcoverage\classes
instrumenting the class-files...
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 instrumenting 3203 classes to
C:\devroot\builds\healthmatch\jcoverage\classes
    [instrument] [ERROR] java.io.IOException: CreateProcess:
C:\Java\j2sdk1.4.2_05\jre\bin\java.exe -classpath "C:\Documents and
Settings\pwjjj69\.maven\repository\jcoverage\jars\jcoverage-1.0.5.jar;C:\Documents
and Settings\pwjjj69\.maven\repository\bcel\jars\bcel-5.1.jar;C:\Documents and
Settings\pwjjj69\.maven\repository\urbanophile\jars\java-getopt-1.0.9.jar;C:\Documents
and Settings\pwjjj69\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Documents
and Settings\pwjjj69\.maven\repository\oro\jars\oro-2.0.7.jar;C:\Documents and
Settings\pwjjj69\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Documents and
Settings\pwjjj69\.maven\repository\xerces\jars\xercesImpl-2.4.0.jar;C:\Documents
and Settings\pwjjj69\.maven\repository\xerces\jars\xmlParserAPIs-2.2.1.jar"
com.jcoverage.coverage.Instrument -d
C:\devroot\builds\healthmatch\jcoverage\classes -basedir
C:\devroot\builds\healthmatch\classes
us\state\vantage\hm\workflow\precondition\ZZZAbstractMedicareCoverages.class
us\state\vantage\hm\rule\elemental\income\methodb\METHBINCSTNDTST_Q_2_v1.class
us\state\v?
    [copy] Copied 170 empty directories to
C:\devroot\builds\healthmatch\jcoverage\classes


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

RE: JCoverage IOException

Jeff Jensen-3
Still at a loss, so any tip or even half-baked idea is welcomed!  :-)  Even
an RTFM with a link would be embarrassing but appreciated!  :-D


-----Original Message-----
From: Jeff Jensen [mailto:[hidden email]]
Sent: Wednesday, May 25, 2005 10:32 AM
To: [hidden email]
Subject: JCoverage IOException

Hi,

JCoverage fails with a number of errors, and the one below is the first.  I
think it is the root of some/all of the subsequent errors.

After this error occurs, it still runs the tests (at least it tries to!).
During the JUnit test runs there is a "NoClassDefFoundError"s on each test.
My guess is due to the first error, which possibly is a truncated list of
.class files?

The final error is not finding the "jcoverage.ser" file.  My guess here is
it had nothing to create it from due to all of the previous errors!


I do not know how to resolve this error.  JCoverage seems to automatically
pickup files (which is nice!), but is the problem an exceeded command line
length?

Does anyone have any suggestions??


    [echo] Generating the JCoverage...
maven-jcoverage-plugin:report:
java:prepare-filesystem:

java:compile:
    [echo] Compiling to c:/devroot/builds/healthmatch/classes
    [echo] ==========================================================

  NOTE: Targetting JVM 1.4, classes
  will not run on earlier JVMs

==========================================================


jcoverage:on:
    [mkdir] Created dir: C:\devroot\builds\healthmatch\docs\jcoverage
    [mkdir] Created dir: C:\devroot\builds\healthmatch\jcoverage\database
    [mkdir] Created dir: C:\devroot\builds\healthmatch\jcoverage\classes
instrumenting the class-files...
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 instrumenting 3203 classes to
C:\devroot\builds\healthmatch\jcoverage\classes
    [instrument] [ERROR] java.io.IOException: CreateProcess:
C:\Java\j2sdk1.4.2_05\jre\bin\java.exe -classpath "C:\Documents and
Settings\pwjjj69\.maven\repository\jcoverage\jars\jcoverage-1.0.5.jar;C:\Doc
uments
and Settings\pwjjj69\.maven\repository\bcel\jars\bcel-5.1.jar;C:\Documents
and
Settings\pwjjj69\.maven\repository\urbanophile\jars\java-getopt-1.0.9.jar;C:
\Documents
and
Settings\pwjjj69\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Documents
and Settings\pwjjj69\.maven\repository\oro\jars\oro-2.0.7.jar;C:\Documents
and
Settings\pwjjj69\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Documents
and
Settings\pwjjj69\.maven\repository\xerces\jars\xercesImpl-2.4.0.jar;C:\Docum
ents
and Settings\pwjjj69\.maven\repository\xerces\jars\xmlParserAPIs-2.2.1.jar"
com.jcoverage.coverage.Instrument -d
C:\devroot\builds\healthmatch\jcoverage\classes -basedir
C:\devroot\builds\healthmatch\classes
us\state\vantage\hm\workflow\precondition\ZZZAbstractMedicareCoverages.class
us\state\vantage\hm\rule\elemental\income\methodb\METHBINCSTNDTST_Q_2_v1.cla
ss
us\state\v?
    [copy] Copied 170 empty directories to
C:\devroot\builds\healthmatch\jcoverage\classes


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]